goplate

Galaplate

A comprehensive Go-based REST API boilerplate with Fiber, GORM, powerful console commands, background jobs, and task scheduling.

Quick Start

# Clone and setup
git clone https://github.com/sheenazien8/galaplate.git
cd galaplate
go mod tidy

# Configure
cp .env.example .env
# Edit .env with your database settings

# Run migrations and start (using console commands)
go run main.go console db:up
make dev

# Or use traditional make commands
# make db-up
# make dev

Key Commands

go run main.go console list              # List all available commands
go run main.go console db:up             # Run database migrations
go run main.go console make:model User   # Generate new model
go run main.go console make:dto UserDto  # Generate new DTO

Make Commands

make dev          # Development server with hot reload
make build        # Build application
make test         # Run tests

Documentation

Complete documentation is available in the docs/ directory:

Requirements

License

MIT License