Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eddywashere/node-stripe-membership-saas
This project is a boilerplate express app for creating a membership/subscription site with Stripe.
https://github.com/eddywashere/node-stripe-membership-saas
Last synced: 6 days ago
JSON representation
This project is a boilerplate express app for creating a membership/subscription site with Stripe.
- Host: GitHub
- URL: https://github.com/eddywashere/node-stripe-membership-saas
- Owner: eddywashere
- License: mit
- Created: 2014-10-24T05:59:58.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-09-20T12:48:33.000Z (about 6 years ago)
- Last Synced: 2024-10-14T10:23:03.106Z (24 days ago)
- Language: JavaScript
- Homepage: https://node-stripe-membership-saas.herokuapp.com
- Size: 88.9 KB
- Stars: 688
- Watchers: 23
- Forks: 157
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - eddywashere/node-stripe-membership-saas - This project is a boilerplate express app for creating a membership/subscription site with Stripe. (others)
README
# Node Stripe Membership SaaS
This project is a boilerplate express app for creating a membership/subscription site with [Stripe](https://stripe.com), [Mailgun](https://mailgun.com/signup), mongodb and swig. Inspired by [sahat/hackathon-starter](https://github.com/sahat/hackathon-starter) and [RailsApps/rails-stripe-membership-saas](https://github.com/RailsApps/rails-stripe-membership-saas). It also handles stripe webhooks.
Check out the [demo](https://node-stripe-membership-saas.herokuapp.com/dashboard)!
### System Requirements
- mongodb
- nodejs### Getting Started
First update `/server/config/secrets.js` with the following credentials:
- Stripe [API keys](https://dashboard.stripe.com/account/apikeys) and [plan info](https://dashboard.stripe.com/test/plans)
- [Mailgun](https://mailgun.com/signup) for sending forgot/reset password confirmations.
- session secret
- google analytics idInstall dependencies with `npm install`.
Start the server with `node server`.
Note: Stripe webhooks can be recieved at `https://your-url.com/stripe/events`.
### 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 :]