Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dayvsonlima/catuaba
- Owner: dayvsonlima
- License: mit
- Created: 2019-12-08T03:26:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-13T22:29:49.000Z (11 months ago)
- Last Synced: 2024-06-19T05:36:27.998Z (8 months ago)
- Topics: api-rest, framework, go, golang, golang-package, mvc
- Language: Go
- Homepage:
- Size: 1.18 MB
- Stars: 18
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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