README ¶ GoDoIt Simple todo list app made with Go used as a learning project. Requirements Go 1.21 or higher If you want to use the database driver, you need to have a PostgreSQL server running or have Docker installed. Installation Clone the repository. Run go mod vendor to download the dependencies. Run go build to build the program. Copy the .env.example file to .env and fill in the values. If using the postgres database driver: If you don't have a running PostgreSQL server, you can run the docker-compose.yaml file with docker compose up -d to get one, quickly. Run migrations inside ./scripts/migrations with a migration tool of your choice (recommended: https://github.com/golang-migrate/migrate). Run the program with ./cmd/godoit. Upgrading Pull the latest changes. Run go mod vendor to download the dependencies. Run go build to build the program. Ensure that the .env file is up-to-date. If using the postgres database driver: Run latest migrations inside scripts/migrations with a migration tool of your choice (recommended: https://github.com/golang-migrate/migrate). Run the program with ./cmd/godoit. Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis cmd godoit internal authentication/middleware health-check tasks tasks/repositories Click to show internal directories. Click to hide internal directories.