Skip to content

πŸ“š Node.js Book Store Backend πŸ“¦ - Efficiently manage book inventory and orders with this Node.js-powered backend for bookstores.

Notifications You must be signed in to change notification settings

YeabTesfaye/BookstoreManagementSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Book Management REST API

This is a REST API for managing books, users, and orders. It was built with Node.js, Express, and MongoDB, and provides endpoints for creating, updating, and deleting books and users, as well as placing orders.

Features

  • CRUD operations for books
  • CRUD operations for users
  • Ability to place orders
  • Authentication using JWT
  • Validation using Joi
  • Password reset and email verification

Technologies Used

  • Node.js
  • Express.js
  • MongoDB
  • JWT
  • Joi

Endpoints

Books

  • GET /api/books - Get all books
  • POST /api/books - Create a new book
  • PATCH /api/books/:id - Update a book by ID
  • DELETE /api/books/:id - Delete a book by ID
  • GET /api/books/search - Search Books With Diffrent Parameter
  • GET /api/books/user - Get Books With Specific User

Users

  • POST /api/users - Create a new user
  • POST /api/users/login - Login with email and password<
  • PATCH /api/users/profile - Update User
  • DELETE /api/users/account - Delete a user

Orders

  • GET /api/orders - Get all orders
  • POST /api/orders - Place a new order
  • PATCH /api/orders/:orderId - Update an order by ID
  • DELETE /api/orders/:orderId - Delete an order by ID

Authentication

  • POST /api/auth/forgotpassword - Send a password reset email
  • POST /api/auth/resetpassword/:token - Reset password with token
  • POST /api/auth/verifyemail/:token - Verify email with token

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

πŸ“š Node.js Book Store Backend πŸ“¦ - Efficiently manage book inventory and orders with this Node.js-powered backend for bookstores.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published