Teri Eyenike

No more Node: Build APIs with Flask and test it with Postman

Tired of Node.js boilerplate? See how quickly you can build and test a full CRUD API using Python's Flask framework and Postman.

No more Node: Build APIs with Flask and test it with Postman
#1about 2 minutes

Understanding APIs and the benefits of Python

APIs are explained as the communication layer between clients and servers, with Python highlighted as a popular and readable language for backend development.

#2about 2 minutes

Comparing minimal API code in Flask vs Node.js

A side-by-side code comparison shows how to create a basic API endpoint using Python's Flask versus Node.js with Express.

#3about 1 minute

Introduction to Postman for API development

Postman is introduced as a collaborative platform for building, testing, documenting, and monitoring APIs through a user-friendly interface.

#4about 7 minutes

Building your first CRUD API with Flask

A live demo walks through setting up a Flask application and implementing the GET and POST methods to create and retrieve a list of friends.

#5about 3 minutes

Implementing GET by ID and DELETE endpoints

The demo continues by adding functionality to retrieve a specific friend by their ID and to delete a friend from the list using their ID.

#6about 5 minutes

Fetching data from a real-world cryptocurrency API

Learn how to use the requests library within a Flask app to fetch, handle, and return data from an external public API.

#7about 2 minutes

Generating API request code snippets in Postman

Postman's code generation feature can create ready-to-use request snippets for various programming languages, including Python.

#8about 5 minutes

Documenting and testing your API endpoints in Postman

Use Postman to write Markdown-based documentation for your API collection and create automated tests to validate status codes and responses.

#9about 6 minutes

How technical writing accelerates a developer's career

The speaker shares how becoming a technical writer improved their coding skills by forcing them to break down complex subjects and understand fundamentals deeply.

#10about 3 minutes

Comparing Flask to Node and Postman alternatives

The Q&A covers potential pitfalls of Flask, such as database integration challenges, and discusses Insomnia as a popular alternative to Postman for API testing.

#11about 10 minutes

Career advice on learning and open source contribution

Key advice for new developers includes focusing on one language, documenting your learning journey publicly, and finding "good first issues" on GitHub to start contributing.

Related jobs
Jobs that call for the skills explored in this talk.

job ad

Saby Company
Delebio, Italy

Intermediate

d

Saby Company
Delebio, Italy

Junior

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
WeAreDevelopers LIVE days are changing - get ready to take part
Starting with this week's Web Dev Day edition of WeAreDevelopers LIVE Days, we changed the the way we run these online conferences. The main differences are:Shorter talks (half an hour tops)More interaction in Q&AA tips and tricks "Did you know" sect...
WeAreDevelopers LIVE days are changing - get ready to take part
AL
Anna Leushchenko
Basic And Advanced Networking in Dart and Flutter
Most applications, be it mobile, web, or desktop, depend on some kind of backend. Thus, an API layer is an integral part of application implementation.This six-part series presents tools and approaches that facilitate API layer implementation in Flut...
Basic And Advanced Networking in Dart and Flutter

From learning to earning

Jobs that call for the skills explored in this talk.