Skip to content

This repo can be used as a starter kit to create a REST API.

Notifications You must be signed in to change notification settings

krarjun90/sample-go-api

Repository files navigation

sample-go-api

This repo acts as a starter kit to create a REST api to perform basic operations like add, get and delete.

Setup

Before running make, make sure you install postgres, create a database and update the details in application.yml

make

Start service

make start

Test

Mocks are generated using mockery. Generated files are not checked in.

make test