forked from stripe/stripe-connect-custom-rocketdeliveries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.default.js
37 lines (29 loc) · 1018 Bytes
/
config.default.js
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
'use strict';
module.exports = {
// App name
appName: 'Rocket Deliveries',
// Public domain of Rocket Deliveries
publicDomain: 'http://localhost:3000',
// Whether to register webhook events. For a local development environment,
// you can also forward webhook events with the Stripe CLI:
// stripe listen -f localhost:3000/pilots/stripe/webhooks
registerWebhooks: true,
// Server port
port: 3000,
// Secret for cookie sessions
secret: 'YOUR_SECRET',
// Configuration for Stripe
// API Keys: https://dashboard.stripe.com/account/apikeys
// Connect Settings: https://dashboard.stripe.com/account/applications/settings
stripe: {
secretKey: 'YOUR_STRIPE_SECRET_KEY',
publishableKey: 'YOUR_STRIPE_PUBLISHABLE_KEY',
clientId: 'YOUR_STRIPE_CLIENT_ID',
},
// Configuration for MongoDB
mongoUri: 'mongodb://localhost/rocketdeliveries',
// Configuration for Google Cloud (only useful if you want to deploy to GCP)
gcloud: {
projectId: 'YOUR_PROJECT_ID'
}
};