MEAN is a framework for an easy starting point with MongoDB, Node.js, Express, and AngularJS based applications.
Method | CRUD | HTTP |
---|---|---|
GET | Read | http://localhost:3000/index.html |
POST | Create | http://localhost:3000/add.html |
PUT | Update/Replace | http://localhost:3000/update.html |
DELETE | Delete | http://localhost:3000/delete.html |
GET | Search | http://localhost:3000/search.html |
To create a package.json run:
npm init
npm install
sudo npm install -g nodemon
$ npm install express
npm install mongoose
Node.js body parsing middleware
$ npm install body-parser