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
- Host: GitHub
- URL: https://github.com/owainlewis/user-service
- Owner: owainlewis
- Created: 2019-01-26T17:17:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-28T08:23:09.000Z (over 3 years ago)
- Last Synced: 2025-02-01T04:42:10.937Z (about 1 year ago)
- Topics: dropwizard, microservice
- Language: Java
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.