-
This is an application where users can access code snippets on a variety of topics
-
We worked directly with Stripe developers to let users subscribe to our service for premium code snippets
-
Made for Code Chrysalis API Week Hackathon!
-
Check out the app here.
- Front End
- React
- React Router
- Material UI
- Back End
- Node/Express
- Stripe API
- JSON Web Token
- Knex
- PostgreSQL
- Deployment
- Heroku
- First clone the repository to your local machine
git clone https://github.com/sethwright/glowing-stripe.git
- Install all dependencies
npm install && cd client && npm install
- Make sure you have Postgres installed, in a .env file specify your
- DB_USER
- DB_PW
- DB_NAME
- JWT_SECRET (for authentication)
npm start
- to run in development mode
npm run dev
- This app requires developer keys from Stripe API to utilize the payment features of the app, please refer to the official Stripe documentation for more info. Once you have your keys, they can be placed in your .env file as:
- PUBLISHABLE_KEY
- SECRET_KEY
- and any stripe products you wish to use