/javalin-tokens

Example code on using JWT with Javalin REST API

Primary LanguageJava

Javalin-JWT example

This repository contains a source code with example on using JWT authentication with Javalin. The example app has two main components:

  • Task API to CRUD operations with Task entities
  • User API to handle authorization and authentication

Learn more about it in this post

Requirements

  • Java 8+
  • Maven

Installation

  1. Clone this repository
  2. Run mvn clean install
  3. Start App.main() and you can call endpoints on http://localhost:4567/

License

This code is brought to you under MIT license. Use it on your own risk.

Contacts

Author: Yuri Mednikov email