modulepackage
0.0.0-20230505140348-d13f8e88a8a6
Repository: https://github.com/dayvsonlima/catuaba.git
Documentation: pkg.go.dev
# README
Catuaba Framework
Fast, super productive and aphrodisiac web-framework written in golang
Setup
Mac OS
Intel
curl -L https://github.com/dayvsonlima/catuaba/releases/latest/download/catuaba-darwin-amd64.tar.gz | tar xz && sudo mv catuaba /usr/local/bin/
Apple Silicon
curl -L https://github.com/dayvsonlima/catuaba/releases/latest/download/catuaba-darwin-arm64.tar.gz | tar xz && sudo mv catuaba /usr/local/bin/
Linux
curl -L https://github.com/dayvsonlima/catuaba/releases/latest/download/catuaba-linux-amd64.tar.gz | tar xz && sudo mv catuaba /usr/local/bin/
On Windows
Download the exe and add the path to your environment variables
https://github.com/dayvsonlima/catuaba/releases/latest/download/catuaba-windows-amd64.zip
Command List
Command | Description | Usage |
---|---|---|
--help | provide cli instructions | catuaba --help |
new | Create a New project | catuaba new <project-name> |
server | Starts the catuaba web server | Run catuaba server in the project root |
generator | Call some catuaba generator | catuaba generator <generator-name> ...<generator-params> |
Generators List
Command | Description | Usage |
---|---|---|
scaffold | scaffold is a full set of model, controller and router for one RESTFUL resource | catuaba g scaffold <model-name> ...<attribute:type> |
model | generates a new model file in app/models directory | catuaba g model <model-name> ...<attribute:type> |
controller | generates a new controller package in app/controller | catuaba g controller <controller-name> ...<method-name (index, new, create, update, delete, all)> . if you don't specify the method name, catuaba will create them all by default |
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author