Skip to content

NewbMiao/axum-koans

Repository files navigation

axum-koans

setup

  1. add google oauth api credentials

refer to steps of Create a Google Application in How to setup Sign in with Google using Keycloak

  1. add google api credentials (clientId and clientSecret) in below .env file

  2. init application

# [Optional], for devtool initialization
sh ./devtool-init.sh

# configure initialization, and put your google client configuration in
cp .env.dev .env

# init keycloak and postgres
# Details in [infrastructure](/infrastructure/readme.md)
sh ./infrastructure/keycloak/init.sh

# start keycloak and postgres
sh ./infrastructure/services-up.sh

# start app
cargo run

features

Oauth