admin panel,book management,bookstore,cash on delivery,ecommerce,express.js,mern stack,mongodb,next.js,node.js,online payment,order trackinggodb,next.js,node.js,online payment,order tracking,react,state management,user interface
This project is a full-stack bookstore application developed using the MERN stack (MongoDB, Express.js, React, and Node.js), with additional features such as online payment, cash on delivery, and an admin panel for book and order management. The frontend is built with Next.js.
These screenshots demonstrate the user-facing features of the application, such as browsing books, adding to the cart, and tracking order statuses.
The admin panel allows the admin to manage books and orders, including updating, adding, and deleting books, as well as tracking orders and marking them as delivered or completed.
GET /api/books
: Fetch all booksPOST /api/cart
: Add a book to the cartPOST /api/orders
: Place an orderPOST /api/admin/book
: Add a new bookPUT /api/admin/book/:id
: Update a book by IDDELETE /api/admin/book/:id
: Delete a book by IDGET /api/admin/orders
: Fetch all ordersPUT /api/admin/order/:id/deliver
: Mark an order as “Delivered”PUT /api/admin/order/:id/complete
: Mark an order as “Completed”Explain your payment gateway setup and workflow for processing online payments.