- Spring Boot
- Spring Security
- Postgres
- GitHub Actions
- Code Climate and Codacy
- Instrumentation with Datadog
Copy the example.env
to .env
:
cp example.env .env
docker compose up
./gradlew build -x test
./gradlew bootRun
# With datadog agent
java -javaagent:libs/dd-java-agent.jar -Ddd.logs.injection=true -Ddd.service=forum -Ddd.env=local -jar build/libs/forum.jar
./gradlew test
You can run the SQL script on the resources path to include some records on the database.
POST
http://localhost:8080/auth
{
"email": "[email protected]",
"password": "123456"
}
Header: Authorization: Bearer
token