A comprehensive REST API for blockchain chain creation and management, built with Go and Chi router.
- Chain Management: Full CRUD operations for blockchain chains
- Multi-Step Launch Process: Step-by-step chain configuration and deployment
- Template System: Pre-built blockchain templates
- Development Integration: GitHub repository connections
- Virtual Pools: Bonding curve mechanics and trading
- Asset Management: Media and documentation handling
- Social Integration: Social media links and verification
launchpad/
├── cmd/server/ # Application entry points
├── internal/ # Private application code
│ ├── config/ # Configuration management
│ ├── handlers/ # HTTP request handlers
│ ├── models/ # Data models and DTOs
│ ├── repository/ # Data access layer
│ ├── server/ # HTTP server setup
│ ├── services/ # Business logic
│ └── validators/ # Request validation
├── pkg/ # Public packages
├── tests/ # Test files
├── migrations/ # Database migrations
├── templates/ # Email templates
└── scripts/ # Development scripts
-
Configure environment:
cp .env.example .env
-
Start Tilt development environment:
tilt up
This starts all services with hot reloading. Press
spaceto open the Tilt UI.
This project uses Atlas for managing database migrations.
curl -sSf https://atlasgo.sh | sh
For complete migration documentation, see docs/MIGRATIONS.md
# Apply migrations and load fixtures
make migrate-setup
make load-fixtures
# Make schema changes
# 1. Edit schema.sql
# 2. Generate migration: make migrate-diff
# 3. Apply migration: make migrate-up
# Full database reset
make db-resetThe application follows Clean Architecture principles:
- Handlers handle HTTP requests and responses
- Services contain business logic
- Repositories handle data persistence
- Models define data structures
- Validators handle request validation