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 | |
|---|---|---|---|
| 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)
- Open Oracle SQL*Plus or SQL Developer.
- Connect as
system(Password:admin). - 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
- Oracle Database Script: schema_oracle.sql
- API Specification: API_DOCUMENTATION.md
- Postman Collection: postman_collection.json
Log in or sign up for Devpost to join the conversation.