This is the server-side application for the Quoted frontend Angular application. It provides various REST endpoints for the frontend to consume, among which:
- User management
- Quote management
- Source management
- Export functionality
It also handles the database persistence of the application.
- Java 20
- Spring Boot 3.1.1
- Spring Security
- Spring Data JPA
- DevTools
- Lombok
- Actuator
- etc.
- PostgreSQL
- Okta for user management
- Docker
- JUnit 5 (for testing)
- H2 (for testing)
- Set up PostgreSQL database and configure
application.properties
accordingly. - Run sql scripts in
sql
to create the database and sample tables. - Create an Okta account and configure
application.properties
accordingly. - Install via Maven:
mvn clean install
- Build Docker image:
docker build -t quoted-server .
(To build for amd64, add--platform linux/amd64
to the command) - Run Docker image:
docker run -p 8080:8080 quoted-server
(or configure your port of choice)