Skip to content
sibi edited this page Nov 21, 2016 · 4 revisions

LAB ASSIGNMENT 10

Question:

Create REST services for CRUD operation in MongoDB

Answer:

REST Service for CRUD(Create,Read,Update and Delete) are created using Node.JS Express.

The code can be found here https://github.com/sibicramesh/LAB10/blob/master/Source/nodejs.js

Question:

Use this REST services and create Web Application which should have following features:

  • User can sign up or login
  • After signup/login, in next page display all the users and details of user
  • Provide options for update or delete user data

Answer:

Created SignUp Page which when clicked will store the User details in MongoDB(MLab)

User Details

User Details are Displayed when we click Login Button

Options for Updating the User Details or Deleting the Record was created

After the Update Button is clicked the User details are changed

To Delete the same Used Click the Check Box once to Copy the same ID to Delete Text field

After Deleting the Record

Question:

Deploy your application on to Amazon instance and share the URL

Answer:

Application Uploaded into AWS as WAR file using Eclipse IDE.

URL - http://lab10.muw6k3e2te.us-west-2.elasticbeanstalk.com/

Clone this wiki locally