Skip to content

stone1549/auth-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auth-service

Example REST service for managing and authenticating users, written in Go using Chi.

Configuration

Environment Variables

AUTH_SERVICE_ENVIRONMENT

Controls log levels and configuration defaults.

  • DEV
  • PRE_PROD
  • PROD
AUTH_SERVICE_REPO_TYPE
  • IN_MEMORY
  • POSTGRESQL
    • AUTH_SERVICE_PG_URL - Full connection string for PG
AUTH_SERVICE_TIMEOUT

Incoming request timeout value in seconds.

AUTH_SERVICE_PORT

Port to run service on.

Run

go run main.go

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published