Skip to content

VISHRUT86/BookStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published