forked from mongoosejs/sample-apps
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.env.example
27 lines (24 loc) · 1.06 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
# Flag to specify whether the remote endpoint is Astra or not.
# true - if connecting to an AstraDB
# false - if not connecting to an AstraDB and connecting to a local/remote jsonapi instead
IS_ASTRA=
#Fill the JSON API related details only when IS_ASTRA is set to 'false'
#Local JSON API URL for example: http://127.0.0.1:8181/v1/ecommerce_test where 'ecommerce_test' is the keyspace name
DATA_API_URI=http://127.0.0.1:8181/v1/ecommerce_test
#Auth URL for example: http://127.0.0.1:8081/v1/auth
DATA_API_AUTH_URL=http://127.0.0.1:8081/v1/auth
#Auth username and password
DATA_API_AUTH_USERNAME=cassandra
DATA_API_AUTH_PASSWORD=cassandra
#Fill the ASTRA DB related details only when IS_ASTRA is set to 'true'
#Astra DB API URL
ASTRA_API_ENDPOINT=
#Astra DB namespace
ASTRA_NAMESPACE=
#Astra DB Application Token
ASTRA_APPLICATION_TOKEN=
#Fill in Stripe related details if you want to see Stripe integration.
#Otherwise the sample app will bypass Stripe.
STRIPE_SECRET_KEY=test
STRIPE_SUCCESS_URL=http://127.0.0.1:8888/order-confirmation
STRIPE_CANCEL_URL=http://127.0.0.1:8888/cart