GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - javaforest/SpringWebflux-SecurityWithJWT-PostgressDB: Spring webflux security application with JWT and R2DBC Postgress

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
src/main
src/main
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

SpringWebflux-SecurityWithJWT-PostgressDB

Spring webflux security application with JWT and R2DBC Postgress

To run the project

spring.r2dbc.url=r2dbc:postgresql://localhost/javaforest
spring.r2dbc.username=postgres
spring.r2dbc.password=12345

Change this credentials according your local

Testing the functionality

Code will insert 1 data when start Email : [email protected] password : 12345

cURL : curl -v -X POST http://localhost:8080/login -H "Content-Type: application/json; charset=UTF-8" -d "{"username" :"[email protected]","password" :"12345"}"
After geting the token check this endpoint for secure data
cURL : curl -v -X GET http://localhost:8080/resource/user -H "Authorization: Bearer {token}"

Signup new user

cURL : curl -v -X POST http://localhost:8080/signup -H "Content-Type: application/json; charset=UTF-8" -d "{"email" : "[email protected]","password" : "12345","firstName" : "mahade","lastName" :"hassan","roles" : ["ROLE_USER"],"address": "Bheramara", "enabled": true}"

About

Spring webflux security application with JWT and R2DBC Postgress

Topics

bean-validationloginr2dbc-postgresqlregistrationspring-webfluxwebflux-security

Resources

Readme
Apache-2.0 license
Activity

Stars

16 stars

Watchers

2 watching

Forks

6 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.