Ginister is a Go CLI tool that helps you quickly scaffold a fully functioning backend application using the Gin framework, GORM, and MySQL. It automates the process of creating a scalable project structure, setting up a database, generating models, and implementing basic CRUD APIs.
- Automatic project setup with Gin, GORM, and MySQL
- Scalable folder structure generation
- Dynamic model generation with GORM support
- Pre-built CRUD operations for each model
- Go 1.18+
- MySQL
curl -L https://fosscu.org/ginister/install.sh | sh
This will install ginister on your computer.
Clone the repository and build the CLI tool:
git clone https://github.com/Utkarsh4517/ginister.git
cd ginister
go build -o ginister
-
./ginister
-
Follow the prompts!
-
go run main.go
<project_name>/
├── config/ # Database configurations
├── controllers/ # Controller files with CRUD logic
├── models/ # GORM models
├── routes/ # API route management
├── main.go # Entry point
Proudly donated to FOSS-Community by Shivam Bharadwaj and Utkarsh Shrivastava.