Skip to content

Latest commit

ย 

History

History
128 lines (81 loc) ยท 2.11 KB

File metadata and controls

128 lines (81 loc) ยท 2.11 KB

๐Ÿ“š BookStore Application

A full-stack BookStore Application built using Node.js, Express, MongoDB, and React (Vite).
This project allows users to browse books, view free books, sign up, log in, and interact with a modern frontend interface.


๐Ÿš€ Features

๐Ÿ‘ค User Features

  • User signup and login
  • Authentication using backend APIs
  • Browse available books
  • View free books section
  • Responsive UI with modern design

๐Ÿ“ฆ Book Features

  • Fetch books from database
  • Display books dynamically on frontend
  • Structured book data using MongoDB models

๐Ÿ› ๏ธ Tech Stack

Backend

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • REST APIs

Frontend

  • React.js (Vite)
  • Tailwind CSS
  • JavaScript (ES6)
  • HTML & CSS

๐Ÿ“‚ Project Structure

image

โ–ถ๏ธ How to Run the Project

Backend Setup

  1. Clone the repository: git clone https://github.com/VISHRUT86/BookStore.git

  2. Go to the backend folder: cd BookStore

  3. Install dependencies: npm install

  4. Start the server: node server.js


Frontend Setup

  1. Go to frontend folder: cd frontend

  2. Install dependencies: npm install

  3. Start frontend: npm run dev

  4. Open browser and visit: http://localhost:5173


๐Ÿ” API Routes

User Routes

  • POST /user/signup
  • POST /user/login

Book Routes

  • GET /book

๐ŸŽฏ Learning Outcomes

  • Built a full-stack MERN-style application
  • Learned backend API development using Express
  • Implemented MongoDB models with Mongoose
  • Connected frontend with backend APIs
  • Improved understanding of React component structure

๐Ÿ”ฎ Future Improvements

  • Add admin panel for book management
  • Implement JWT authentication
  • Add cart and purchase functionality
  • Improve UI animations
  • Deploy on cloud (Render / Vercel)

๐Ÿค Contributing

Contributions are welcome.
Feel free to fork the repository and submit pull requests.


๐Ÿ‘จโ€๐Ÿ’ป Author

Vishrut Bharti
GitHub: https://github.com/VISHRUT86