Giter Site home page Giter Site logo

sachgits / stripe-membership-saas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daton89/stripe-membership-saas

0.0 2.0 0.0 161 KB

ExpressJS boilerplate for Stripe membership and subscription application with Mailgun Mongodb and React. Inspired by hackaton-starter

License: MIT License

JavaScript 67.67% CSS 3.76% HTML 28.57%

stripe-membership-saas's Introduction

Stripe Membership SaaS

This is a boilerplate for a membership/subscription application with Stripe, Mailgun, ExpressJS MongoDB and React. Inspired by sahat/hackathon-starter and RailsApps/rails-stripe-membership-saas. It also handles stripe webhooks.

Check out the demo!

System Requirements

  • MongoDB
  • NodeJS
  • Docker (for production and tests with Jenkins)
  • Yarn (optional)

Getting Started

First add variables in /server/config/environments 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 yarn install or npm install.

Start the server with npm start.

Note: Stripe webhooks can be recieved at https://your-domain.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'

stripe-membership-saas's People

Contributors

daton89 avatar

Watchers

 avatar  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.