• Post category:StudyBullet-10
  • Reading time:11 mins read


Learn to build enterprise grade RESTF APIS using Flask, Python, Sqlalchemy, Flask-Restful

What you will learn

Create secure and reliable enterprise grade REST APIs

Authentication and authorization using JSON web token (JWT) to prevent Api abuse

Connect web or mobile applications to databases and servers via REST APIs

Api data validation enforcement

Flask migration for database version management

Api hosting on Digital Ocean App platform with free SSL and domain

CRUD operation on MySql

Description

In this course, you will learn the basic and advanced skills required to become an efficient backend Engineer using Flask. Real-world examples and concept explanations that relate directly to your day-to-day tasks as a backend engineer.

REST APIs: How They Work and What You Need to Know

To understand REST, we need to review some key terms first:


Get Instant Notification of New Courses on our Telegram channel.


  • A client is a person or program using the API. The client makes requests to the API in order to retrieve some information or change something within the application. Your web browser is a client — it interacts with APIs. The requested info is sent back to your browser and displayed on your screen.
  • A resource is any piece of information that the API can provide the client. For instance, a resource in Facebook’s API could be a user, a page, a photo, or a post. Each resource has a unique name, called the resource identifier.
  • A server is used by the application that receives client requests and contains resources that the client wants. The server has an API to interact with clients without giving them direct access to content stored in its database.

Now for our definition. REST is a set of guidelines that software can use to communicate over the internet in order to make integrations simple and scalable. A REST API (also called a “RESTful” API) is a specific type of API that follows these guidelines.

You will learn

  • How  Rest API works
  • API development and management for mobile apps i.e  Android, Iso
  • API to power your React and Angular frontend Apps
  • CI/CD  with Digital Ocean Apps platform
  • Constant updates and upgrades to new technologies as relates to Api development with flask
  • Learn how to secure your  API using JWT token
  • Logging  for error detection  and app insights

Together, we will develop a student  management project which will encompass all the great topics covered in the course of the lectures

English
language

Content

Introduction

Introduction

Python Installation and setup

Python Setup on windows and Mac
other Software required

Python Refresher

Introduction to Python
Python Variables
Dictionary Data Type
String and numbers Data Type
List Data Type
Tuple Data Type
if , else, elseif Conditional Statement
Greater than and less than
While Loop
For Loop
Break and continue in Loops
String Formatting

Basic Python Project

Start Python App
Displaying Result
Import data using JSON file

Refresher :Advanced Python concerpts

Functions in Python – Part 1
Functions in Python – Part 2
Python Modules
Built in Python Modules
Error Handling in python
Error Handling in Python – Part 2

OOP – Object Oriented Programming

Introduction to OOP
OOP Practise – Part 1
OOP Practise – Part 2

Python OOP Project

Student Record Project – Part 1
Student Record Project – Part 2
Student Record Project Part 3

Python Virtual Environment

Introduction to Python virtual Environment
Virtual Environment Setup

Flask Micro Framework

Introduction to Flask
basic Flask Setup
Flask Routing
Dynamic routing in Flask
Flask Blueprint
Flask Blueprint Setup

Storage and Database (MySql)

Introduction
Creating MYSQL database and table
CRUD Operation
Create and update record
Find and Delete record
Backup and restore Mysql database – Part 1
Backup and restore Mysql Database – Part 2
Database Security and Optimization Tips

Flask Sqlalchemy

Introduction to Flask Sqlalchemy
SqlAlchemy Mysql operations

Rest API

Introduction to RESTFUL Api
Introduction to Flask Restful
Hello World on Flask Restful
Handling POST request
Introduction to API Validation
Api Data Validation
Api data validation with parameters
Api data validation – custom validation setup

Project – Student Management System

Project Introduction
Setup project Structure
Setup project Flask Blueprint
Setup project virtual environment
Install required packages in environment
Api Views
Database models
Database setup
Database management with Flask Migrate
Database management with Flask Migrate – Part 2
Create Student route
Add new student record
Add new student record – Part 2
Fetch Student Record
Fetch One Student record
Fetch student record with pagination
Update Srudent Record
Delete Student record
Introduction to Admin Section
Admin Creation
Admin Authentication
Admin Authentication – Part 2
Endpoint Protection using JSON Web Token (JWT)
JWT token management adn logout
JWT token management and logout – Part 2

Student Project JWT (JSON Web Token)

Startup JWT
Implement JWT in Student project

Application Logging

Introduction to Logging
Logging in Python
Logging in Flask

Implementing GIT and Github

Introduction and setup of Git and Github
Introduction and setup of Git and Github -Part 2
Introduction and setup of Git and Github – Part 3

Hosting your Api using Digital Ocean App Platform

Introduction to Api Hosting
Setup Digital Ocean App Platform
Setup MySql database on Digital Ocean
Deploy API to Digital Ocean
Debug your application installed on Digital Ocean

Security Considerations

Product ready api security heads up

Final Thoughts

Conclusion