Files
chirpy/run.sh
T
Stevan Freeborn cf79c8a626 refactor: extract API handlers into internal packages
Move HTTP handler logic out of main into internal api and server packages,
slimming main to a thin entrypoint. Bundles bug fixes: login nil-panic,
empty-password validation, chirp sort ordering, duplicate-email 409, and
restricting the file server to the assets directory.
2026-08-15 22:07:00 -05:00

8 lines
101 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
go build -o ./bin/chirpy .
./bin/chirpy