Flask Api Tutorial

screenshot of Flask Api Tutorial

Flask Api Tutorial

Boilerplate for a Flask REST API with JWT-based authentication, built with SQLAlchemy, Flask-RESTx, PyJWT, and pytest. This is a companion repo for a multi-part tutorial series on my personal website.

Overview

The Flask API tutorial is a project that provides a comprehensive guide on creating a Flask API with JWT-based authentication. The tutorial aims to provide a robust and secure REST API that can be used in real-world production applications. The tutorial emphasizes the importance of automated test coverage and explains how to configure pytest plugins for code style enforcement, linting, and test coverage calculation. The tutorial also covers deploying the application as part of a CI/CD system using GitHub Actions and Azure Pipelines.

Features

  • Secure authentication using JSON Web Tokens (JWT)
  • Built on Flask, SQLAlchemy, Swagger UI, and pytest
  • Automated test coverage using pytest plugins
  • Deployment as part of a CI/CD system with GitHub Actions and Azure Pipelines