{"id":13694708,"url":"https://github.com/hantsy/spring-reactive-jwt-sample","last_synced_at":"2025-04-03T15:10:21.807Z","repository":{"id":39137117,"uuid":"268003811","full_name":"hantsy/spring-reactive-jwt-sample","owner":"hantsy","description":"Secures REST APIs with Spring Security and JWT Token-based Authentication powered by Spring Reactive stack","archived":false,"fork":false,"pushed_at":"2024-10-01T02:40:17.000Z","size":537,"stargazers_count":231,"open_issues_count":1,"forks_count":55,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-10T18:44:08.626Z","etag":null,"topics":["jwt","spring","spring-boot","spring-data-mongodb-reactive","spring-security","spring-webflux"],"latest_commit_sha":null,"homepage":"https://medium.com/@hantsy/protect-rest-apis-with-spring-security-reactive-and-jwt-7b209a0510f1","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hantsy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-30T03:43:35.000Z","updated_at":"2024-10-07T12:49:30.000Z","dependencies_parsed_at":"2023-02-01T01:45:59.060Z","dependency_job_id":"4e144c4e-d8b5-4f3e-997b-8cfa104ce44e","html_url":"https://github.com/hantsy/spring-reactive-jwt-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fspring-reactive-jwt-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fspring-reactive-jwt-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fspring-reactive-jwt-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fspring-reactive-jwt-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hantsy","download_url":"https://codeload.github.com/hantsy/spring-reactive-jwt-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247024150,"owners_count":20870940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jwt","spring","spring-boot","spring-data-mongodb-reactive","spring-security","spring-webflux"],"created_at":"2024-08-02T17:01:38.204Z","updated_at":"2025-04-03T15:10:21.778Z","avatar_url":"https://github.com/hantsy.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# Spring Reactive JWT Sample\n\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n\n![Compile and build](https://github.com/hantsy/spring-reactive-jwt-sample/workflows/build/badge.svg)\n![Dockerize](https://github.com/hantsy/spring-reactive-jwt-sample/workflows/dockerize/badge.svg)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=hantsy_spring-reactive-jwt-sample\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=hantsy_spring-reactive-jwt-sample)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=hantsy_spring-reactive-jwt-sample\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=hantsy_spring-reactive-jwt-sample)\n[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=hantsy_spring-reactive-jwt-sample\u0026metric=code_smells)](https://sonarcloud.io/dashboard?id=hantsy_spring-reactive-jwt-sample)\n\n[![Build Status](https://travis-ci.com/hantsy/spring-reactive-jwt-sample.svg?branch=master)](https://travis-ci.com/hantsy/spring-reactive-jwt-sample)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/14860630dabd4e6eb98488723868a728)](https://www.codacy.com/manual/hantsy/spring-reactive-jwt-sample?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=hantsy/spring-reactive-jwt-sample\u0026amp;utm_campaign=Badge_Grade)[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/14860630dabd4e6eb98488723868a728)](https://www.codacy.com/manual/hantsy/spring-reactive-jwt-sample?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=hantsy/spring-reactive-jwt-sample\u0026utm_campaign=Badge_Coverage)\n\n[![Coverage Status](https://coveralls.io/repos/github/hantsy/spring-reactive-jwt-sample/badge.svg?branch=master)](https://coveralls.io/github/hantsy/spring-reactive-jwt-sample?branch=master)\n\n[![CircleCI](https://circleci.com/gh/hantsy/spring-reactive-jwt-sample.svg?style=svg)](https://circleci.com/gh/hantsy/spring-reactive-jwt-sample)\n[![codecov](https://codecov.io/gh/hantsy/spring-reactive-jwt-sample/branch/master/graph/badge.svg)](https://codecov.io/gh/hantsy/spring-reactive-jwt-sample)\n\n[![Build Status](https://cloud.drone.io/api/badges/hantsy/spring-reactive-jwt-sample/status.svg)](https://cloud.drone.io/hantsy/spring-reactive-jwt-sample)\n\n[![Build status](https://ci.appveyor.com/api/projects/status/n217cgnf22rkpnwy?svg=true)](https://ci.appveyor.com/project/hantsy/spring-reactive-jwt-sample-7fhef)\n\n[![Build Status](https://hantsy.visualstudio.com/spring-reactive-jwt-sample/_apis/build/status/hantsy.spring-reactive-jwt-sample?branchName=master)](https://hantsy.visualstudio.com/spring-reactive-jwt-sample/_build/latest?definitionId=1\u0026branchName=master)\n\n\nAs an alternative of  [spring-webmvc-jwt-sample](https://github.com/hantsy/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.\n\n## Guide\n\n[Secures RESTful APIs with Spring Security WebFlux and JWT Token Authentication](./docs/GUIDE.md)\n\n## Build\n\nMake sure you have installed the following software:\n\n* Apache Maven 3.6\n* JDK 17\n* Docker for Desktop(for Windows users and MacOS users)\n* Python (Optional for contributors)\n\nClone the source codes into your local system.\n\n```\ngit clone https://github.com/hantsy/spring-reactive-jwt-sample\n```\n\nThere is a *docker-compose.yml* file in the project root folder.\n\nRun the following command to start up a MongoDb service .\n\n```\ndocker-compose up mongodb\n```\n\n\u003e NOTE: You can install a local MongoDb instead of using Docker.\n\nThen run the application by Spring boot maven plugin directly.\n\n```\nmvn spring-boot:run\n```\n\n## Contribute\n\nFile an issue on Github issue if you have any idea.\n\nIf you want to send a PR directly, install python and `pre-commit` to check your git comments style and code style.\n\n```python\npip install pre-commit\npre-commit install --hook-type commit-msg --hook-type pre-push\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhantsy%2Fspring-reactive-jwt-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhantsy%2Fspring-reactive-jwt-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhantsy%2Fspring-reactive-jwt-sample/lists"}