- Node and npm
- MongoDB
- Clone the repo:
git clone https://github.com/kvaghas/api-mean-example.git
- Install dependencies:
npm install
- Start the server:
node server.js
-
For this example, user model is defined in app/models/user.js
-
You may add new models or modify an existing one in app/models/user.js
-
For this example all routes and APIs are defined in server.js
-
You may add new APIs or modify the existing one in server.js