Skip to content

paniccaaa/sso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSO

SSO service

Protobuf contract - https://github.com/paniccaaa/protos

Stack:

  • gRPC

  • PostgreSQL

  • JWT

  • cleanevn (env. config reader)

  • slog (logger)

Installation

  1. Clone the repo
git clone https://github.com/paniccaaa/sso.git
cd sso
  1. local.yaml and .env files

Make sure to fill out the local.yaml and .env files with the necessary configuration settings.

  1. Run the app locally
make run

Database migration (check cmd/migrator)

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

About

sso service

Resources

License

Stars

Watchers

Forks

Packages

No packages published