An open API service indexing awesome lists of open source software.

https://github.com/owainlewis/user-service

Demo application using Dropwizard, JWT authentication + MySQL
https://github.com/owainlewis/user-service

dropwizard microservice

Last synced: about 1 year ago
JSON representation

Demo application using Dropwizard, JWT authentication + MySQL

Awesome Lists containing this project

README

          

# 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

```sh
mvn flyway:migrate
```

Start the application with

```sh
./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.