{DESCRIPTION OF THE API}
{API ROUTES WITH BODY AND RESPONSE EXAMPLES}
{makefile instructions}
{Description of the domain the api controls}
To turn this model into an API you'll have to:
- Edit all the references of:
{apiname}
to the name of your api. - Edit the config files (docker-config.yaml and config.yaml) with the things that your api will need. (optional)
- Change the name of the dir: ./cmd/{apiname} with the name of your api.
- Execute
go mod init github.com/getclasslabs/{apiname}
- Put everything on vendor with:
go mod vendor
- You're ready to go!