Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 1.77 KB

README.md

File metadata and controls

69 lines (49 loc) · 1.77 KB

3D Assets Workshop API

Powered by bdv.pw

The 3D Assets Workshop REST API powers an online shop for managing and selling 3D assets effortlessly.


Documentation

Project reference

SQL Scripts with demo data for development purposes can be found in docs directory.

oms_product_types.sql oms_products.sql  oms_types.sql

Tech stack

  • Java 17
  • Spring Boot 3
  • SpringDoc
  • OAuth2 Resource Server
  • Spring Security
  • Liquibase
  • PostgreSQL
  • Keycloak 21
  • RabbitMQ
  • Docker

Local environment

To run this project locally you need Docker Engine and Docker Compose installed.

  1. Clone this repository
git clone https://github.com/nominori-dev/3d-workshop-backend
# cd into repository
cd 3d-workshop-backend
  1. Start docker containers with compose
# Compose files stored in /docs folder. 
# This will be replaced soon with single development compose file
docker-compose --project-directory ./ -f docs/compose/keycloak/docker-compose.yml up -d
docker-compose --project-directory ./ -f docs/dev-compose.yml up -d

# If dev-compose.yml not working, try using old deployment method.
docker-compose --project-directory ./ -f docs/compose/postgres/docker-compose.yml up -d
docker-compose --project-directory ./ -f docs/compose/rabbitmq/docker-compose.yml up -d
  1. Download dependencies and run project
./mvnw install 

# By default app will run with development ("dev") profile. So you don't need to provide env. variables
./mvnw spring-boot:run

Environment variables

List of all environment variables you can find in .env.example file.

Authors