- Clone this repository.
- Create a .env file in the root of the project.
- Enter MONGO_URI and JWT_KEY secrets in the .env file.
- Run => npm install
- Run => npm run start
- Use the following link => https://vouch-digital-task.herokuapp.com/
- This API Project contains 2 models User and Contact
- 1 user can have many contacts
- Attributes are basic name phone email etc
- I have added transaction control and pre/post hooks wherever necessary
- email: dd@gmail.com
- password: 1234567
- auth token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MmEwMzExZTE3MzgzMzdkY2NmNzU0MTUiLCJpYXQiOjE2NTQ2NjcwODB9.zEuIt3d8sQ0iD005siwwHHY6ayYLnFIR8LecL9HGyZA