Getting Started
These instructions will guide you through setting up and running the Fintech Platform on your local machine for development and testing.
🛠️ Prerequisites
- Go: Version 1.22 or higher. Download from golang.org/dl. 🐹
- Docker & Docker Compose: For PostgreSQL and running the app in containers. docker.com 🐳
- PostgreSQL Client (Optional): Tools like
psql
or GUI clients (e.g., DBeaver, pgAdmin) 🐘
⬇️ Installation
- Clone the repository:
- Set up Environment Variables:
At a minimum, set a strong value for AUTH_JWT_SECRET
in .env
.
▶️ Running the Application
🐳 Using Docker Compose (Recommended)
- The app will be at
http://localhost:3000
. - PostgreSQL at port
5432
.
🏠 Running Locally (without Docker for Go app)
- Start PostgreSQL with Docker Compose:
- Run the Go app:
🖥️ Running the CLI
🗄️ Migrations
- Create a new migration:
- Apply all migrations:
- Revert last migration:
- See
internal/migrations/
for migration files.
💡 Tips
- The app loads env vars from
.env
(viagodotenv
). - For payment/webhook testing, use the mock provider or call the webhook endpoint manually.
- See docs/index.md for navigation and more guides.