No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-07-08 22:44:49 +03:00
graphqlHandlers Add GraphQL 2023-07-08 22:42:41 +03:00
handlers Refactoring 2023-07-06 20:14:44 +03:00
logger Add logger 2023-07-06 20:29:54 +03:00
middleware Add prometheus metrics 2023-07-07 19:01:41 +03:00
models Add GraphQL 2023-07-08 22:42:41 +03:00
pkg/url Refactoring 2023-07-06 20:14:44 +03:00
storage Add redis+postgres storage 2023-07-06 23:34:36 +03:00
utils Add redis 2023-07-06 22:41:35 +03:00
dockerfile Fix dockerfile 2023-06-06 19:19:11 +03:00
go.mod Resolve pull conflict 2023-07-08 22:44:49 +03:00
go.sum Resolve pull conflict 2023-07-08 22:44:49 +03:00
main.go Add GraphQL 2023-07-08 22:42:41 +03:00
readme.md Add readme 2023-06-09 10:19:42 +03:00
server.go Allow using multiple methods 2023-07-08 22:33:56 +03:00
server_test.go Add tests for server 2023-06-07 12:22:18 +03:00

Environment variables

Env var Values Description
STORAGE_TYPE "postgres","in_memory" Whether to use postgres or RAM
POSTGRES_HOST string Postgres host
POSTGRES_PORT string Postgres port
POSTGRES_USER string Postgres username
POSTGRES_PASSWORD string Postgres password
POSTGRES_DBNAME string Postgres database name
POSTGRES_TEST_DBNAME string Postgres test database name