- Node.js - https://nodejs.org/en/download/
- MongoDB - https://docs.mongodb.com/v3.0/tutorial/
- Mongoose - npm install mongoose
- Body Parser - npm install body parser
- Angular 2 - https://www.npmjs.com/package/angular-2
- Express.js - npm install express
Install MongoDB in a directory e.g.- mongodb, create another directory for storing database e.g.- db, go to directory mongodb/bin and run command
$ mongod --directoryperdb --dbpath path/to/db
$ node server/server.js - This will start node server on localhost:3000
Go to browser and give URL http://localhost:3000 it will open homepage of this webapp, go to http://localhost:3000/a or http://localhost:3000/b and do activities then check those activities in http://localhost:3000/a/admin or http://localhost:3000/b/admin.
Page localhost:3000/a -
Page localhost:3000/a/admin -