Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Management System

This project is a full-stack application developed to demonstrate the core CRUD (Create, Read, Update, Delete) operations for managing book records.

Technology Stack

Component Technology Role
Backend (API) C# .NET 8 RESTful API endpoints for all book CRUD operations.
Database SQLite Local, file-based database integrated using Entity Framework Core.
Frontend (Client) React with TypeScript User-friendly interface built with modern React Hooks and TypeScript.
Styling Tailwind CSS Used for aesthetically pleasing design.

💻 How to Run the Application Locally

The application uses a full-stack structure. Both the API and the Client must be started in separate terminals. Clear and concise instructions are provided here.

1. Prerequisites

Ensure you have the following installed:

  1. Node.js (LTS) and npm (for the frontend).
  2. .NET 8 SDK (For the backend)

2. Setup

  1. Clone the repository and install dependencies:
    # Clone the project
    git clone https://github.com/ChamenKalindu/Library-Management-System.git
    cd Library-Management-System
    
    # Install Node dependencies (for the frontend)
    cd frontend
    npm install
    cd ..

3. Start the Backend API (server-lms)

The API is configured to run on port 7278 (HTTPS).

  1. Navigate to the backend directory:

    cd server-lms
  2. Run Database Migrations (One-time setup): This ensures the SQLite database file and schema are created.

    dotnet ef database update
  3. Start the API Server:

    dotnet run
    # The API will be available at https://localhost:7278

4. Start the Frontend Client (frontend)

  1. Open a second terminal window (keep the backend running).
  2. Navigate to the frontend directory:
    cd frontend
  3. Start the Vite Development Server:
    npm run dev
    • The client application will automatically open in your browser (usually at http://localhost:5173).
    • Vite Proxy: The client uses a proxy configuration (/api in vite.config.js) to route requests to the running backend at https://localhost:7278.

Screenshots

Screenshot 2025-12-08 192131 Screenshot 2025-12-08 192241 Screenshot 2025-12-08 192209 Screenshot 2025-12-08 192255

About

This is a simple Library management system that allows users to manage books easily. This system can be used to create, read, update and delete book records. The frontend is build using React + Typescript and the backend is built using C# and .NET while using SQLite for storge.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages