Git Product home page Git Product logo

deepak-sekarbabu / spring-reactive-jwt-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hantsy/spring-reactive-jwt-sample

0.0 0.0 0.0 540 KB

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

Home Page: https://medium.com/@hantsy/protect-rest-apis-with-spring-security-reactive-and-jwt-7b209a0510f1

License: GNU General Public License v3.0

Java 99.65% Dockerfile 0.35%

spring-reactive-jwt-sample's Introduction

Spring Reactive JWT Sample

pre-commit DeepSource

Compile and build Dockerize Quality Gate Status Coverage Code Smells

Build Status Codacy BadgeCodacy Badge

Build Status Coverage Status

CircleCI codecov

Build Status

Build status

Codefresh build status

Build Status

Dependency Vulnerabilities

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

spring-reactive-jwt-sample's People

Contributors

hantsy avatar renovate-bot avatar renovate[bot] avatar jit-ci[bot] avatar arooba-git avatar deepsourcebot avatar scafer avatar stack-file[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.