Skip to main content

DISCOVER, CONNECT, GROW

Microsoft Reactor

Join Microsoft Reactor and engage with startups and developers live

Ready to get started with AI?  Microsoft Reactor provides events, training, and community resources to help startups, entrepreneurs and developers build their next business on AI technology. Join us!

DISCOVER, CONNECT, GROW

Microsoft Reactor

Join Microsoft Reactor and engage with startups and developers live

Ready to get started with AI?  Microsoft Reactor provides events, training, and community resources to help startups, entrepreneurs and developers build their next business on AI technology. Join us!

Go back

Cultivate a Python Flask webserver and bring it to life with Azure! Ep 1

2 August, 2022 | 6:00 AM - 6:30 AM (UTC) Coordinated Universal Time

  • Format:
  • alt##LivestreamLivestream

Topic: Coding, Languages, and Frameworks (including GitHub & AI coding)

Language: English

This month in the Code Garden, Renee will show you how to grow your very own Python Flask webserver and deploy a website with Azure Apps service.

Week 1: Build a webserver with Python Flask! Create routes and serve HTML templates to make a dynamic web experience. Learn about GET requests, and how to serve up personalised sites.

Week 2: Take the Python Flask site we built last week and deploy it on the internet for all to see, with Azure Apps Service. Then make it your own by adding a custom domain.

Week 3: Web Servers are more than a way to serve up sites, you can use them to built your own APIs too! Learn how to use POST requests and see how you can return more than just HTML to make a useful service for yourself or others.

In this episode we'll go through how to get started with Python Flask to make a simple website. I'll talk about when you need a webserver and why (compared to July's static web page series), and give you the Flask tools you need to create routes, and design HTML templates. You'll also get an understanding of GET requests, and how to process and use information in them when serving back webpages.

Chapter Markers
3:22 - Why we need a web server - Learn when GitHub pages or Azure static apps isn’t' enough to create your dynamic site.
8:49 - Today's project demo - See today's Flask ap we'll make - an Acrostic Poem generator
10:04 - Set up our repo - Get ready with a new git repo on GitHub
14:04 - Build a Flask Server - Fast! - Set up your first route in Flask
19:00 - Templates in Flask - Create a template with variables and If statements
26:03 - Query strings - How information is sent in GET requests
33:45 - Adding more routes and for loops for our poem - Add an acrostic poem page that uses a for loop to generate HTML for a list of adjectives.
45:35 - Next week - Deploy your Flask app, next week!

Additional Resources:
https://aka.ms/pythonintallvscode
https://aka.ms/visualstudiocodequickstart
https://aka.ms/learnmodulesvscode

Your speaker:
Renee Noble
Renee is the Regional Cloud Advocate for the Sydney Reactor and the Australia region. She's passionate about technology, education, community, and bringing them all together in-person and online. A self-proclaimed "Jane of all trades", Renee has worked in sectors across tech, outreach, and education. She's worked in ML and web development in the past, dabbles in embedded tech, and is always keen to learn more! Renee is a passionate woman in tech advocate, spending her spare time leading the Girls' Programming Network to support women and girls in tech. She also runs her own business, ConnectEd Code, working to bring exciting coding opportunities to kids and teachers. Beside teaching and tech she loves swing dancing, cats, and having a ridiculous number of plants.

Speakers

Related Events

The events below may be of interest to you as well. Be sure to visit our Reactor homepage to see all available events.

For questions please contact us at reactor@microsoft.com