Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dayvsonlima/catuaba

🍷 Fast, super productive and aphrodisiac web-framework written in golang
https://github.com/dayvsonlima/catuaba

api-rest framework go golang golang-package mvc

Last synced: 3 months ago
JSON representation

🍷 Fast, super productive and aphrodisiac web-framework written in golang

Awesome Lists containing this project

README

        

[![GitHub Actions](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fdayvsonlima%2Fcatuaba%2Fbadge&label=build&logo=none)](https://actions-badge.atrox.dev/dayvsonlima/catuaba/goto)

# Catuaba Framework

Fast, super productive and aphrodisiac web-framework written in golang

![Catuaba Framework Golang new command example](catuaba-new-command.gif)

# Setup

## Mac OS

### Intel
```bash
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
```bash
curl -L https://github.com/dayvsonlima/catuaba/releases/latest/download/catuaba-darwin-arm64.tar.gz | tar xz && sudo mv catuaba /usr/local/bin/
```

## Linux

```bash
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
![Catuaba Framework Golang scaffold command example](catuaba-scaffold-command-example.gif)

| Command | Description | Usage |
| --- | --- | --- |
|--help| provide cli instructions | `catuaba --help`
|new | Create a New project | `catuaba new `
|server| Starts the catuaba web server | Run `catuaba server` in the project root
|generator| Call some catuaba generator | `catuaba generator ...`

# Generators List
| Command | Description | Usage |
| --- | --- | --- |
|scaffold| scaffold is a full set of model, controller and router for one RESTFUL resource | `catuaba g scaffold ...`
|model| generates a new model file in `app/models` directory | `catuaba g model ...`
|controller| generates a new controller package in `app/controller` | `catuaba g controller ...`. if you don't specify the method name, catuaba will create them all by default