A modern, full-stack MERN application for managing and exploring a vast collection of books. Experience seamless navigation, secure authentication, and a responsive design.
- User Authentication: Secure Signup and Login using JWT and BCrypt.
- Book Management: Browse, Add, Edit, and Delete books (Admin/User specific roles).
- Responsive Design: Fully optimized for Desktop, Tablet, and Mobile devices.
- Modern UI: Built with Tailwind CSS and DaisyUI for a sleek, dark-mode compatible interface.
- Search & Filter: Quickly find books by category or title.
- Image Uploads: Support for book cover images using Multer.
BookStoreApp/
├── Backend/ # Node.js & Express Server
│ ├── controllers/ # Request handlers
│ ├── model/ # Mongoose schemas
│ ├── routes/ # API routes
│ └── index.js # Entry point
│
└── Frontend/ # React & Vite Application
├── src/
│ ├── components/ # Reusable UI components
│ ├── context/ # React Context (Auth, Search)
│ └── home/ # Landing page
└── package.json # DependenciesFollow these steps to set up the project locally.
- Node.js (v14 or higher)
- MongoDB (Local or Atlas URL)
git clone https://github.com/Arnav10090/BookStoreApp.git
cd BookStoreAppNavigate to the Backend directory and install dependencies.
cd Backend
npm installCreate a .env file in the Backend directory:
PORT=4000
MONGO_URL=mongodb://127.0.0.1:27017/bookStore
JWT_SECRET=YourSecureSecretKeyStart the server:
npm startOpen a new terminal, navigate to the Frontend directory, and install dependencies.
cd Frontend
npm installStart the development server:
npm run devThe app will be available at http://localhost:5173.
Made with ❤️ by Arnav Tiwari