How it works...
In this last recipe, we combined a database, auth framework, a session backend, and heist templating together. We created a web application that renders heist templates based on https://purecss.io/CSS. The application stores user data in the SQLite database, test.db, located in the project directory.
When the application starts for the first time, the SQLite database snaplet and its auth backend create configuration files in the directories snaplets/sqlite-simple and snaplets/sqlite-auth, respectively. These directories contain the default configuration files for initializing databases and authorization. One can modify these files or create new ones for differentiating between development and production databases.
During the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access