MERN Book Store App 📚
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.
Project - Img 📸
Features ⭐
- 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.
Installation ⚒️
- Clone the repository:
git clone https://github.com/your-username/mern-book-store.git
- Navigate into the project directory:
- Install dependencies:
- 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>
- Start the server:
- Navigate to the client directory:
- Install client dependencies:
- Start the client:
- Visit
http://localhost:3000
in your web browser.
Usage 💻
- 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.
Contributing 🤝🏻
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.