SSO service
Protobuf contract - https://github.com/paniccaaa/protos
-
gRPC
-
PostgreSQL
-
JWT
-
cleanevn (env. config reader)
-
slog (logger)
- Clone the repo
git clone https://github.com/paniccaaa/sso.git
cd sso
- local.yaml and .env files
Make sure to fill out the local.yaml and .env files with the necessary configuration settings.
- Run the app locally
make run
You can now perform database migrations without installing the migrate utility. Use the following commands
go run ./cmd/migrator --db-uri="postgres://<username>:<password>@<host>:<port>/<database_name>" --migrations-path=./migrations --direction=up
# and
go run ./cmd/migrator --db-uri="postgres://<username>:<password>@<host>:<port>/<database_name>" --migrations-path=./migrations --direction=down