Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

60 Commits

Folders and files

Repository files navigation

Minimal API

A Java JSON API starter with user CRUD, API key authentication, and PostgreSQL persistence.

Features

  • User CRUD endpoints built with Javalin and Guice
  • PostgreSQL persistence with jOOQ and Flyway migrations
  • Input validation, problem details, and bcrypt password hashing
  • OpenAPI documentation and Swagger UI

Requirements

  • Java 25+
  • Maven 3.9+
  • PostgreSQL for local runs
  • Docker for integration tests

Installation

Clone and build the project. Docker must be running for the tests.

git clone https://github.com/odan/java-minimal-api.git
cd java-minimal-api
mvn clean install

Set DB_JDBC_URL, DB_USERNAME, DB_PASSWORD, and API_KEY, then start the API:

mvn exec:java

Default URL: http://localhost:8080. Swagger UI: http://localhost:8080/swagger.

Documentation

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages