Book Manager API is a RESTful API built with Node.js, Express and MongoDB. It allows users to manage their book collection by providing functionality to create, read, update, and delete books.
- 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 book-manager-api - Install the dependencies using
npm i - Set up environment variables and create .env file.
- Add
DATABASE_CONNECTION_STRINGfor datbase connectivity. - Add
JWT_SECRET_KEYfor authorization.
- Add
- Start the server
npm start