# π Online Bookstore Management System (Spring Boot + Thymeleaf)
A full-featured Bookstore Web Application built using Spring Boot, Thymeleaf, and Bootstrap.
This project demonstrates CRUD operations, Add to Cart, Role-Based Access Control, and Session management, making it perfect for real-world internship/project showcase.
| Layer | Technology |
|---|---|
| Backend | Spring Boot, Java |
| Frontend | Thymeleaf + Bootstrap |
| Build Tool | Maven |
| View Engine | Thymeleaf |
| Security | Spring Security (RBAC) |
| Database | In-Memory (for now) |
| Hosting | (optional) Render/Railway |
For testing login system:
| Role | Username | Password |
|---|---|---|
| ADMIN | admin | admin123 |
| USER | user | user123 |
π Home Page


π Login Page

π Cart Page

π Add Book Form

π€ Update Book Form

ποΈ Delete Book


git clone https://github.com/yourusername/online-bookstore.git cd online-bookstore
Use the following command to run the project:
./mvnw spring-boot:run
βββ Controller/ # All controllers (routes)
βββ Model/ # Book.java entity
βββ Service/ # Service layer interfaces and implementations
βββ Repository/ # BookRepository interface (JPA)
βββ config/ # Spring Security configuration
βββ templates/ # Thymeleaf HTML pages
βββ static/ # CSS, JavaScript, and images
βββ application.properties
My License β Free for learning, educational use, and personal modifications.
Ankit Kumar Gurjar
π§ Email: ankdoi82@gmail.com
π LinkedIn: https://www.linkedin.com/in/ankit-kumar-gurjar
π GitHub: https://github.com/ankitdoiβcoder