mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
b7ffb7c672
* Implement mock bundle query in watcher. * Use chance js for generating mock data. * Add bundles query. * Setup resolvers with uniswap info schema. * Add mock query for Burn entity. * Add mock query for Factory entity. * Add mock queries for entities Mint, Pool and Transaction. * Add mock query for Swap entity. * Add mock queries for day data entities. * Implment mock ticks query. * Add mock tokenHourDatas query. * Add mock queries for uni-info-watcher to readme. Co-authored-by: nikugogoi <95nikass@gmail.com>
32 lines
688 B
TOML
32 lines
688 B
TOML
[server]
|
|
host = "127.0.0.1"
|
|
port = 3003
|
|
|
|
[database]
|
|
type = "postgres"
|
|
host = "localhost"
|
|
port = 5432
|
|
database = "uni-info-watcher"
|
|
username = "postgres"
|
|
password = "postgres"
|
|
synchronize = true
|
|
logging = false
|
|
|
|
entities = [ "src/entity/**/*.ts" ]
|
|
migrations = [ "src/migration/**/*.ts" ]
|
|
subscribers = [ "src/subscriber/**/*.ts" ]
|
|
|
|
[database.cli]
|
|
entitiesDir = "src/entity"
|
|
migrationsDir = "src/migration"
|
|
subscribersDir = "src/subscriber"
|
|
|
|
[upstream]
|
|
gqlEndpoint = "http://127.0.0.1:8083/graphql"
|
|
gqlSubscriptionEndpoint = "http://127.0.0.1:5000/graphql"
|
|
|
|
[upstream.cache]
|
|
name = "requests"
|
|
enabled = false
|
|
deleteOnStart = false
|