Python Flask Starter

In this edition of Stripe Developer Office Hours, follow along as CJ Avilla walks through the fundamentals of Python and Flask.

## Resources
– Flask web framework https://flask.palletsprojects.com/en/1.1.x/
– curl command line tool https://curl.haxx.se/
– python-dotenv https://pypi.org/project/python-dotenv/
– Stripe Webhooks Guide https://stripe.com/docs/webhooks/build
– Stripe Event Types https://stripe.com/docs/api/events/types

## Table of contents

2:17 Install starter with Stripe CLI
3:10 Setup directory structure
3:24 Basic HTML
5:05 Install dependencies with pip
6:09 Start a basic server.py
8:42 Add GET routes to the server
14:04 Make GET request from client
18:04 Add POST route to the server
22:20 Make POST request from client
27:27 Add basic webhook handler

## Presenter
CJ Avilla, Developer Support Engineer @ Stripe – https://twitter.com/cjav_dev

If you have a question, please feel free to reach out to our support team at https://support.stripe.com/ or join us on Freenode IRC in #stripe.

What would you like to see in future episodes? https://docs.google.com/forms/d/e/1FAIpQLScx_BtXcakIJ_EFso-4-fnCrTVFXxsh-5BPM-SdhNG6W7kzbw/viewform?usp=sf_link


Leave a Reply

Your email address will not be published. Required fields are marked *