Coder Social home page Coder Social logo

nicolaslair / node-stripe-membership-saas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eddywashere/node-stripe-membership-saas

0.0 2.0 0.0 239 KB

This project is a boilerplate express app for creating a membership/subscription site with Stripe.

Home Page: https://node-stripe-membership-saas.herokuapp.com

License: MIT License

JavaScript 63.70% CSS 4.11% HTML 32.19%

node-stripe-membership-saas's Introduction

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. It also handles stripe webhooks.

Check out the demo!

System Requirements

  • mongodb
  • nodejs

Getting Started

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

  • Stripe API keys and plan info
  • Mailgun for sending forgot/reset password confirmations.
  • session secret
  • google analytics id

Install 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 :]

node-stripe-membership-saas's People

Contributors

eddywashere avatar

Watchers

n:ko avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.