API Mock test 2 of coding Ninjas
Requirements can be found here Requirements.
### Step 1
- clone this repository, command `git clone https://github.com/sonutiwari/Coding-Ninjas-API-mock2`.
### step 2
- go to Coding-Ninjas-API-mock2 directory, command `cd Coding-Ninjas-API-mock2`
### step 3
- install all the dependencies, command `npm install`.
**Make sure that NodeJS and NPM is installed in your computer. Any latest version of node > 6 will work**
### step 4
- run the server using command `npm start` or alternatively you can run `node index.js` or if
nodemon is installed, simply run `nodemon`.
# Route Description
- There are 3 Routes in this API.
1. Root [Route](http://localhost:3000/)
2. Register route which is POST route for form data.
3. 404 route for other routes which aren't covered.
# Technologies and libraries used(Project dependencies):
1. Express JS
2. MongoDB
3. Mongoose
4. NodeJS
5. Validator
6. cookie-session
7. jsonwebtoken
8. bcrypt