In this video we will build a simple restful API using the Python programming language and class based views in Flask. Class based views in Flask help when your project becomes large in size. There is no prior knowledge of Flask required however some basic python knowledge is required. We will build a users API where we will be able to fetch all users, fetch a specific user, create a user, update a user as well as delete a user.
Chapters:
0:00 Intro
0:44 Create class view
1:40 Get method
4:44 Registering view with application
7:37 Put method
11:04 Post method
13:03 Delete method
Code:
https://github.com/demoskp/flask-class-based-views
Personal website:
http://www.petsas.consulting