README ¶ Portfolio 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 Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis app cmd migrate server domain infra interfaces repositories services Package services is a generated GoMock package. Package services is a generated GoMock package. test usecases Package usecases is a generated GoMock package. Package usecases is a generated GoMock package. Click to show internal directories. Click to hide internal directories.