- Notifications
You must be signed in to change notification settings - Fork123
stripe-archive/shop
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project contains the code behind the single-page store atStripeShop. We ported the backend toParse's Code Cloud so you can easily launch andmodify your own copy. (Also, we didn't want to open-source the photoof Kat and Thairu, so we decided to take a replacement.)
Feel free to take whatever pieces you find useful! We ask only thatyou don't use it to sell actual Stripe T-shirts ☺. Improvements arewelcome — just open a pull request.
We have a runninglive demo of theapp. It's running in Stripe'stestmode, so you'll have to use4242-4242-4242-4242
as the card (and we won't actually send you ashirt, sorry!).
To get your own instance of Shop up and running, you'll need to do thefollowing:
- Create anew Parse app.
- Copy
config/global.json
toconfig/local.json
. - Add the Application ID and Master Key to
config/local.json
. - Set up the
parse
command line utility (you may findtheirdocs helpful). - Create a
parseapp.com
subdomain for your app. The same docsshould be helpful. - Run
parse deploy
. You now have a running Shop!
Not required to get the app running, but you'll probaby also want to:
- Create your own Stripe account and puts its keys into
cloud/config.js
. (By default, Shop uses a fixed test account.) - Put your Google analytics tracking information into
public/assets/js/ga.js
.