Skip to content
/ Quick Start

Documentation

Quick Start

Create a project and your first module in minutes.

1. Create a project

bash
goclean new my-saas
cd my-saas

goclean sets up the directory structure, go.mod, configuration, Docker files and a Makefile for you.

2. Generate a module

bash
goclean make:module Product name:string price:float stock:int

This creates the entity, DTOs, repository, usecase, handler and migration for Product, and registers its routes.

3. Run it

Start the server in development with hot reload using Air from the project root:

bash
air
Want to see what would be created first? Add --dry-run to any command to preview the generated files. See Available Commands.