

It is a very lightweight framework that is easy to learn and use. The code will be based on Flask and Flask-SQLAlchemy extension.įlask is a microframework for building web apps using Python. There is part two of the tutorial where we complete building the app by adding the frontend code using Jinja2 and Bootstrap check it here.īuilding a bookshop app is helpful for learning because it's a real example, not a toy project. We will define services to handle the CRUD operations GET, POST, PUT, and DELETE requests for the RESTful bookshop API. In this tutorial, you will learn how to build a CRUD application in Flask, and the result will be a working backend for a bookshop web application. It is a prevalent task in web development and very useful for learning how to build web apps.

A CRUD app is a web app that allows you to create, read, update and delete things.
