Skip to content

Introduction

gocronx-scaffold is a fullstack project generator that creates production-ready Go + Vue 3 applications in seconds.

Why gocronx-scaffold?

Starting a new fullstack project usually means hours of boilerplate setup — configuring routers, middleware, auth, database connections, frontend tooling, and build scripts. gocronx-scaffold eliminates all of that.

What You Get

A single gocronx init command generates:

  • Backend — Go + Gin + GORM with JWT authentication, CORS middleware, and role-based access
  • Frontend — Vue 3 + Vite + TypeScript with Element Plus, Pinia state management, and auto-import
  • Database — SQLite (zero-config) / MySQL / PostgreSQL, switchable via onboard wizard
  • Redis — Optional, toggleable during setup
  • DevOps — Makefile, Air hot-reload, Docker Compose, GoReleaser config

Architecture

┌─────────────────────────────────────────┐
│           Vue 3 Frontend (:3000)         │
│   Element Plus · Pinia · Vue Router     │
├─────────────────────────────────────────┤
│              Vite Proxy /api             │
├─────────────────────────────────────────┤
│           Gin Backend (:8080)            │
│   JWT · CORS · Onboard · Auth           │
├─────────────────────────────────────────┤
│         GORM (SQLite/MySQL/PG)          │
└─────────────────────────────────────────┘

Next Steps