REST APIs Build your first REST API with FastAPI Get started with FastAPI by building a time-tracking API, including database connectivity, Pydantic models, GET and POST requests, and more!
REST APIs How to deploy Flask and MongoDB to Render In this post we show you how to deploy your Flask and MongoDB app for free to Render.com and MongoDB Atlas.
Flask Query string arguments in REST APIs with Flask Query string arguments allow clients to send us extra data in the URL. Learn how to access query string arguments in a plain Flask route and in a Flask-Smorest API.
REST APIs New Free Course: FastAPI for Beginners We've finally published our latest course: FastAPI for Beginners. It's a free course to help you get started with FastAPI.
REST APIs Create JWTs using Python for Flask or FastAPI Learn how to create JWTs for authentication using either Flask or pure Python (for use in FastAPI and other frameworks).
Learn Python Programming How to run tasks periodically in Render.com Have you ever had to run some code every hour, or every day, or every week? In this article I'll show you how to set it up, to run in the cloud, very easily!
REST APIs Exploring Python Task Queues: Celery and rq An overview of how task queues work and how to set up an rq task queue and background worker using Redis. With examples.
REST APIs How to deploy your first REST API with Flask for free Deploying a Flask app makes it available to everyone on the internet, so it's what you need to do to share your projects. In this post we'll show you how to do it using two different providers.
REST APIs Build your first REST API with Flask and PostgreSQL Learn to build a REST API to collect, aggregate, and serve temperature data using Flask and PostgreSQL!
REST APIs How to Add API Key Authentication to a Flask app Learn how to add API key authentication to your Flask apps using Flask-RESTful and SQLAlchemy.
Learn Python Programming Marshmallow serialization with MongoDB and Python In this blog post we'll learn how to use the marshmallow library to serialize and deserialize data coming from both users and MongoDB!
REST APIs How to set up a server using AWS Amazon Web Services is one of the most popular choices for cloud computing nowadays. It can be quite confusing though! In this blog post we'll learn how to provision a server that we can access using SSH.
Web Development How to interact with REST APIs from JavaScript Learn how to use JavaScript to interact with your REST APIs, using XMLHttpRequest and also fetch.
Flask Simple JWT Authentication with Flask-JWT Adding authentication in Flask applications can be really straightforward. Learn more about token-based authentication with Flask-JWT in this post.
Web Development What is CORS and how to "fix" it CORS is a security feature of browsers, but is configured in the server side. It is used to control requests coming in from different domains. Learn more in this post!
Flask Token Authentication and Refreshing using Flask-JWT-Extended JWTs are great for processing authentication in a REST API. How can you stop requiring users provide their username and password every time the token expires? Learn about token-based authentication and token refresh!