This project is a MERN (MongoDB, Express, React, Node.js) stack-based dashboard for managing a bookstore. It allows users to perform CRUD operations on books and provides a user-friendly interface for managing the bookstore's inventory.
- Features
- Prerequisites
- Installation
- Running the Application
- Project Structure
- How to Contribute
- License
- Add, update, delete, and view books.
- Responsive and user-friendly interface.
- Backend API built with Node.js and Express.
- MongoDB for database management.
- React for the frontend, minimal user interface.
Before you begin, ensure you have the following installed:
git clone https://github.com/IbrahimBagwan1/MERN-bookstore-dashboard.git
cd MERN-bookstore-dashboardNavigate to the backend folder and install dependencies:
cd backend
node install
node init -yNavigate to the frontend folder and install dependencies:
cd ../frontend
npm installEnsure MongoDB is running locally, or provide a connection string for a cloud instance (e.g., MongoDB Atlas).
Open Frontend in terminal and run: npm install Open BackEnd in termianl and run: node install node init -y
Navigate to the backend folder and run:
node index.jsThe backend server will start on http://localhost:3000.
Navigate to the frontend folder and run:
npm startThe frontend will start on http://localhost:3001.
MERN-bookstore-dashboard/
├── BackEnd/ # Node.js and Express backend
│ ├── models/ # Mongoose models
│ ├── routes/ # API routes
│ ├── controllers/ # Request handlers
│ ├── server.js # Entry point for the backend
│ └── .env # Environment variables
├── FrontEnd/ # React frontend
│ ├── src/
│ │ ├── components/ # Reusable components
│ │ ├── pages/ # Application pages
│ │ ├── App.js # Main React component
│ │ └── index.js # Entry point for the frontend
└── README.md # Project documentation
- Fork the repository.
- Create a new branch:
git checkout -b feature-name- Make your changes and commit them:
git commit -m "Description of changes"- Push to your branch:
git push origin feature-name- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For more details, visit the GitHub Repository. Give a Star if you liked the Repository.
