Skip to content

galaplate/galaplate

Repository files navigation

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

Console Commands (Recommended)

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

  • Go 1.22.1+
  • MySQL 8.0+ or PostgreSQL 13+

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •