• Stars
    star
    1,259
  • Rank 37,354 (Top 0.8 %)
  • Language
    Python
  • Created almost 8 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Projects and e-book for our course, REST APIs with Flask and Python

REST APIs with Flask and Python

REST APIs with Flask and Python (Udemy banner image)


💡 A full course to teach you how to use Flask and Python to make REST APIs using multiple Flask extensions and PostgreSQL.

Getting started

Enrol in the course by going to this link.

Then you can come back here to download the repository. This repository contains the code that we develop in each section of the course.

If you are familiar with Git, you can use Git to download it. Otherwise, you can download it as a zip file:

Download repo as a zip file

Next, start taking the course at the beginning! You can use the downloaded code files to support you while you go through the course.

I also strongly recommend you code while you take the course. A good strategy is:

  1. Watch the video intently, optionally while taking notes.
  2. Watch again, more quickly, while typing the code together with me.
  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.

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!

Section 2: A Full Python Refresher

This section (only available on Udemy) helps programmers who are new to Python get acquainted with the language. It is not a complete-beginner Python course!

Section 3: Your first REST API

The code in this section includes a simple Flask app that accepts and returns JSON data.

Section 4: Docker

Introduction to Docker to run your REST APIs. We talk about images, containers, and how to run applications.

Section 5: Flask-Smorest

We introduce the Flask-Smorest extension, a library that greatly simplifies writing REST APIs using Flask. It also provides things like automated documentation generation.

Section 6: Flask-SQLAlchemy

The code in this section extends the previous section by replacing the data storage in Python lists with SQLAlchemy, an ORM (Object-Relational Mapping which simplifies connecting to and interacting with a database.

Section 7: Many-to-many relationships

In this section we talk about many-to-many relationships using SQLAlchemy.

Section 8: Authentication with Flask-JWT-Extended

Learn how to perform user authentication using JWTs and the Flask-JWT-Extended library. Here we talk about access token JWTs, as well as refresh tokens, JWT claims, blocklists, password hashing, and more.

Section 9: Flask-Migrate

After deploying your apps, making changes to the database can be really tricky because you have to log in to the database server and manually update the database tables using SQL commands.

Flask-Migrate and the Alembic libraries simplify this job by creating migration scripts.

Section 10: Git Crash Course

A quick and intense course on Git and GitHub for code sharing.

Section 11: Deploying to Render.com

Learn how to get your code running in the cloud and make it publicly accessible. In this section we use Render.com for deployments and we also deploy a PostgreSQL database.

More Repositories

1

python-refresher

A Python refresher section for all our courses
Python
552
star
2

complete-python-course

A repository of code from my Complete Python Course on Udemy.
Python
299
star
3

testing-python-apps

Testing Python Apps course repository
Python
136
star
4

web-dev-bootcamp

Complete course and guide of the "Web Developer Bootcamp with Flask and Python"
CSS
94
star
5

web_blog

Simple web-based blog to introduce Flask, HTML, CSS, Bootstrap, and Jinja2.
Python
43
star
6

gui-development-tkinter-course

Our introductory course to Tkinter for GUI development with Python
Python
42
star
7

onewheel-remix-course-lectures

A lecture-by-lecture breakdown of code changes in Kent C. Dodds' Remix course, building the Onewheel blog
TypeScript
31
star
8

advanced-rest-api-lecture-codes

Start and end codes for the lectures of our Advanced REST APIs with Flask and Python course
Python
25
star
9

flask-jwt-extended-section-lectures

Code and changes for each lecture of the Flask-JWT-Extended section
Python
22
star
10

tkinter-snake

Python
19
star
11

price-of-chair-new

Revamped final project for our Complete Python Web course
Python
17
star
12

flask-microblog

Microblog web app built with Flask and Python to help introduce students to web development
CSS
10
star
13

simple-flask-template-app

A simple Flask app that uses render_template, to teach different features of Flask.
HTML
9
star
14

rest-api-smorest-docker

The final project from the REST APIs with Flask and Python course, using Docker and Flask-Smorest.
Python
8
star
15

instagram-scheduler-stream

An Instagram Scheduler app built on stream
Python
5
star
16

price-of-chair-deployment

A repository you can clone to test your Flask app deployment in a Linux server!
Python
4
star
17

rest-apis-project

Python
3
star
18

first-flask-app

Your first Flask application!
Python
3
star
19

interacting-with-apis-javascript

A small repository to accompany our "How to interact with REST APIs from JavaScript" blog post
Python
3
star
20

database-dot-py

A simple interface to your database from our PostgreSQL course.
Python
3
star
21

markdown-link-checker

A command-line utility that, given a markdown file, checks whether all its links work.
Python
2
star
22

teclado-polls

Polling app that links with Discord for stream voters
Python
2
star
23

flashing-messages-post-app

A Flask application to show how to use message flashing
HTML
2
star
24

flask-hyper-toc

A dynamic table of contents component set for Flask, using Hyperscript
HTML
2
star
25

hiit-timer

A Simple HIIT Timer to teach about Flask
HTML
1
star
26

fastapi-course

A repository for our upcoming course on FastAPI
Python
1
star
27

mongodb-faq

Frequently Asked Questions in our courses about working with and setting up MongoDB
JavaScript
1
star
28

flask-htmx-tailwind-alpine-workshop

A workshop on building websites and apps rapidly with Flask, HTMX, TailwindCSS, and AlpineJS
HTML
1
star
29

python-refresher-exercises

Coding exercises for our Python Refresher course (or section within a course)
Python
1
star