Welcome to the Book Store project built with the MERN (MongoDB, Express.js, React, Node.js) stack! This project allows users to view a list of books in both table and card layouts, and it provides CRUD (Create, Read, Update, Delete) operations for managing books. Feel free to contribute and enhance this project with additional features.
Make sure you have the following software installed on your system:
- Clone this repository to your local machine:
git clone https://github.com/your-username/book-store.git
- Install the dependencies for both the backend and frontend:
# Install backend dependencies
cd backend
npm install
# Install frontend dependencies
cd ../frontend
npm install
Now you're ready to start the project. Make sure MongoDB is running.
- In the backend folder, start the backend server:
npm run dev
This will start the backend server on http://localhost:5000.
- In the frontend folder, start the frontend server:
npm run dev
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository on GitHub.
- Clone your forked repository to your local machine.
- Create a new branch for your changes:
git checkout -b your-branch-name
-
Make your changes and commit them with descriptive commit messages.
-
Push your changes to your forked repository:
git push origin your-branch-name
-
Create a pull request (PR) from your forked repository to this main repository.
-
Describe your changes in the PR and submit it.
Once your PR is reviewed and approved, your changes will be merged into the main project.