Shop-Flow is a backend e‑commerce REST API built with Spring Boot. It provides JWT authentication, product catalog, shopping cart, and order management endpoints.
- Java 17
- Spring Boot 3.x
- Spring Security (JWT)
- Spring Data JPA (H2 in‑memory DB)
- Lombok, Validation, Maven Wrapper
- Prerequisites – Java 17 (JDK) installed.
- Clone the repository (already done).
- Build the project:
./mvnw.cmd clean compile
- Run the application:
The API will be available at
./mvnw.cmd spring-boot:run
http://localhost:8080.
POST /api/auth/login– obtain JWT token.GET /api/products– list products (public).GET /api/cart– view cart (requires JWT).POST /api/orders– place order (requires JWT).
Run unit tests with:
./mvnw.cmd testThis project is provided for educational purposes. Feel free to adapt and extend it for real‑world use.