feat: add admin/auth api

- jwt cookie based auth
- /auth
- admin/*
This commit is contained in:
2022-05-30 17:24:59 +03:00
parent 861af1761d
commit 7fc0e0681b
10 changed files with 196 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ The data warehouse additionally exposes a couple of REST API's (GraphQL planned)
1. Dashboard API (`/dashboard`) - Exposes data for [`cic-dashboard`](https://github.com/grassrootseconomics/cic-dashboard). Most data is expected to be chart/table API specific and usually not human readable.
2. Public API (`/public`) - Exposes public (on-chain only/non-sensitive) data.
3. Internal API (planned)
3. Internal Admin API - back office operations
Each API is domain separated i.e. separate SQL query files and router control.