Book-Store-E-Commerce-Full-Stack-Java

# πŸ“š 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.


πŸš€ Features

πŸ§‘β€πŸ’» Public (USER)

πŸ” Admin Panel (ADMIN)

🧠 Backend Logic


πŸ› οΈ Tech Stack

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

πŸ‘€ User Credentials

For testing login system:

Role Username Password
ADMIN admin admin123
USER user user123

πŸ“Έ Screenshots

βš™οΈ Setup Instructions

1. Clone the Repository

git clone https://github.com/yourusername/online-bookstore.git cd online-bookstore

2. Open in IDE (Eclipse, IntelliJ, VS Code with Java Extension)

3. Build and Run

Use the following command to run the project:

./mvnw spring-boot:run

Video Preview

β”œβ”€β”€ 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

Future Improvements

License

My License – Free for learning, educational use, and personal modifications.

Contact

Ankit Kumar Gurjar
πŸ“§ Email: ankdoi82@gmail.com
πŸ”— LinkedIn: https://www.linkedin.com/in/ankit-kumar-gurjar
πŸ“‚ GitHub: https://github.com/ankitdoi–coder