This project is the API to connect with Belvo
- Typescript
- Hono
- Supabase
- Cloudflare Workers
- Zod
Easily you con run this project following next steps:
- Clone repository
git clone
- Install packages
npm install
- Create your
wrangler.toml
file, you can take a hint onwrangler.example.toml
to know which variables you need
# Supabase
SUPABASE_PROJECT_URL=<SUPABASE_PROJECT_URL>
SUPABASE_API_KEY=<SUPABASE_API_KEY>
SUPABASE_DATABASE_PASSWORD=<SUPABASE_DATABASE_PASSWORD>
# Belvo
BELVO_SECRET_KEY_ID=<BELVO_SECRET_KEY_ID>
BELVO_SECRET_PASSWORD=<BELVO_SECRET_PASSWORD>
BELVO_BASE_URL=<BELVO_BASE_URL>
- Run project
npm run dev
- Now you can see on console which port is running your project
# Example
http://localhost:8787
This is the list of Endpoints availables
# Users
/api/v1/users/login - POST
/api/v1/users/register - POST
# Belvo
/api/v1/belvo/institutions - GET - Query page
/api/v1/belvo/transactions - GET - Query page
/api/v1/belvo/accounts - GET - Query page
/api/v1/users/register-link - POST