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.
6DB_PATH=":memory:" # The SQLite database path. Leave as ":memory:" to use a temporary in-memory database.
7
8# CORS Settings
9CORS_ORIGIN="http://localhost:*" # Allowed CORS origin, adjust as necessary
10
11# Rate Limiting
12COMMON_RATE_LIMIT_WINDOW_MS="1000" # Window size for rate limiting (ms)
13COMMON_RATE_LIMIT_MAX_REQUESTS="20" # Max number of requests per window per IP
14
15# Secrets
16# Must set this in production. May be generated with `openssl rand -base64 33`
17# COOKIE_SECRET=""