Your AI backend builder.
Important
Currently in development.
To generate a migration file, run the following command:
$ cd ./backend && migrate create database/migrate/postgres migration_name- Go 1.21 or later
- Node.js 18 or later
- PNPM
- PostgreSQL 14
- Redis
- Set up the database:
# Create PostgreSQL database
createdb b0- Start the backend:
# Navigate to backend directory
cd backend
# Copy and configure environment variables
cp .env.example .env
# Install dependencies and build
go mod download
go build -o b0 ./cmd
# Run migrations
./b0 migrate up
# Start the server
./b0 server- Start the frontend:
# Navigate to frontend directory
cd frontend
# Copy and configure environment variables
cp .env.example .env
# Install dependencies
pnpm install
# Start development server
pnpm run devThe application will be available at:
- Frontend: http://localhost:3000
- Backend API: http://localhost:5555
- Configure environment:
# Copy environment files
cp backend/.env.example backend/.env
cp frontend/.env.example frontend/.env- Start all services:
# Start the development stack
docker compose -f docker-compose.dev.yaml up -dThe application will be available at:
- Frontend: http://localhost:5173
- Backend API: http://localhost:5555
- Traefik Dashboard: http://localhost:8080
- Frontend: React application
- Backend: Go API server
- PostgreSQL: Database (port 5432)
- Redis: Cache (port 6379)
- Traefik: Reverse proxy and load balancer
For hot-reload development:
- Frontend changes will automatically reload
- Backend requires rebuilding the Go binary for changes to take effect