Pet project for Sep/Oct 2021 holiday! Simple store that sells premium donuts, and offers exclusive products to users who have subscribed for a membership. This project is still a work in progress!
Learning Objectives:
- Integrate React & NodeJS application with Stripe
- Learn how to use Stripe to receive Card Payment
- Learn how to use Stripe Subscription and Invoicing apis
- Learn how to save card during checkout for future payments
- Typescript with React
- Sequelize
- Skeleton Loading
- Set up an account on Stripe
- Your Stripe account will contain your test secret and public API keys which will be pasted in backend
.env
file later - Monitor and test stripe transactions using the dashboard
- More info can be found in Overview docs & API docs
- Create a new
.env
file and paste this inside:
REACT_APP_BASEURL=http://localhost:8000/api/v1
REACT_APP_BASEURL_STRIPE_PK_TEST=
- Run the SQL init file
- Create a new
.env
file and paste this inside:
PORT=
DB_HOST=localhost
DB_NAME=stripe_donut_store
DB_PORT=
DB_USER=root
DB_PASSWORD=
JWT_SECRET=
STRIPE_TEST_SK=