/user-service

Demo application using Dropwizard, JWT authentication + MySQL

Primary LanguageJava

User Service

A demo application using DropWizard that works with Java 11. This application uses

  1. MySQL for storage
  2. Flyway for migrations

Getting started

Create a database called users and run migrations

mvn flyway:migrate

Start the application with

./run.sh

Health Check

To see your applications health enter url http://localhost:8081/healthcheck

Authentication

This service uses JWT bearer token authentication. To get a token send a POST request to /login.