Skip to content

felipe-parra/banking-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banking API

This project is the API to connect with Belvo

Tech Stack

  • Typescript
  • Hono
  • Supabase
  • Cloudflare Workers
  • Zod

Run Locally

Easily you con run this project following next steps:

  1. Clone repository
git clone
  1. Install packages
npm install
  1. Create your wrangler.toml file, you can take a hint on wrangler.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>
  1. Run project
npm run dev
  1. Now you can see on console which port is running your project
# Example
http://localhost:8787

Endpoints

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published