Skip to content

atiw-sportfest/backend

Repository files navigation

backend

Travis Status

Browse the Swagger/OpenAPI definition.

This JAX-RS REST-API requires Apache TomEE 7.x or any other Java EE application server that uses CXF for JAX-RS, which is required for file upload.

It uses JPA to store it's data, you will need an default JPA data source and generate the initial schema.

See README.INSTALL for how to install TomEE on Windows.

Assemble a WAR

Git Bash: ./gradlew war

backend.war will appear in build/libs.

Deploy to Local TomEE

Git Bash (Replace user and pass with your TomEE manager-app credentials):

export CARGO_USER=user CARGO_PASS=pass CARGO_HOST=localhost CARGO_CONTAINER=tomcat8x
./gradlew redeployWar

Make sure that user has the manager-script role! For more information see README.INSTALL

Get Insomnia Workspace

Port to Other Application Server

You will need to change the types of the parameters of the methods that use multipart upload.