Scratch space for learning atproto app development
1# Environment Configuration
2NODE_ENV="development" # Options: 'development', 'production'
3PORT="8080" # The port your server will listen on
4HOST="localhost" # Hostname for the server
5PUBLIC_URL="" # Set when deployed publicly, e.g. "https://mysite.com". Informs OAuth client id.
6
7# CORS Settings
8CORS_ORIGIN="http://localhost:*" # Allowed CORS origin, adjust as necessary
9
10# Rate Limiting
11COMMON_RATE_LIMIT_WINDOW_MS="1000" # Window size for rate limiting (ms)
12COMMON_RATE_LIMIT_MAX_REQUESTS="20" # Max number of requests per window per IP
13
14# Secrets
15# Must set this in production. May be generated with `openssl rand -base64 33`
16# COOKIE_SECRET=""