Storing feedback in a database
In this tutorial, we’ll take a tour of Anvil and build a simple feedback form. We’ll start from a blank page, and build up to a web app with database storage, email functionality and deployed on the web - all in nothing but Python.
The final app will look something like this:
The techniques you’ll learn in this tutorial are fundamental to building any Anvil app, and mastering them will give you a good understanding of how Anvil works.
ChaptersIn this tutorial, you'll:
Build your UI using Anvil’s drag-and-drop editor.
Use Data Tables to store feedback from your users.
Use a Server Module to write to the Data Table.
Write code to update the database when the submit button is clicked.
Make your app send you an email each time someone leaves feedback.
The best way to learn any new technology is to challenge your understanding. Why not challenge yourself to reinforce what you’ve learnt and learn more?
Click the following link to clone the finished app and explore it yourself, or read on as we take a step-by-step guide to building it yourself.
If you prefer a more theoretical approach to learning, you can dive straight into the documentation.