d4506e6303
update: (dashboard-api) cors and sql limits
...
- add cors for core websites and dev env
- update sql query limit to 2 years
- enabled future cors for auth
2022-05-12 12:32:33 +03:00
128b15407a
server: init api server
...
- echo (https://echo.labstack.com/ ) as web framework
- carbon for auto date-range parsing
- add dashboard sql queries
2022-05-11 16:57:56 +03:00
6b71657e5b
sohail/update deps structure ( #5 )
...
* refactor: syncer structure
- move syncer jobs to internal dir
* refactor: queries struct and pkg updates
- update cic-go to latest
- separate sql queries by logic
* ci: add dependabot
2022-05-11 12:32:11 +03:00
9882a9ddc6
refactor: move pkg's out
...
- to cic_go
2022-05-06 16:53:57 +03:00
b4a7668ca4
fix: (redis) parse redis dsn
2022-05-05 19:58:27 +03:00
a68ae5a9eb
fix: (redis) bootstrap connection struct properly
2022-05-05 19:39:25 +03:00
9c6310440c
refactor: syncer structure and async bootstrapping
...
- asynq bootstrap handlers
- graceful shutdown of goroutines
- remove unnecessary global App struct
- unmarhsal toml/env to koanf struct
2022-05-05 15:01:34 +03:00
1c65a11460
add: ussd and cache syncer tasks
...
- no repeat on failure, picked up on next schedule
- enforce uniq on users and tx table to prevent duplicates
2022-05-03 21:37:48 +03:00
05ab865c63
add: token syncer
...
core:
- add koanf for runtime config loading
- cicnet connection must dial else panic
- add db connection init
- add goyesql for convenient querying
- add async tasker processor (scheduler, processor)
dev:
- add redis server to dev docker-compose
- update volume to prune-able local
2022-05-03 18:54:51 +03:00
b7452778d5
project: init
...
- create dw db structure
- write remote syncer queries
2022-04-25 18:29:38 +03:00