node package manager

node-stripe-charge

Node + Stripe + Express

Build Status

Coverage Status

npm version

This is a template for you to use in your own project for processing one-time Stripe charges. Follow the directions below to get started quickly. You will obviously want to customize this template to meet your needs.

Quick Start

  1. Download - git clone git@github.com:mjhea0/node-stripe-charge.git
  2. Install the dependencies - cd node-stripe-charge && npm install
  3. Add Stripe Keys as env variables (see _config.js)
  4. Run mongod in a seperate terminal window
  5. Run the app: npm start or gulp

The database is seeded with an admin user - username: ad@min.com / password: admin

Tests

  1. Run - gulp test and/or istanbul cover _mocha -- -R spec

Todo

  1. Refactor passport
  2. Update user profile page.
  3. Update admin page. Add charts, graphs, sortable table(s), etc.
  4. Add more tests.
  5. Handle erros better.
  6. Add more products. Add ability for admins to add products.
  7. Add transaction emails via mailgun.
  8. Use Bower for managing dependencies.
  9. Fix message flashing.

Changelog

  1. 04/23/2015 - major refactor
  2. 03/11/2015 - updated to Express 4.x

Screenshots

Main Page

main

Charge Page

charge

Successful Charge

success

Admin Page

admin