What is Flask? | ||
Flask is a micro-framework in Python. It makes it easier to start a server, and when it is combined with other modules it can build sophisticated and complex applications. | ||
It is considered a micro-framework because it does not need any particular tool or libraries in order to work properly. | ||
Flask is a great tool to work with for back-end applications, and it is widely used for big companies, such as Netflix, Airbnb, Reddit, and others. | ||
What is a CRUD Application? | ||
CRUD Applications are the applications that are able to: | ||
| ||
| ||
These 4 'simple' actions are vital to modern web development, once almost (if not all) big applications like social networks and streaming services are all using them and could not exist without them! | ||
Key Definitions | ||
| ||
| ||
| ||
| ||
GET vs POST | ||
GET is usually faster. | ||
| ||
| ||
Example | ||
Check out on GitHub an example of CRUD application that can create snacks (Create), show all of the snacks in the list (Read), change some details about the snack (Update), and delete them (Delete). | ||
Link: https://github.com/marcelofeitoza/SnackCRUD | ||
| ||
| ||
| ||
| ||
Thanks for reading! |