WEBVTT

00:00.080 --> 00:05.540
In the next few lessons, you are going to learn how to create and host a web server on your Raspberry

00:05.540 --> 00:08.270
Pi using the flask framework.

00:08.480 --> 00:11.390
This is the last section before the final project.

00:11.420 --> 00:17.120
After Pir sensor, the terminal sending an email and the Raspberry Pi camera.

00:17.150 --> 00:20.840
Let's see how to develop a simple web application.

00:20.840 --> 00:24.530
So your Raspberry Pi board is in fact a quite powerful computer.

00:24.530 --> 00:30.860
Despite its small size, it can host small web and application servers without any problem.

00:30.860 --> 00:33.350
And note that I will keep things simple here.

00:33.350 --> 00:36.200
This is not a web development course.

00:36.200 --> 00:40.850
This is a course focused on the Raspberry Pi and the applications that you can do with it.

00:40.850 --> 00:46.880
So I will mostly focus on teaching you how to start a web server from your Pi, and how to connect it

00:46.880 --> 00:50.030
to the Pi functionalities that we have seen so far.

00:50.060 --> 00:54.140
I will not dive into the HTML and CSS and JavaScript part.

00:54.170 --> 00:59.540
This is a completely different subject and something that you can learn on your own after this course.

00:59.540 --> 01:02.360
If you want to go further with web development.

01:02.390 --> 01:06.470
Also to write web applications, there are many different tools and frameworks.

01:06.470 --> 01:11.960
We will use flask here because it's very easy to set up and use, and you can go quite far with it,

01:11.990 --> 01:17.810
but the knowledge you get here can easily be replicated with different web frameworks later on.

01:17.810 --> 01:23.900
So in this section you will first see how to write a basic web application with Flask and Python.

01:23.900 --> 01:29.480
And then you will bind this application with the internal features of the Raspberry Pi board.

01:29.510 --> 01:31.070
Let's get started.
