Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Stripe Billing
# Get your keys from https://dashboard.stripe.com/test/apikeys
DEVKIT_NODE_stripe_secretKey=sk_test_xxx
DEVKIT_NODE_stripe_webhookSecret=whsec_xxx

# Stripe Price IDs — create products at https://dashboard.stripe.com/test/products
DEVKIT_NODE_stripe_prices_starter_monthly=price_xxx
DEVKIT_NODE_stripe_prices_starter_annual=price_xxx
DEVKIT_NODE_stripe_prices_pro_monthly=price_xxx
DEVKIT_NODE_stripe_prices_pro_annual=price_xxx
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ coverage/

# waos Node app and assets
# ======================
# Environment files (secrets)
.env
.env.*
!.env.example
public/dist/
public/swagger.yml
config/env/local.js
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
},
"scripts": {
"start": "node server.js",
"start:billing": "node --env-file-if-exists=.env server.js",
"dev": "node --watch server.js",
"dev:billing": "node --env-file-if-exists=.env --watch server.js",
"debug": "nodemon --inspect server.js",
"prod": "cross-env NODE_ENV=production node server.js --name=node",
"test": "cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --runInBand --testPathPatterns='unit'",
Expand Down
Loading