Skip to content

Instantly share code, notes, and snippets.

View RickCreator87's full-sized avatar

Richard Kindler RickCreator87

View GitHub Profile
alias gs="git status"
alias ga="git add ."
alias gc="git commit -m"
alias gp="git push"

200 OK – Success

201 Created – Resource created

400 Bad Request – Client error

401 Unauthorized – Missing or invalid auth

403 Forbidden – Auth but no access

curl -X POST https://api.example.com/v1/test \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"ping":true}'
Email: ^[\w.-]+@[\w.-]+\.\w+$
UUID: ^[0-9a-fA-F-]{36}$
IPv4: ^(\d{1,3}\.){3}\d{1,3}$

Database connection string

DATABASE_URL=postgres://user:password@localhost:5432/dbname

API key used for external provider auth

EXTERNAL_API_KEY=your_key_here

Environment name (development | staging | production)