A full-stack Bookstore application built using the MERN stack (MongoDB, Express, React, Node.js). This app allows users to Create, Read, Update, and Delete book entries with a simple, clean UI styled using Tailwind CSS.
- π Add new books
- π View all books
- βοΈ Edit book details
- β Delete books
- π» Frontend in React + Tailwind CSS
- π Backend using Express + MongoDB
Frontend | React, Axios, Tailwind CSS
Backend | Node.js, Express
Database | MongoDB (Mongoose)
git clone https://github.com/ISWARYA-hash8/BookStore.git
cd BookStore
2. Backend Setup
cd backend
npm install
Create a .env file inside backend/ with the following:
MONGO_URI=your_mongodb_uri // mongo uri from mongo db atlas (cloud)
PORT = 5000 for example
Start the backend:
nodemon server.js
3. Frontend Setup
cd ../frontend
setup vite using npm create vite@latest .
npm install
Start the frontend:
npm run dev