Skip to content

mateusgpereira/fit-api

Repository files navigation

Mateus-Spring Mateus-Java Mateus-Postgres

Fit-system App

This project uses Quarkus, the Supersonic Subatomic Java Framework.

Development

To run the app in dev environment, first start the PG container with the command:

docker-compose up -d

Then run the following quarkus cli:

quarkus dev

NOTE: Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.

Tests

Tests on this application have been developed with JUnit, Rest Assured and Mockito.
To run the tests we just use this command:

mvn test

To run a single Test Suite just use the following command replacing the placeholder
TEST_CLASS with the Test Suite you want to run:

 mvn -Dtest=TEST_CLASS test

Creating a native executable

You can create a native executable using:

./mvnw package -Pnative

Or, if you don't have GraalVM installed, you can run the native executable build in a container using:

./mvnw package -Pnative -Dquarkus.native.container-build=true

You can then execute your native executable with: ./target/fit-system-1.0.0-SNAPSHOT-runner

If you want to learn more about building native executables, please consult https://quarkus.io/guides/maven-tooling.html.

Provided Code

RESTEasy JAX-RS

Easily start your RESTful Web Services

Related guide section...

About

Backend REST API for the FIT APP project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published