Skip to content
prinsipekumarPublic

About

BookLib is a web application that allows users to share and explore their favourite books with others. Built with the MERN stack, JWT authentication, Zustand for state management, and styled using Tailwind CSS.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

BookLib

BookLib is a web application that allows users to share and explore their favorite books with others. Built with the MERN stack, JWT authentication, Zustand for state management, and styled using Tailwind CSS, BookLib provides a seamless and visually appealing platform for book enthusiasts.

Live Demo: https://booklib-m5en.onrender.com


Features

  • User Authentication: Secure login and signup using JWT for authentication.
  • Personalization: Users can add, edit, and delete their favorite books.
  • Discover Favorites: Browse through books added by other users.
  • Search Functionality: Quickly find books or users based on keywords.
  • Responsive Design: Optimized for both desktop and mobile devices using Tailwind CSS.
  • Real-time Updates: Zustand ensures a reactive and fluid user experience.

Tech Stack

Frontend

  • React + Vite: Component-based UI development.
  • Zustand: Lightweight and flexible state management.
  • Tailwind CSS: Utility-first CSS framework for rapid UI design.

Backend

  • Node.js: Server-side JavaScript runtime.
  • Express.js: Backend framework for building APIs.
  • MongoDB: NoSQL database for storing user and book data.

Authentication

  • JWT (JSON Web Tokens): Secure token-based authentication.

Getting Started

Prerequisites

Make sure you have the following installed:

  • Node.js
  • npm or yarn
  • MongoDB

Installation

  1. Clone the repository:

    git clone https://github.com/prinsipekumar/BookLib.git
    cd BookLib
  2. Install dependencies for both frontend and backend:

    npm install
    cd frontend
    npm install
  3. Configure environment variables:

    Create a .env file in the server directory with the following variables:

    PORT = 5000
    MONGO_URI=your_mongodb_uri
    CLIENT_URL=http://localhost:5173
    SECRET=your_random_secret
    CLOUD_NAME=cloudinary_cloud_name
    API_KEY=cloudinary_apikey
    API_SECRET=cloudinary_apisecret
  4. Start the development servers:

    • Backend/Root:
      nodemon backend/server.js
    • Frontend:
      cd frontend
      npm run dev
  5. Open your browser and visit http://localhost:5173 to access BookLib.

About

BookLib is a web application that allows users to share and explore their favourite books with others. Built with the MERN stack, JWT authentication, Zustand for state management, and styled using Tailwind CSS.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages