forked from stargate/stargate-mongoose-sample-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
29 lines (26 loc) · 1.08 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
# 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
JSON_API_URL=http://127.0.0.1:8181/v1/ecommerce_test
#Auth URL for example: http://127.0.0.1:8081/v1/auth
JSON_API_AUTH_URL=http://127.0.0.1:8081/v1/auth
#Auth username and password
JSON_API_AUTH_USERNAME=cassandra
JSON_API_AUTH_PASSWORD=cassandra
#Fill the ASTRA DB related details only when IS_ASTRA is set to 'true'
#Astra DB Id
ASTRA_DBID=
#Astra DB Region
ASTRA_REGION=
#Astra DB Keyspace
ASTRA_KEYSPACE=
#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