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/