Skip to content

spinsage/javalin-java-starter-restapi

Repository files navigation

License Build Status Black Duck Security Risk Codacy Badge Average time to resolve an issue Percentage of issues still open Gitter chat

Javalin (Java) Rest API Starter

Boilerplate maven project for bootstrapping development of a Rest API application with Javalin using Java as the programming language.

Getting Started

Build the application

  • Clone the repository.

  • Execute the maven command.

     mvn clean package

Run the application

Within a Docker container

  • Create a .env file by copying .env.sample.

  • Update environment variable values in the .env file as needed.

  • Execute docker-compose.

     docker-compose up

As a standalone application

cd target
java -jar javalin-java-rest-1.0.0-SNAPSHOT-shaded.jar

LICENSE

Javalin Rest API Starter is Apache 2-licensed.

Let us know!

We at Spinsage would be happy if you send us links to your projects where you are using our code. Just send us an email at opensource@spinsage.com.

And do let us know if you have any queries or suggestions regarding our work.