This is a test project for TECHNAXIS
-
The app uses S3 API for file storage, so you'll need to create a bucket on any S3-compatible storage provider (AWS, Wasabi, Yandex.Cloud etc)
-
Pass credentials as environment variables (or use any other method available in Spring Boot):
Parameter Description s3.endpointEndpoint for API calls (defaults to Yandex.Cloud endpoint) s3.regionS3 region (default is us-east-1, shouldn't be changed for Wasabi or Yandex.Cloud)s3.access-keyYour access key s3.secret-keyYour secret key s3.bucket-nameBucket name. Bucket must be public -
For DBMS other that Postgres or H2, add corresponding runtime dependency
Run ./mvnw spring-boot:run, package using mvn package
Simply run docker build ., this will build the app inside Docker. HTTP port is 8080 unless overriden
- Setup git remote:
heroku git:remote -a <app_name>
- Add heroku postgres add-on
- Setup S3 variables in app settings
- Push to heroku remote
[x] REST API [x] AWS [x] Deploy instructions [x] Docker [x] Heroku [x] API docs [ ] FTS [ ] Frontend