8000 GitHub - sanservices/microgen
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sanservices/microgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservice generator using cookiecutter-golang

Installation

First, get Cookiecutter.

$ pip install cookiecutter

Alternatively, you can install cookiecutter with homebrew:

$ brew install cookiecutter

Requirements

Before even beginning to use the template you must install the following tools:

Protobuffers

  • protobuf
       brew install protobuf
    
  • buf protobuf manager
       brew install buf
    

Swagger generation

Install the following to generate swagger.

   go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest

Run

Finally, to run it based on this template, type:

$ cookiecutter https://github.com/sanservices/microgen --checkout v3.4.0 --directory="microgrpcgen"

or if you cloned the repository

$ cookiecutter microgen --directory="nanogen | microgen"

You will be asked about your basic info (name, project name, app name, etc.). This info will be used to customize your new project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

0