Commit Graph

36 Commits

Author SHA1 Message Date
2548e68c36
Merge pull request #9 from grassrootseconomics/sohail/public-api
add: (feat) balances query API
2022-05-19 10:28:41 +03:00
eb05761a51
fix: error messages 2022-05-19 10:27:51 +03:00
f0690d62be
add: (feat) balances query api
- add address utils
- return uint64 for balances instead of float
2022-05-19 09:52:34 +03:00
7d431f1c8f
add: (wip) balances query API 2022-05-14 11:15:45 +03:00
352b89332f
docs: fix badges 2022-05-14 11:08:26 +03:00
18eafe9694
docs: add description and README 2022-05-14 11:06:42 +03:00
8288880c79
Merge branch 'sohail/dashboard-api' 2022-05-12 12:33:04 +03:00
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
bba6e330df
docker: fix dir copy 2022-05-11 18:42:02 +03:00
801d6d71c9
ci: fix goreleaser 2022-05-11 17:05:11 +03:00
9b66f4b2d6
Merge pull request #6 from grassrootseconomics/sohail/dashboard-api
server: init api server
2022-05-11 16:59:22 +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
f5642c0e05
docker: fix new queries path 2022-05-11 12:36:59 +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
6902033586
project: remove changelog
- tracked by go releaser
2022-05-05 19:40:12 +03:00
a68ae5a9eb
fix: (redis) bootstrap connection struct properly 2022-05-05 19:39:25 +03:00
da66f70bf9
ci: remove uncessary deps build 2022-05-05 16:39:25 +03:00
16add59db5
ci: fix yml 2022-05-05 16:37:23 +03:00
ab7a6ebad8
ci: fix docker login 2022-05-05 16:35:23 +03:00
037d709e0e
release: v0.1.1 2022-05-05 16:31:01 +03:00
342bb98d1b
ci: add build 2022-05-05 16:29:29 +03:00
2457ee7483
add: license 2022-05-05 15:10:27 +03:00
072e5600a0
release: v0.1.0 2022-05-05 15:06:23 +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
4f868d8d94
fix: (pkg) revert to untrimmed address, panic on failed dial
- TODO: cicnet should be initialized at job handler level
2022-05-05 14:58:47 +03:00
659007e563
fix: (sql) lower case addresses for easier joins
- add schema docs
2022-05-05 14:56:22 +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
d9f42005af
fix: (schema) tgrm indexes and cursor init 2022-05-03 18:46:56 +03:00
a6f24042f5
add: cic-meta client 2022-04-29 17:04:01 +03:00
e81a505681
fix: (ethClient) handle teardown 2022-04-29 11:12:47 +03:00
e6651fc911
add: cicnet package
- query cicnet contracts
2022-04-29 11:09:25 +03:00
18359139e1
fix: migration
- add cursor descriptions
- enable search extension on indexes
2022-04-29 11:02:03 +03:00
b7452778d5
project: init
- create dw db structure
- write remote syncer queries
2022-04-25 18:29:38 +03:00