A Spring Boot REST API backend for the ThogaKade retail shop management system.
🔗 Frontend: ThogaKade_Frontend
- Java 21 + Spring Boot 3
- Spring Data JPA (Hibernate)
- MySQL 8
- Maven
CREATE DATABASE thogakade_db;spring.datasource.url=jdbc:mysql://localhost:3306/thogakade_db
spring.datasource.username=root
spring.datasource.password=your_password
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true./mvnw spring-boot:runAPI runs at: http://localhost:8080
Base URL: /api/v1
| Method | Endpoint | Description |
|---|---|---|
| GET / POST | /customers |
Get all / Add customer |
| GET / PUT / DELETE | /customers/{id} |
Get, Update, Delete customer |
| GET / POST | /items |
Get all / Add item |
| GET / PUT / DELETE | /items/{code} |
Get, Update, Delete item |
| GET / POST | /orders |
Get all / Place order |
| GET / DELETE | /orders/{id} |
Get, Cancel order |
Requests from http://localhost:4200 (Angular dev server) are allowed by default.
Hashini Nanayakkara — Undergraduate Software Engineering Student