-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.sample
32 lines (23 loc) · 1016 Bytes
/
.env.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
NODE_ENV='dev'
PORT='3000'
DATABASE_URL="mysql://johndoe:randompassword@localhost:5432/mydb?schema=public"
JWT_ACCESS_TOKEN_SECRET='abc123'
JWT_REFRESH_TOKEN_SECRET='xyz456'
# Rate limiting
THROTTLER_TTL_SECS='60'
THROTTLER_REQ_LIMIT='10'
# Bcrypt
BCRYPT_SALT_OR_ROUNDS='10'
# Google
GOOGLE_CLIENT_ID='google-client-id'
GOOGLE_CLIENT_SECRET='google-client-secret'
GOOGLE_CALLBACK_URL='http://localhost:3000/auth/google/callback'
# AWS S3
AWS_S3_ACCESS_KEY_ID='access-key-id'
AWS_S3_SECRET_ACCESS_KEY='secret-access-key'
AWS_S3_BUCKET='bucket-name'
AWS_S3_REGION='us-west-1'