A RESTful API for building a Book Store API application. This API provides the backend functionality required for managing Books, users, authors.
Also, You need to read the API Documentation.
- User authentication and authorization using Json web token.
- Users management (create, read, update, delete).
- Books management (create, read, update, delete).
- Authors management (create, read, update, delete).
- Pagination
- Search filtering using price
- Node.js
- Express.js
- MongoDB
- Mongoose
- JWT
- bcrypt
- Express-Async-Handler
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Download and install Nodejs
- Download and install MongoDB Compass
- A web browser (e.g. Google Chrome, Mozilla Firefox, Microsoft Edge)
- A text editor (e.g. Visual Studio Code, Sublime Text)
- A platform for testing APIs like Postman
- Clone the repository to your local machine:
https://github.com/Diab16/Book-Store-API.git
- Install required packages
npm install
- Configure the environment variables, such as the database URL.
npm run build
thennpm run start
or usenpm run dev
.