Public
Like
Godino
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
A web application that simulates a multi-currency finance platform like Cleva or Grey.
- User registration and login
- KYC submission and verification
- Multi-currency wallets (USD, GBP, NGN)
- Balance checking
- Currency exchange between wallets
- Sending money to other users
- Setting transaction limits
- Transaction history
- Webhook listener for external BaaS events
├── backend/
│ ├── database/ # Database schema and queries
│ ├── routes/ # API route handlers
│ ├── middleware/ # Authentication middleware
│ └── index.ts # Main entry point
├── frontend/
│ ├── components/ # React components
│ ├── pages/ # Page components
│ ├── index.html # HTML template
│ └── index.tsx # Frontend entry point
└── shared/
└── types.ts # Shared TypeScript types
- Backend: Hono.js, SQLite, JWT
- Frontend: React, TypeScript, TailwindCSS
- Storage: SQLite database
- POST /api/register - Register a new user
- POST /api/login - Authenticate a user
- POST /api/kyc - Submit KYC data
- POST /api/wallet/create - Create a new wallet
- GET /api/wallets - Get all wallet balances
- POST /api/wallet/transfer - Transfer between wallets
- POST /api/send - Send money to another user
- POST /api/user/set-limit - Set transaction limits
- GET /api/transactions - Get transaction history
- POST /api/webhooks/receive - Webhook listener
- Visit the application URL
- Register a new account
- Submit KYC information
- Create wallets in different currencies
- Start making transactions