A production-grade Spring Boot backend application for an e-commerce / marketplace system, built with clean architecture, security, pagination, and best practices.
This project demonstrates how a real-world backend system is designed, secured, and deployed.
- JWT-based authentication (Stateless)
- Spring Security with custom filters
- Role-based authorization
- Password hashing & encoding
- Secure login / signup / logout APIs
- Category management
- Product management
- User & Role management
- Seller & Address handling
- Order & Cart related services
- DTO pattern for request/response separation
- ModelMapper for clean data mapping
- Global exception handling
- Custom exceptions (ResourceNotFound, APIException, etc.)
- Validation using Hibernate Validator
- Clean controller–service–repository layering
- Pageable & PageRequest support
- Sorting on multiple fields
- Consistent API response structure
- Default pagination values
- Spring Data JPA & Hibernate
- Entity relationships:
- One-to-One
- One-to-Many
- Many-to-Many
- Lazy & Eager fetching
- Cascade operations
- PostgreSQL / H2 support
- Dockerized Spring Boot application
- PostgreSQL container integration
- Environment-based configuration
- AWS Elastic Beanstalk deployment
- Amazon RDS integration
- Backend: Java 21, Spring Boot
- Security: Spring Security, JWT
- Database: PostgreSQL, H2
- ORM: Spring Data JPA, Hibernate
- Build Tool: Maven
- Tools: Postman, IntelliJ IDEA
- Containerization: Docker
- Cloud: AWS (RDS, Elastic Beanstalk)
sb-ecom/ ├── controller ├── service ├── repository ├── entity ├── dto ├── security ├── exception ├── config └── util
- RESTful APIs following HTTP standards
- Proper status codes & response entities
- JSON-based request/response
- Secure endpoints with JWT
- Pagination & filtering support
✔ Strong understanding of backend fundamentals
✔ Real-world Spring Boot architecture
✔ Secure API design
✔ Database modeling & relationships
✔ Scalable & maintainable codebase
✔ Production-ready mindset
- Split into microservices architecture
- API Gateway integration
- Service discovery & fault tolerance
- CI/CD pipeline
Nihal Singh
Backend Developer | Java | Spring Boot | Microservices
💡 This project is part of my backend engineering journey and reflects industry-level development practices.