Go Template
Go-chi, UpperDB Rest Api Template
Prerequisites
Make sure you have golang installed on your system. Golang Instalation instruction
Installing Dependencies
To run this project you will need to install the third party dependencies.
Lists dependencies
go list -m all
Install dependencies with
go mod download
Runing Application Locally
To run this application use the command below
make run
Or
go run cmd/api/*.go
Runing In Docker
To run this application using docker use the following command(s) below
docker-compose up -d
Running Binary File
To run this application use the command below
sudo make build
And
./bin/api
Running the tests
To run the automated tests for this system
go test ./...
Built With
- Chi - The web framework used
- Upper DB - Data access layer for Go
- Air - Live reload for Go apps
- Goose - Database migrations
Authors