Skip to content
Projetos

hantsy/spring-reactive-jwt-sample

Ver no GitHub

Sobre

Secures REST APIs with Spring Security and JWT Token-based Authentication powered by Spring Reactive stack

Segurança e privacidade

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
-2
em 15 dias
-2
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Spring Reactive JWT Sample

pre-commit

Compile and build Dockerize Quality Gate Status Coverage Code Smells

Build Status Codacy BadgeCodacy Badge

Coverage Status

CircleCI codecov

Build Status

Build status

Build Status

As an alternative of spring-webmvc-jwt-sample which is implemented in Spring Servlet stack, this sample project combines the latest Spring WebFlux, Spring Security to implement JWT token based authentication in Spring Reactive stack.

Guide

Secures RESTful APIs with Spring Security WebFlux and JWT Token Authentication

Build

Make sure you have installed the following software:

  • Apache Maven 3.6
  • JDK 17
  • Docker for Desktop(for Windows users and MacOS users)
  • Python (Optional for contributors)

Clone the source codes into your local system.

git clone https://github.com/hantsy/spring-reactive-jwt-sample

There is a docker-compose.yml file in the project root folder.

Run the following command to start up a MongoDb service .

docker-compose up mongodb

NOTE: You can install a local MongoDb instead of using Docker.

Then run the application by Spring boot maven plugin directly.

mvn spring-boot:run

Contribute

File an issue on Github issue if you have any idea.

If you want to send a PR directly, install python and pre-commit to check your git comments style and code style.

pip install pre-commit
pre-commit install --hook-type commit-msg --hook-type pre-push

Explore projetos relacionados

Carregando…