Skip to content
An example todo application with Go!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/todo
internal
vendor
.gitignore
LICENSE
README.md

README.md

Todo

A clean todo web backend written in Go.

Setup

Dependencies

Migrations

migrate -path ./internal/store/migrations -database "postgres://user:pass@addr?sslmode=disable&dbname=dbname" up

Build

cd cmd/todo
go build

Configure

export TODO_POSTGRES_DSN="sslmode=disable user=user dbname=dbname"
export TODO_ADDR=":8080"

Run

./todo
You can’t perform that action at this time.