URL Shortener written in Go
Find a file
2024-01-29 21:31:06 +01:00
internal feat: generate OpenAPI server 2024-01-29 21:31:06 +01:00
sql feat: create initial database schema 2024-01-29 21:31:06 +01:00
.envrc chore(dev): add flake and .envrc 2024-01-29 18:35:40 +01:00
.gitignore chore(dev): add flake and .envrc 2024-01-29 18:35:40 +01:00
atlas.hcl feat: create initial database schema 2024-01-29 21:31:06 +01:00
docker-compose.yaml chore(dev): setup sqlc and atlas 2024-01-29 18:46:59 +01:00
flake.lock chore(dev): add flake and .envrc 2024-01-29 18:35:40 +01:00
flake.nix chore(dev): setup sqlc and atlas 2024-01-29 18:46:59 +01:00
gen.go feat: generate OpenAPI server 2024-01-29 21:31:06 +01:00
go.mod feat: create initial database schema 2024-01-29 21:31:06 +01:00
go.sum feat: create initial database schema 2024-01-29 21:31:06 +01:00
justfile feat: create initial database schema 2024-01-29 21:31:06 +01:00
main.go chore: setup go project 2024-01-29 18:52:31 +01:00
openapi.yaml feat: generate OpenAPI server 2024-01-29 21:31:06 +01:00
README.md chore: create openapi document 2024-01-29 19:19:50 +01:00
sqlc.yaml chore(dev): setup sqlc and atlas 2024-01-29 18:46:59 +01:00

short

URL Shortener written in Go.

Requirements

Note

If you are using Nix, you can just run nix develop . or direnv allow if you use Direnv.

Dev dependencies

  • ogen to generate OpenAPI server

Running the app

Once you have installed all requirements, you can simply do:

docker compose up -d
just migrate # or atlas migrate apply --env local
go run .