Create a new production-ready project with backend (Golang) by running only CLI command.
Focus on writing your code and thinking of the business-logic! The CLI will take care of the rest.
First, download and install Go. Version 1.20
or
higher is required.
Installation is done by using the go install
command:
go install github.com/comehere127/create-go-app/cmd/cga@latest
Or see the repository's Release page, if you want to
download a ready-made deb
, rpm
, apk
or Arch Linux
package.
Also, GNU/Linux and macOS users available way to install via Homebrew:
# Tap a new formula:
brew tap create-go-app/tap
# Installation:
brew install create-go-app/tap/cga
Let's create a new project via interactive console UI (or CUI for short) in current folder:
cga create
That's all you need to know to start! 🎉
CLI command for create a new project with the interactive console UI.
cga create [OPTION]
Option | Description | Type | Default | Required? |
---|---|---|---|---|
-t |
Enables to define custom backend templates. | bool |
false |
No |
- Backend template with Golang built-in [fe-service] package:
fe-service
— Golang service for frontend.
Create Go App CLI
is free and open-source software licensed under
the Apache 2.0 License. Official was
created by Kent Duong and distributed under
Creative Commons license (CC BY-SA 4.0 International).