
Homepage showcasing the book catalog.
ReadScape is a full-stack MERN (MongoDB, Express.js, React, Node.js) bookstore application that enables seamless book purchasing and management. The app includes separate functionalities for users and administrators.
- Browse Books: View a catalog of books with detailed descriptions.
- Add to Cart: Select books and add them to the cart.
- Checkout: Complete purchases securely.
- Order History: Access past orders for easy reordering or reference.
- Manage Books: Add, edit, delete, and view books in the inventory.
- User Management: View and manage user accounts.
- Firebase authentication is integrated for secure and easy user login and registration.

Admin panel for managing books and users.
- Frontend: React with Vite for fast development.
- Backend: Node.js with Express.js.
- Database: MongoDB for storing book and user information.
- Authentication: Firebase for user authentication.
-
Clone the repository and navigate to the
frontenddirectory:cd frontend -
Create a
.env.localfile in the root of thefrontenddirectory (same level aspackage.json) and add the following variables:VITE_API_KEY="your_firebase_api_key" VITE_Auth_Domain="your_firebase_auth_domain" VITE_PROJECT_ID="your_firebase_project_id" VITE_STORAGE_BUCKET="your_firebase_storage_bucket" VITE_MESSAGING_SENDERID="your_firebase_messaging_sender_id" VITE_APPID="your_firebase_app_id"
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Navigate to the
backenddirectory:cd backend -
Create a
.envfile in the root of thebackenddirectory (same level aspackage.json) and add the following variables:DB_URL="your_mongodb_connection_string" JWT_SECRET_KEY="your_jwt_secret_key"
-
Install dependencies:
npm install
-
Start the development server:
npm run start:dev

Cart page for reviewing selected books before checkout.
Contributions are welcome! Feel free to fork the repository and submit a pull request.
This project was built with ❤️ by Biraj Sanghai.