MERN Book Store is a full-stack web application built using the MERN (MongoDB, Express.js, React.js, Node.js) stack, designed to manage and showcase a collection of books.
๐ Live Demo
- User Authentication: Secure authentication system for users.
- CRUD Operations: Create, Read, Update, and Delete books.
- Search and Filter: Search functionality to find books by title, author, or genre.
- Responsive Design: Mobile-friendly user interface for seamless browsing on any device.
- Pagination: Navigate through large collections of books with ease.
- Reviews and Ratings: Allow users to leave reviews and ratings for books.
-
Clone the repository:
git clone https://github.com/your-username/mern-book-store.git
-
Navigate into the project directory:
cd mern-book-store
-
Install dependencies:
npm install
-
Set up environment variables:
- Create a
.env
file in the root directory. - Add the following environment variables:
PORT=5000 MONGODB_URI=<your_mongodb_uri> JWT_SECRET=<your_jwt_secret>
- Create a
-
Start the server:
npm start
-
Navigate to the client directory:
cd client
-
Install client dependencies:
npm install
-
Start the client:
npm start
-
Visit
http://localhost:3000
in your web browser.
- Register for an account or log in if you already have one.
- Browse through the collection of books.
- Click on a book to view its details.
- Add books to your cart and proceed to checkout.
- Leave reviews and ratings for books you've read.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Create a new pull request.
This project is licensed under the MIT License.
Your Name - Manisha Kundnani (https://github.com/Manishak798)