This guide will help you set up HasteKit Gateway for local development. In development mode, you’ll run the backend and frontend locally while using Docker Compose for infrastructure services.Documentation Index
Fetch the complete documentation index at: https://hastekit.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before starting, ensure you have the following installed:- Docker - Download Docker Desktop
- Docker Compose - Usually included with Docker Desktop
- Node.js 20+ - Download Node.js
- Go 1.25.3+ - Download Go
1. Clone the Repository
Clone the HasteKit gateway repository:2. Start Infrastructure Services
Start the required infrastructure services (PostgreSQL, Redis, ClickHouse, etc.) using Docker Compose:- PostgreSQL - Primary database
- Redis - Caching layer
- ClickHouse - Analytics and telemetry storage
- OpenTelemetry Collector - Trace and metrics collection
3. Start the Backend
In the root directory, start the backend server:http://localhost:6060. You should see logs indicating the server is running.
4. Start the Frontend
Open a new terminal window, navigate to the frontend directory, and start the development server:http://localhost:3000 and automatically open in your browser.
Development Workflow
Making Changes
- Backend changes: The Go server will need to be restarted manually after code changes
- Frontend changes: The React development server supports hot reloading - changes will appear automatically