This API provides endpoints to create and manage an unlimited number of stores, products, frontend, as well as a payment processing integration with Bitcart
This project uses PostgreSQL database to store it's internal state.
Installation steps (for ubuntu 22.04):
sudo apt install postgresql postgresql-contrib
You can configure database password and other connection settings in src/main/resources/application.yml
(or via environment variables like SPRING_DB_PASSWORD
)
By default, you need to have database named java
present. You can create it using:
sudo -u postgres createdb java
The app will run database migrations on boot automatically
To run the app, start it from your IDE or use maven:
mvn spring-boot:test-run
You can also run it in docker using docker compose:
docker compose up -d
You can run tests using your IDE or maven:
mvn test
- Java 21
- Spring Web 3.2.x series
- PostgreSQL 14
- Maven
You can find swagger UI documentation at http://localhost:8080
and try API requests here