Skip to content

✨ A complete and self-contained solution for developers of any qualification to create a production-ready project with backend (Go) by running CLI command.

License

Notifications You must be signed in to change notification settings

ghn-toolkit/test-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create Go App

Create Go App CLI

Go version

Create a new production-ready project with backend (Golang), frontend (JavaScript, TypeScript) and deploy automation (Ansible, Docker) by running only one CLI command.

Focus on writing your code and thinking of the business-logic! The CLI will take care of the rest.

⚡️ Quick start

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/ghn-toolkit/test-cli/cmd/cga@latest

GNU/Linux and macOS users available way to install via [Homebrew][brew_url]:

# Tap a new formula:
brew tap ghn-toolkit/tap

# Installation:
brew install ghn-toolkit/tap/cga

Let's create a new project via interactive console UI (or CUI for short) in current folder:

cga create

Next, open the generated Ansible inventory file (called hosts.ini) and fill in the variables according to your server configuration. And you're ready to automatically deploy this project:

cga deploy

That's all you need to know to start! 🎉

📖 Project Wiki

The best way to better explore all the features of the Create Go App CLI is to read the project Wiki and take part in Discussions and/or Issues.

Yes, the most frequently asked questions (FAQ) are also here.

⚙️ Commands & Options

create

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 and frontend templates. bool false No

📝 Production-ready project templates

Backend

  • Backend template with Golang built-in [fe-service][net_http_url] package:
    • [fe-service][cga_net-http-template_url] — simple REST API with CRUD and JWT auth.

🏆 A win-win cooperation

And now, I invite you to participate in this project! Let's work together to create the most useful tool for developers on the web today.

Together, we can make this project better every day! 😘

⚠️ License

Create Go App CLI is free and open-source software licensed under the Apache 2.0 License. Official logo was created by Kent Duong and distributed under Creative Commons license (CC BY-SA 4.0 International).

About

✨ A complete and self-contained solution for developers of any qualification to create a production-ready project with backend (Go) by running CLI command.

Resources

License

Stars

Watchers

Forks

Packages

No packages published