You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains code that is created in my course, REST APIs with Flask and Python.
3
+
<palign="center">
4
+
<imgsrc="assets/course-image.png"alt="REST APIs with Flask and Python (Udemy banner image)"></a>
5
+
</p>
4
6
5
-
You can take the course here: [https://go.tecla.do/rest-apis-sale](https://go.tecla.do/rest-apis-sale)
7
+
<divalign="center">
6
8
7
-
The code is divided in folders, one for each section of the course which contains code.
9
+
[](https://go.tecla.do/rest-apis-sale)[](https://discord.gg/78Nvd3p)[](https://twitter.com/jslvtr)
8
10
9
-
## Section 2
11
+
</div>
12
+
13
+
---
14
+
15
+
<palign = "center">💡 A full course to teach you how to use Flask and Python to make REST APIs using multiple Flask extensions and PostgreSQL.</p>
16
+
17
+
## Getting started
18
+
19
+
Enrol in the course by going to [this link](https://go.tecla.do/rest-apis-sale).
20
+
21
+
Then you can come back here to download the repository. This repository contains the code that we develop in each section of the course.
22
+
23
+
If you are familiar with Git, you can use Git to download it. Otherwise, you can download it as a zip file:
24
+
25
+

26
+
27
+
Next, start taking the course at the beginning! You can use the downloaded code files to support you while you go through the course.
28
+
29
+
I also **strongly recommend** you code while you take the course. A good strategy is:
30
+
31
+
1. Watch the video intently, optionally while taking notes.
32
+
2. Watch again, more quickly, while typing the code together with me.
33
+
3. Once you're done with the video, play about with the code. Make changes, break things, then fix them, and try to thoroughly understand everything the code does.
34
+
35
+
If you do this for the entire course, I guarantee you will learn how to make REST APIs using Flask and Python well and quickly. You'll still be using Google and searching for stuff every day, but so does everyone else!
36
+
37
+
## Section 2: A Full Python Refresher
10
38
11
39
The code is in files numbered between 1 and 11, covering concepts ranging from beginner to advanced.
12
40
@@ -22,18 +50,40 @@ The code is in files numbered between 1 and 11, covering concepts ranging from b
22
50
10. Passing functions as arguments
23
51
11. Decorators
24
52
25
-
## Section 3
53
+
## Section 3: Your first REST API
26
54
27
55
The code in this section includes a simple Flask app and a HTML and JavaScript file which calls the Flask app endpoints.
28
56
29
-
## Section 4
57
+
## Section 4: Flask-RESTful
30
58
31
59
The code in this section includes a Flask app which is an API that represents items. It also includes user registration and authentication.
32
60
33
-
## Section 5
61
+
We also introduce Flask-RESTful, which is a Flask extension that helps us develop APIs more easily.
62
+
63
+
## Section 5: Working with SQL
34
64
35
65
The code in this section extends the last section by adding persistent storage of Items to a SQLite database.
36
66
37
-
## Section 6
67
+
## Section 6: Flask-SQLAlchemy
38
68
39
69
The code in this section extends the previous section by replacing the manual integration with SQLite, with SQLAlchemy—an ORM (Object-Relational Mapping)—which allows us to easily replace SQLite with something like PostgreSQL or MySQL.
70
+
71
+
## Section 7: Git for version control
72
+
73
+
In this section we introduce Git, a tool for code sharing and collaboration. In this course we'll use it to store the application code and then send it to our deployment tools, Heroku and DigitalOcean.
74
+
75
+
## Section 8: Deploying Flask Apps to Heroku
76
+
77
+
Learn how to use GitHub and Heroku to deploy your Flask applications and make them available publicly to your users.
78
+
79
+
## Section 9: Deploying Flask Apps to our own servers
80
+
81
+
Learn how to rent a server using DigitalOcean and run our Flask app in it. This is an alternative to Heroku. It's much cheaper, but requires a lot more work to get it set up.
82
+
83
+
## Section 10: Security in your REST APIs
84
+
85
+
In this section we learn about https and how to enable it in your own server running with DigitalOcean.
86
+
87
+
## Section 11: Token Refreshing and Flask-JWT-Extended
88
+
89
+
Learn about token freshness and how to implement refresh tokens using Flask-JWT-Extended.
0 commit comments