Skip to content

Arnav10090/BookStoreApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📚 BookStore App

A modern, full-stack MERN application for managing and exploring a vast collection of books. Experience seamless navigation, secure authentication, and a responsive design.

🚀 Features

  • 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.

🛠️ Tech Stack

Frontend

React Vite TailwindCSS DaisyUI

Backend

Node.js Express.js MongoDB JWT

📂 Project Structure

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        # Dependencies

🏁 Getting Started

Follow these steps to set up the project locally.

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB (Local or Atlas URL)

1. Clone the Repository

git clone https://github.com/Arnav10090/BookStoreApp.git
cd BookStoreApp

2. Backend Setup

Navigate to the Backend directory and install dependencies.

cd Backend
npm install

Create a .env file in the Backend directory:

PORT=4000
MONGO_URL=mongodb://127.0.0.1:27017/bookStore
JWT_SECRET=YourSecureSecretKey

Start the server:

npm start

3. Frontend Setup

Open a new terminal, navigate to the Frontend directory, and install dependencies.

cd Frontend
npm install

Start the development server:

npm run dev

The app will be available at http://localhost:5173.


Made with ❤️ by Arnav Tiwari

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages