Skip to content

Siddhantkr19/Hazaribagh-Library-Frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

171 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Hazaribagh Libraries - Frontend

React Vite Tailwind CSS Axios

The official User Interface for the Hazaribagh Library Management System. This Single Page Application (SPA) allows students to discover study centers, view dynamic pricing offers (β‚Ή350 vs β‚Ή400), and manage their seat subscriptions.

Note: This is the Frontend repository. The Backend API (Spring Boot) can be found here.


πŸš€ Features

  • ⚑ Blazing Fast Performance: Built with Vite for instant server starts and HMR (Hot Module Replacement).
  • 🎨 Modern UI: Fully responsive design using Tailwind CSS following Atomic Design principles.
  • πŸ” Smart Search: Real-time filtering of libraries by location (e.g., "Matwari") or price budget.
  • πŸ“Š Student Dashboard: A dedicated space to view active seat validity ("29 Days Remaining") and payment receipts.
  • πŸ” Secure Navigation: React Router implementation to manage public vs. private pages.

πŸ› οΈ Tech Stack

Tool Purpose
React.js (v18) Component-based UI library
Vite Next-generation build tool
Tailwind CSS Utility-first styling framework
Axios HTTP Client for API communication
Lucide React Beautiful, consistent icons
React Router Client-side routing

βš™οΈ Installation & Setup

Follow these steps to run the frontend locally.

1. Prerequisites

Make sure you have Node.js (v18 or higher) installed.

2. Clone and Install

# Clone the repository
git clone [https://github.com/your-username/hazaribagh-library-frontend.git](https://github.com/your-username/hazaribagh-library-frontend.git)

# Navigate into the folder
cd library-frontend

# Install dependencies
npm install

Run the Development Server

Bash

npm run dev
The app will start at http://localhost:5173

πŸ“‚ Project Structure

src/
β”œβ”€β”€ assets/             # Static images and global styles
β”œβ”€β”€ components/         
β”‚   β”œβ”€β”€ common/         # Global components (Navbar, Footer)
β”‚   β”œβ”€β”€ ui/             # Reusable UI elements (LibraryCard, Buttons)
β”œβ”€β”€ context/            # Global State Management
β”œβ”€β”€ pages/              # Full Application Screens
β”‚   β”œβ”€β”€ Home.jsx        # Landing Page with Search
β”‚   β”œβ”€β”€ Login.jsx       # Student Authentication
β”‚   └── Dashboard.jsx   # Student Subscription View
β”œβ”€β”€ services/           # API Bridge (Axios configuration)
β”‚   └── api.js          # Centralized API endpoints
β”œβ”€β”€ App.jsx             # Main Router Configuration
└── main.jsx            # Entry Point

πŸ‘€ Author

Siddhant Kumar

About

Hazaribagh Libraries (Frontend): A modern, responsive React UI for the Hazaribagh Library booking platform. Built with Vite and Tailwind CSS, featuring a split-screen checkout, real-time search, and a student dashboard. βš›οΈπŸ“±

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors