.env.example 618 B

123456789101112131415161718192021222324252627
  1. # Database
  2. DATABASE_URL=postgres://timelapse:timelapse_dev_password@localhost:5432/timelapse_dev
  3. # Redis
  4. REDIS_URL=redis://localhost:6379
  5. # Auth
  6. JWT_SECRET=change-this-to-a-long-random-string-in-production
  7. REFRESH_TOKEN_SECRET=change-this-to-another-long-random-string-in-production
  8. # CORS
  9. CORS_ORIGIN=http://localhost:3000
  10. # Google OAuth (optional)
  11. GOOGLE_CLIENT_ID=
  12. GOOGLE_CLIENT_SECRET=
  13. GOOGLE_CALLBACK_URL=http://localhost:3001/v1/auth/google/callback
  14. # S3 / Object Storage (optional)
  15. AWS_ACCESS_KEY_ID=
  16. AWS_SECRET_ACCESS_KEY=
  17. AWS_REGION=ap-southeast-1
  18. S3_BUCKET=
  19. # API Server
  20. PORT=3001
  21. NODE_ENV=development