forked from cerc-io/snowballtools-base
Refactor database setup and add user context to GQL requests (#17)
* Add context to each request * Implement get user db query * Move constants to a separate file * Refactor database init method
This commit is contained in:
committed by
Ashwin Phatak
parent
4d00cfb8f0
commit
e4c099f8c3
@@ -2,3 +2,6 @@
|
||||
host = "127.0.0.1"
|
||||
port = 8000
|
||||
gqlPath = "/graphql"
|
||||
|
||||
[database]
|
||||
dbPath = "db/snowball"
|
||||
|
||||
Reference in New Issue
Block a user