WEBVTT

0
00:00.170 --> 00:00.800
Hey, guys.

1
00:00.800 --> 00:04.160
Welcome to Day 40 of 100 Days of Code.

2
00:04.190 --> 00:11.420
Today is really exciting because we're going to be upgrading the project that we created in the last

3
00:11.420 --> 00:15.080
day to a fully fledged product.

4
00:15.080 --> 00:20.810
We're going to be building a company today, and this is Part 2 of your capstone project.

5
00:21.170 --> 00:26.270
Now the first rule of Flight Club is you do not talk about Flight Club.

6
00:26.450 --> 00:31.640
So in Part 1, we created our Flight Deal Hunter for ourselves,

7
00:31.650 --> 00:34.440
and we only had a user-base of one.

8
00:34.470 --> 00:40.800
Now in this Part 2, we're going to be leveling up the code so that we can start signing up users,

9
00:40.800 --> 00:46.140
and send them an email with a notification of all the best flight deals.

10
00:47.220 --> 00:53.040
A little while ago, I discovered a company called Jack's Flight Club, and it's pretty simple,

11
00:53.040 --> 00:58.110
all you have to do is put in your email and then they'll send you cheap flight deals.

12
00:58.110 --> 01:04.350
So any flight within the next six months, that is a lot cheaper than it normally is,

13
01:04.350 --> 01:06.240
you'll get it through an email.

14
01:06.240 --> 01:12.360
And if you're like me, somebody who doesn't really care where they're going, just as long as they're

15
01:12.360 --> 01:16.110
getting a good deal, then these emails are pretty cool, right?

16
01:16.710 --> 01:23.940
They actually charge for this premium service in order to get an email with all of the latest deals

17
01:23.940 --> 01:26.890
and all of the best flight prices.

18
01:26.920 --> 01:33.100
Now, if you think about it, their service is essentially the same as what we've created using Python

19
01:33.100 --> 01:33.700
code.

20
01:33.730 --> 01:39.550
Maybe they'll have a larger Google spreadsheet with more destinations, but essentially it's pretty

21
01:39.550 --> 01:40.630
much the same.

22
01:40.840 --> 01:46.780
I want you to take a look at their website, jacksflightclub, and see how it works.

23
01:46.780 --> 01:51.100
And you can see that they've actually got a whole bunch of members.

24
01:51.100 --> 01:56.410
But this is essentially what we're going to replicate. By the end of today,

25
01:56.410 --> 02:01.840
we'll have a text-based way of getting our customers or users to join.

26
02:01.840 --> 02:08.260
So maybe you've got some friends and family who might want to use your Flight Club to get the best flight

27
02:08.260 --> 02:15.220
deals, and then they get to enter in their name and email.

28
02:16.390 --> 02:23.330
And after a little bit of validation, we hit Enter and we get added to a spreadsheet.

29
02:23.330 --> 02:29.780
In our spreadsheet, in another sheet called users, we'll see all of the details of our customer being

30
02:29.780 --> 02:36.500
added, and we're going to be using the SMTP module that we learned about a long time ago to email all

31
02:36.500 --> 02:39.590
of our users with the latest deals every day.

32
02:40.190 --> 02:45.290
So head over to the next lesson and get started by downloading the starting files.