A simple todo app with Golang, PostgreSQL & Docker
-
Copy variables from
.env.example
to.env
. -
How to run the program
With Docker compose
docker-compose up
Or with running Postgresql
go run ./cmd
Or run Postgresql with docker compose
Postgre will init the todos table automatically
docker-compose up db
go run ./cmd
For running test run this command while db is up and running
go test -v ./test
This project is MIT licensed.