tadoku-contest-api

module
v0.0.0-...-bca8299 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2021 License: MIT

README

Tadoku Contest API

Getting started

1. Setup environment
  • Install direnv
  • Copy over the default environment: $ cp .env{.sample,}
  • Go over the file and make sure the environment variables are correct for your env (eg. database url)
  • Make sure to generate a JWT Secret (instructions are inside .env)
  • Allow direnv $ direnv allow

Commands

Build project
$ make all
Run project without tests
$ make run
Lint project
$ make lint
Run tests
$ make test

Directories

Path Synopsis
cmd
interfaces
rdb
services
Package services is a generated GoMock package.
Package services is a generated GoMock package.
Package usecases is a generated GoMock package.
Package usecases is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL