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.

Featured Partners

From learning to earning

Jobs that call for the skills explored in this talk.

Angular Developer

Angular Developer

Picnic Technologies B.V.
Amsterdam, Netherlands

Intermediate
Senior
RxJS
Angular
TypeScript