-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
45 lines (34 loc) · 1.47 KB
/
.env.example
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
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/bricks?schema=public"
ACCESS_TOKEN_EXPIRATION_TIME="1h"
REFRESH_TOKEN_EXPIRATION_TIME="7d"
ACCESS_TOKEN_JWT_KEY="mysecret"
REFRESH_TOKEN_JWT_KEY="mysecret"
REDIS_HOST="localhost"
REDIS_PORT="6379"
REDIS_PASSWORD=
REDIS_USERNAME=
SENDGRID_API_KEY=
SENDGRID_SENDER=
S3_ACCESS_KEY=
S3_SECRET_ACCESS_KEY=
S3_REGION=
S3_BUCKET_NAME=
#Google
GOOGLE_OAUTH_CLIENT_ID=
GOOGLE_OAUTH_CLIENT_SECRET=
GOOGLE_OAUTH_CALLBACK_URL=http://localhost:9000/api/v1/auth/google/callback
# GitHub OAuth implementation
# https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps
# -----------------------------------------------------
GITHUB_OAUTH_CLIENT_ID=
# The client secret you received from GitHub for your OAuth App
GITHUB_OAUTH_CLIENT_SECRET=
# The URL in your application where users are sent after authorization
GITHUB_OAUTH_CALLBACK_URL=http://localhost:9000/api/v1/auth/github/callback
# FE URL
CLIENT_DOMAIN=http://localhost:3000
CLIENT_AUTH_REDIRECT_URL=http://localhost:3000/auth/profile