Smart Library System - Microservices Architecture

Production-grade Smart Library Application split into two Spring Boot Microservices and a modern React + Vite frontend.


🚀 Architecture Overview

  • Auth Microservice (auth-service): Runs on Port 8081. Handles authentication, JWT issuance, profile updates, and user management.
  • Library Microservice (library-service): Runs on Port 8082. Handles books catalog, seat booking, book borrowing/returns/renewals, notifications, and analytics.
  • Frontend (React + Vite): Runs on Port 5173. Retains 100% of original UI/UX design, styles, layouts, and components.

🔑 Preseeded Test Accounts

Role Username Password Email
Student hari password123 [email protected]
Student student password123 [email protected]
Student student2 password123 [email protected]
Admin kishore 486464 [email protected]
Admin admin password123 [email protected]

🗄️ Database Setup (Oracle Database)

  1. Open Oracle SQL*Plus or SQL Developer.
  2. Connect as system (Password: admin).
  3. Run schema_oracle.sql: sql @schema_oracle.sql

🛠️ How to Run Microservices

1. Start auth-service (Port 8081)

cd auth-service
.\mvnw.cmd spring-boot:run

2. Start library-service (Port 8082)

cd library-service
.\mvnw.cmd spring-boot:run

3. Start Frontend (Port 5173)

npm run dev

📑 Documentation & Deliverables

Share this project:

Updates