curl -i -X POST -d 'email=[email protected]&name=Tom'
http://127.0.0.1:8000/subscriptions
docker build --tag zero2prod --file Dockerfile . docker run -p 8000:8000 zero2prod
curl -v http://127.0.0.1:8000/health_check curl -v http://127.0.0.1:8000/health_check
curl POST
--data 'name=lee%20guin&email=ursula_lee_guin%40gmail.com'
127.0.0.1:8000/subscriptions --verbose
https://cloud.digitalocean.com/registrations/new
https://docs.digitalocean.com/reference/doctl/how-to/install/
doctl auth init
https://docs.digitalocean.com/support/how-to-troubleshoot-apps-in-app-platform/
doctl apps create --spec spec.yaml
doctl apps list DO dashboard: https://cloud.digitalocean.com/login
doctl apps list
doctl apps update [YOUR-APP-ID] --spec=spec.yaml
DATABASE_URL=YOUR-DO-DB-CONNECTION-STRING sqlx migrate run
curl POST
--data 'name=le%20guin&email=ursula_le_guin%40gmail.com'
[public URI]/subscriptions --verbose
doctl apps delete [YOUR-APP-ID]