Abekus — AI learning and job matching platform logo

REST APIs with Flask

  • 165 lessons
  • About 18 hours
  • Self-paced
0%Complete
Guided Mode

Start with lesson 1

165 lessons. The first one is free, no signup needed.

🗺️ Your learning path
First working API
HTTP essentials
JSON data

What you'll learn

  • Build Flask routes that read URL parameters, query strings and JSON bodies, and return the right status codes, headers and JSON
  • Structure an API with an application factory, blueprints and environment-based configuration, and avoid circular imports as it grows
  • Validate requests and shape responses with Marshmallow schemas, and return consistent error JSON from error handlers
  • Model data with Flask-SQLAlchemy in SQLAlchemy 2.x style, manage migrations with Flask-Migrate, and write CRUD endpoints with offset or keyset pagination, filtering and sorting
  • Secure an API with password hashing, JWT login and token refresh, role and ownership checks and CORS, and design resources, idempotent methods and versioning
  • Add logging, rate limiting and caching headers, test endpoints with pytest, deploy with Gunicorn behind a reverse proxy, and document the API with OpenAPI and Swagger UI

Before you start: this course builds on Python.

About this course

REST APIs with Flask is a Flask REST API course online for students and freshers who know Python and basic HTTP and are new to web backends. Lesson 1 builds a three-route to-do API, with list, create and get-one endpoints that return JSON, then calls it with raw HTTP requests to show each response and status code. Every later lesson adds one piece a real API needs, from validation and a database to authentication, tests and deployment, and checks it with a quiz.

Jobs that ask for REST APIs

372 live openings list REST APIs as a required skill.

See all REST APIs jobs ›

Frequently asked questions