BookCamp is a full-stack online bookstore built with React, Redux, Node.js, Express.js, and MongoDB. It offers a seamless and responsive user experience, enabling users to browse, search, and purchase books by category using a guest checkout flow. The backend efficiently stores buyer data and dynamically updates book inventory based on purchases.
- βοΈ React.js
- π¦ Redux (for state management)
- π¨ Tailwind CSS (for styling)
- π Node.js
- π Express.js
- π MongoDB & Mongoose
-
π Browse Books by Category
Explore books organized into categories like Fiction, Non-Fiction, Technology, etc. -
π Search Functionality
Real-time search to find books by title or keyword. -
π’ Pagination Support
Efficiently handles large data sets by splitting listings into pages:- Loads only 10 books per page
- Uses query parameters (e.g.
?page=3) for navigation - Maintains current page when navigating back from book detail view
- Improves performance and user experience
-
π·οΈ Featured Books Section
Highlights top picks and popular books on the homepage. -
π Add to Cart
Easily add and manage items in the cart before purchasing. -
πΈ Buy Now Functionality
Instantly purchase books without using the cart. -
π€ Guest Checkout
No login required β buyers can checkout as guests. -
π¦ Purchase Handling
Stores complete buyer info in the database:- Name, Email, Address, Contact, and Purchase Date
- Book details (title, quantity, total price, and payment method)
-
π Dynamic Inventory Management
Automatically reduces book quantity after a successful purchase. -
π§Ύ Order Summary
Displays total amount, selected payment method, and purchased books. -
π³ Cash on Delivery (COD)
Default payment method for all purchases. -
π» Responsive & Intuitive UI
Clean, modern interface optimized for all devices.
{
"_id": "67f9445488842994ddacbc43",
"FirstName": "kashif",
"LastName": "khalil",
"Email": "kashiffaroqi23@gmail.com",
"Address": "zakariya town street no 22",
"City": "multan",
"State": "punjab",
"PostalCode": "66000",
"Phone": "03007383715",
"Country": "United Kingdom",
"books": [
{
"_id": "67edd782d1c891055fac063d",
"title": "Tools of Titans",
"quantity": 2,
"price": 3000,
"paymentMethod": "cod",
"purchaseDate": "2025-04-11T16:33:24.415+00:00",
"totalAmount": 6000
}
]
}