1.0.0 • Published 9 years ago

node-stripe-membership-saas v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Node Stripe Membership SaaS

This project is a boilerplate express app for creating a membership/subscription site with Stripe, Mailgun, mongodb and swig. Inspired by sahat/hackathon-starter and RailsApps/rails-stripe-membership-saas.

Checkout the demo!

System Requirements

  • mongodb
  • nodejs

Getting Started

First update /server/config/secrets.js with the following credentials:

Install dependencies with npm install.

Start the server with node server.

Heroku Deployment

heroku create your-awesome-saas-product
heroku addons:add mongohq
heroku config:set SESSION_SECRET='your_secret';
heroku config:set STRIPE_KEY='sk_test_example'
heroku config:set STRIPE_PUB_KEY='pk_test_example'
heroku config:set MAILGUN_USER='example.org'
heroku config:set MAILGUN_PASSWORD='key-secret'
heroku config:set GOOGLE_ANALYTICS='UA-XXXXXX-1'

Want add a heroku deploy button? Pull requests welcome :]