Gondest is a CLI tool to simplify the creation of application structure using GoFiber with a modular approach like NestJS.
- Go must be installed on your machine. You can download and install it from here.
To install Gondest CLI via:
curl -sL https://raw.githubusercontent.com/akimabs/gondest/main/install.sh | bash
Initializes a new project with the standard structure for GoFiber.
gondest init myApp
This will create a directory myApp
with the following structure:
myApp/
|-- domains/
| |-- app.controller.go
| |-- app.service.go
| |-- app.module.go
|-- utils/
| |-- response.go
|-- main.go
|-- go.mod
Generates files for a new controller, service, module, or model.
type
: The type of file to generate (controller
,service
,module
, ormodel
).name
: The name of the module or model to create.
module
model
gondest generate module user
Configures integrations such as databases or other services.
The type of integration to configure (e.g., db
, redis
, more to come).
db
: The type of integration to configure database (e.g., mysql, postgres, sqlserver).redis
: The type of integration to configure redis.
--mysql
: Use MySQL as the database.--postgres
: Use PostgreSQL as the database.--sqlserver
: Use SQL Server as the database.
gondest config db --postgres
-h, --help
: Displays help for each command.
Special thanks to ChatGPT for assistance in code generation and documentation.
List generated with contributors-img. [Updates every 24 hrs]