Skip to content

BookHaven is a full-stack web application built using the MERN stack, featuring MongoDB, Express.js, React, and Node.js. This application provides users with a seamless experience to browse, search, and purchase books online.

Notifications You must be signed in to change notification settings

Harmain1233/BookHaven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 

Repository files navigation

BookHaven

Try out the live application: bookhaven-frontend.onrender.com

View out the live demo of the application: Check Out A Live Demo

Screenshot 2024-10-09 at 1 08 03 PM

BookHaven is a full-stack bookstore application built using the MERN stack (MongoDB, Express.js, React, and Node.js). This application allows users to browse, search, and purchase books online with a secure authentication system, dynamic catalog, and comprehensive admin dashboard for managing books and orders.

Features

  • User Authentication: Secure login and registration using JWT-based authentication and bcrypt for password hashing.
  • Book Catalog: A dynamic, searchable catalog allowing users to filter books by category, author, and price.
  • Shopping Cart: Users can add books to their cart and proceed with secure checkout.
  • Admin Dashboard: Admins can manage books, authors, categories, and handle order fulfillment.
  • Responsive Design: The application is optimized for both desktop and mobile platforms.
  • Real-time Database: MongoDB stores user data, book information, and order details, providing real-time updates and scalable performance.

Tech Stack

Frontend:

  • React
  • Redux
  • Vite (bundler)
  • Tailwind CSS
  • Axios (for making HTTP requests)
  • HTML
  • JavaScript

Backend:

  • Node.js
  • Express.js
  • MongoDB (Database)
  • JWT (Authentication)
  • Bcrypt (Password hashing)

Deployment:

  • Frontend and Backend: Deployed on Render

Getting Started

Prerequisites

Ensure you have the following installed on your machine:

  • Node.js
  • MongoDB
  • Git

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/BookHaven.git
  2. Navigate to the project directory:

    cd BookHaven
  3. Install server dependencies:

    cd backend
    npm install
  4. Install client dependencies:

    cd frontend
    npm install

Running the Application

  1. MongoDB Setup: Ensure MongoDB is running locally or configure a cloud-based MongoDB Atlas instance.

  2. Start the server:

    cd backend
    node app.js
  3. Start the frontend:

    cd frontend
    npm run dev

License

This project is open-source under the MIT License.

About

BookHaven is a full-stack web application built using the MERN stack, featuring MongoDB, Express.js, React, and Node.js. This application provides users with a seamless experience to browse, search, and purchase books online.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published