-
Notifications
You must be signed in to change notification settings - Fork 249
Expand file tree
/
Copy path.env.template
More file actions
50 lines (41 loc) · 1.93 KB
/
.env.template
File metadata and controls
50 lines (41 loc) · 1.93 KB
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
46
47
48
49
50
# Your Plaid keys, which can be found in the Plaid Dashboard.
# https://dashboard.plaid.com/developers/keys
# NOTE: To use Production, you must set a use case for Link.
# You can do this in the Dashboard under Link -> Link Customization -> Data Transparency:
# https://dashboard.plaid.com/link/data-transparency-v5
PLAID_CLIENT_ID=
PLAID_SECRET_PRODUCTION=
PLAID_SECRET_SANDBOX=
# The Plaid environment to use ('sandbox' or 'production').
# https://plaid.com/docs/#api-host
PLAID_ENV=sandbox
# Server port
PORT=5001
# Database connection
DB_HOST_NAME=localhost
DB_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=password
# Client environment (Vite requires VITE_ prefix)
VITE_PLAID_ENV=sandbox
VITE_SERVER_PORT=5001
# ngrok is required for webhooks. Configure it with:
# ngrok config add-authtoken <your-authtoken>
# Get your authtoken at https://dashboard.ngrok.com/get-started/your-authtoken
# (Optional) Redirect URI settings section
# Only required for OAuth redirect URI testing (not common on desktop):
# Sandbox Mode:
# Set the PLAID_SANDBOX_REDIRECT_URI below to 'http://localhost:3001/oauth-link'.
# The OAuth redirect flow requires an endpoint on the developer's website
# that the bank website should redirect to. You will also need to configure
# this redirect URI for your client ID through the Plaid developer dashboard
# at https://dashboard.plaid.com/team/api.
# Production environment:
# When running in the Production environment, you must use an https:// url.
# You will need to configure this https:// redirect URI in the Plaid developer dashboard.
# Instructions to create a self-signed certificate for localhost can be found at
# https://github.com/plaid/pattern/blob/master/README.md#testing-oauth.
# If your system is not set up to run localhost with https://, you will be unable to test
# the OAuth in development and should leave the PLAID_PRODUCTION_REDIRECT_URI blank.
PLAID_SANDBOX_REDIRECT_URI=
PLAID_PRODUCTION_REDIRECT_URI=