This is just a starter repo for stripe backend integration. Check out the video for the code Youtube
You need to create a private key from firebase. Goto project settings --> service accounts --> click on Generate new private key.
Place the downloaded file under src/files/ folder with name service_key.json
For compiling ts to js use.
tsc -wFor staring the node sever.
nodemon ./app/server.jsFor local testing run the following command. This will forward the stripe events to your localhost node sever. (Only required for local testing)
stripe listen --forward-to localhost:4242/webhookUse the uploader.js to quickly populate the products for the e-commerce app. You need to have the service_key.json file.
node uploader.js