noted

module
v0.0.0-...-bc47717 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: MIT

README

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

  • Jesse Okeya

Directories

Path Synopsis
cmd
api command
migrate command
lib
api

Jump to

Keyboard shortcuts

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