gftf2011 / keycloak-auth-flow

This is a project that shows how to integrate a keycloak client with a React.JS application and a Node.JS application. Here you'll find how to run a keycloak container with Docker and Docker-Compose and how to automate the Keycloak Realm and Clients creation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ”‘ keycloak auth flow πŸ”‘

About β€’ Supported OS β€’ Required Tools β€’ Running Project β€’ License

πŸ“„ About

This is a project that shows how to integrate a keycloak client with a React.JS application and a Node.JS application

Here you'll find how to run a keycloak container with Docker and Docker-Compose and how to automate the Keycloak Realm and Clients creation !


πŸ› οΈ Supported OS

  • Mac OS
  • Linux
  • Windows - WSL

πŸ“‹ Required Tools


🏎️ Running Project

1 - Open the terminal and type:

  $ npm run docker:up:dev

2 - Go to the web APP and run the web app:

  $ nvm use
  $ npm i
  $ npm run start:dev

3 - Open a new terminal and run the backend app:

  $ nvm use
  $ npm i
  $ npm run start:dev

4 - Access the http://localhost:5173/ to enter in the home page

5 - Access the http://localhost:5173/sign-in to register a user or enter with login


πŸ“ License

This project is under MIT license. See the LICENSE file for more details.


Made with lots of ❀️ by Gabriel Ferrari Tarallo Ferraz

About

This is a project that shows how to integrate a keycloak client with a React.JS application and a Node.JS application. Here you'll find how to run a keycloak container with Docker and Docker-Compose and how to automate the Keycloak Realm and Clients creation

License:MIT License


Languages

Language:TypeScript 78.9%Language:Shell 14.2%Language:Dockerfile 3.6%Language:JavaScript 1.7%Language:HTML 1.6%