Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 743 Bytes

File metadata and controls

20 lines (15 loc) · 743 Bytes

Sample-Code

This repository contains a sample code of a website generated using REST in nodejs

Info to application :

  • This is a web based application designed in nodejs and MongoDB.
  • The application provides a questionaire to the user and saves his/her answers in the DB.
  • There is a "match" option in the application which provides a detail about the number of answers matching for a particular user with other users in the system.
  • All the API requests have been handled using REST.

To run the application :

  • Contains the node JS REST API.
  • Run npm install from the terminal
  • Make sure mongodb is running
  • Run node lab5init.js
  • Run node app.js
  • The api and the client side code assumed the url to be http://localhost:8008