Frontend
React SPA
Login, marketplace, inventory, and admin routes
Technical overviewFull-stack application architecture
An authenticated marketplace connecting a React interface to a layered Java API.
Source code
Inspect the implementation, commit history, and project documentation.
01
Car Sale Application is a peer-to-peer car marketplace where users create accounts, manage vehicle listings, buy from other users, and administer inventory. React handles the customer workflow while a Spring Boot API applies authentication, business rules, and relational persistence. It is live at carsale.pesanth.com.
02
Frontend
Login, marketplace, inventory, and admin routes
HTTP client
Attaches bearer tokens and maps API operations
Security boundary
RSA JWT validation, BCrypt, roles, and CORS
API
Accounts, cars, listings, purchases, and funds
Business logic
Ownership, listing, purchase, and account rules
Data access
Entity mapping and relational queries
Database
Users, roles, balances, vehicles, and ownership
Orchestration
nginx, API, and MySQL on one internal network
Public ingress
Outbound-only ingress to a self-hosted Linux server; no forwarded ports
03
Spring Security validates RSA-backed JWTs and BCrypt protects stored passwords, keeping API authorization independent of server sessions.
Controllers delegate ownership, account, and vehicle operations to services and JPA repositories rather than coupling HTTP handlers directly to the database.
Docker Compose connects the React client, Java API, and MySQL database on one network for local and VM-based deployment.
04
$ React client -> authenticated API request
Spring Security -> JWT validation
Controller -> service -> JPA repository
Docker Compose: nginx + API + MySQL
Cloudflare Tunnel -> carsale.pesanth.com
live at carsale.pesanth.com05

06