Bookings and reservations
This is the repository for my bookings and reservations project
- Built in Go ver. 1.21.5
- Uses the chi router
- Uses the Alex Edwards' SCS session management
- Uses nosurf
PostgreSQL in Docker (Sample arm64 image)
docker run -d \
--name some-postgres \
-e POSTGRES_PASSWORD=mysecretpassword \
-e PGDATA=/var/lib/postgresql/data/pgdata \
-v /custom/mount:/var/lib/postgresql/data \
arm64v8/postgres
Soda for database migrations
Unit test and Coverage
for Windows (Powershell)
go test --coverprofile c.out
go tool cover -html c.out
macOS or Linux distros
go test --coverprofile c.out && go tool cover -html c.out