Task Manager API is a RESTful API built with Node.js, Express and MongoDB that allows users to manage their day-to-day tasks effortlessly and efficiently.
- User authentication and authorization.
- CRUD operations for managing books.
- Secure password storage with hashing.
- Token-based authentication using JWT.
- Data validation and sanitization.
- Node.js
- MongoDB
- Postman
- Clone the repository
- Switch to the this directory using command
cd task-manager-api
- Install the dependencies using
npm i
- Set up environment variables and create .env file.
- Add
DATABASE_CONNECTION_STRING
for datbase connectivity. - Add
JWT_SECRET_KEY
for authorization.
- Add
- Start the server
npm start
Note : For better testing and interaction with the API, it is recommended to use Postman.