Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

goyave.dev/gyv

Package Overview
Dependencies
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

goyave.dev/gyv

Go Modules
Version
v0.2.2
Version published
Created
Source

gyv - The official Goyave CLI

Version Build Status Coverage Status

🚧 Work in progress

The official CLI for the Goyave REST API framework.

  • Project creation
  • Scaffolding and quick prototyping
  • Utility: seeders, migrations, routes list and more

Install

Minimum Go version: 1.16

go install goyave.dev/gyv@latest

Usage

# 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

License

gyv is MIT Licensed. Copyright (c) 2021 Jérémy LAMBERT (SystemGlitch) and Louis LAURENT (ulphidius)

FAQs

Package last updated on 27 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts