A simple full-stack bookstore management app built with React, Vite, Express, and MongoDB. The project allows users to view, create, edit, and delete books in a clean dashboard-style interface.
- View books in table or card layout
- Add new books
- Edit existing book details
- Delete books
- REST API backend with MongoDB storage
- React
- Vite
- Tailwind CSS
- React Router
- Axios
- Node.js
- Express.js
- MongoDB
- Mongoose
backend/
config.js
index.js
models/
routes/
frontend/
src/
public/
Make sure you have the following installed:
- Node.js
- npm
- MongoDB Atlas account or a local MongoDB instance
git clone <your-repository-url>
cd BookStorecd backend
npm installUpdate the MongoDB connection URL in backend/config.js with your own database connection string.
Start the backend server:
npm run devThe backend will run on:
cd ../frontend
npm install
npm run devThe frontend will run on:
- Open the frontend in your browser.
- Use the interface to browse your books.
- Add, edit, or delete books through the app.
Before pushing to GitHub, consider these items:
- Add a short repository description
- Add topics such as: react, vite, express, mongodb, nodejs, tailwind
- Choose a license (for example MIT)
- Add a screenshot or demo GIF
- Create a Issues section for feature requests and bugs
- Keep sensitive credentials out of the repository; use environment variables where possible
This project is open for personal and educational use.