Tuesday, 27 November 2018

Deployed Social Book Application into Amazon S3 and Elasctic bean cloud servers

I have successfully deployed the Full stack Social Book Application onto Amazon S3 and Elastic bean cloud servers.

Deployed the front end of the application to Amazon S3 bucket production server used "ng build --prod" to build the application as "dist" folder and deployed the files into the Amazon S3 bucket which made the front end of the application working.

Deployed the Backend of the application as a Restful API into Amazon Elastic bean cloud servers. Built a server environment and deployed the files into the server environment with MongoDB atlas as a remote database.

Here is the link to the application:
http://social-book-mean.s3-website-us-east-1.amazonaws.com/ 



Refernces:

https://www.youtube.com/watch?v=xhc1boyBkJw

https://www.youtube.com/watch?v=RUKcrphvO8I

https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html

https://docs.aws.amazon.com/s3/index.html?id=docs_gateway#lang/en_us

https://docs.aws.amazon.com/elastic-beanstalk/index.html?id=docs_gateway#lang/en_us

Monday, 19 November 2018

MEAN stack social media application

I have successfully completed developing a Full stack social book application like a social networking website. where the user can sign up and register for an account, can log in using the userId and password, create a post, read, edit the post, delete the post. I have Implemented following features in angular, node.js and MongoDB:

  1. Listening to events
  2. Fetching user Inputs
  3. pagination(angular)
  4. spinner
  5. uploading image
  6. Image preview 
  7. Image validator 
  8. Expand-collapse feature.
  9. User authentication
  10. User authorization to Create, Edit, Delete a post.
  11. Lazy loading 
  12. Routing
  13. MongoDB cluster network as a remote Database.
  14. Unit testing using karma.js
I will submit the complete in detail documented report soon.

I spent approximately 3 weeks (36 hours) to plan, learn and execute the project. 

Following are the tools and systems I have used for the project:


i)                 Frameworks:            Angular, Node.js, Bootstrap.
ii)               Languages:                TypeScript, HTML, CSS.
iii)              Database:                  MongoDB Atlas (remote MongoDB database).
iv)              Server:                       localhost server, 
                                                Working on deploying to Amazon web service s3cloud. 
v)               IDE:                            Visual Studio Code.
vi)             Operating System:    Windows.
vii)           Version Control:        GIT.
viii)      Unit testing Framework: Karma.js

I have committed the code into GitHub as is the code. Here is the link:

Here are the screenshots of how the application looks: 

                                   User Authentication Failed  

Login Page


Page After logging in. 


Pagination. The user can decide the number of posts he wants to see in a single page.



The Post expand-collapse feature in angular, Edit, Delete options as well. 


Mongo Atlas( remote database) for MongoDB to connect the application to the database from app.js 


References: 

Thursday, 1 November 2018

Heroku deployment.

I have successfully deployed the minor application developed using node.js, express.js, MongoDB(hosted remotely in mLab) and bootstrap onto the cloud server of Heroku powered by Salesforce.

Earlier there were minor syntax errors and spelling errors in the code, by which the routes were not working and also there was a problem with git commit command on gitbash command prompt. Now, these errors have been sorted and the app is live.

Here is the link to the application:
https://nameless-chamber-11751.herokuapp.com/



Saturday, 27 October 2018

Node.js project-1

I have implemented the Node.js, MongoDB, express and bootstrap material into a project. Implemented MVC folder structure for the project I am trying to deploy the project onto cloud server of Heroku, I am logged by a lot of errors, on which I am making efforts to clear them very soon. I have committed my code to GitHub.

Here is the link to the GitHub public repository:
https://github.com/aneeshk263/Node.js_proj_1


Here are screenshots of the project and the log of errors from the Heroku cloud deployment process:













References:

https://www.youtube.com/watch?v=pKd0Rpw7O48

https://www.youtube.com/watch?v=bsZGpQxTcHY

https://www.udemy.com/nodejs-express-mongodb-dev-to-deployment/

Thursday, 27 September 2018

Node.js

I learned about Node.js and Express.js watching videos on youtube and Udemy. I spent approximately 15 hours to learn how Node.js works built Restful API using Node.js. In the coming weeks, I will learn how to build an application using Bootstrap, Node.js, MongoDB. The following references and implemented the features of bootstrap :

Node JS Tutorial for Beginners:

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp

Building a RESTful API with Node.js:

https://www.youtube.com/playlist?list=PL55RiY5tL51q4D-B63KBnygU6opNPFk_q

Node.js, Express & MongoDB Dev to Deployment:

https://www.udemy.com/nodejs-express-mongodb-dev-to-deployment/

Saturday, 28 April 2018

MongoDB and JSON

I learned about MongoDB and JSON notation reading the documentation and watching the videos on youtube from following references and implemented the MongoDB and JavaScript object notation :

https://docs.mongodb.com/manual/

https://www.youtube.com/watch?v=wI1CWzNtE-M&t=923s

https://www.youtube.com/watch?v=-0X8mr6Q8Ew

https://www.youtube.com/watch?v=pWbMrx5rVBE&t=411s

I have spent 6-7 hours learning about MongoDB

Sunday, 8 April 2018

Bootstrap

I learned about bootstrap watching videos on youtube from following references and implemented the features of bootstrap :

https://www.youtube.com/watch?v=gqOEoUR5RHg&t=863s
https://www.youtube.com/watch?v=5GcQtLDGXy8
https://www.youtube.com/watch?v=aTLRdrRQyN4