The official CLI for the Goyave REST API framework.
- Project creation
- Scaffolding and quick prototyping
- Utility: seeders, migrations, routes list and more
Minimum Go version: 1.16
go install goyave.dev/gyv@latest
# Create a new project
gyv create project
# Create a new controller named "hello"
gyv create controller --name "hello"
# Create a new model named "User"
gyv create model --name "user"
# Create a new middleware named "Auth"
gyv create middleware --name "auth"
# Database operations
gyv db migrate
gyv db seed
gyv db clear
# Generate OpenAPI3 specification of your application
gyv openapi
gyv
is MIT Licensed. Copyright (c) 2021 Jérémy LAMBERT (SystemGlitch) and Louis LAURENT (ulphidius)