Chapter 3. Snap – the Code Snippet Sharing Application

In this chapter, we will build our first fully functional, database-backed application. This application, codenamed Snap, will allow users to create an account with a username and password. Users will be allowed to login, logout, add and list the so-called semiprivate snaps of text that can be shared with others.

For this chapter, you should be familiar with at least one of the following relational database systems: PostgreSQL, MySQL, or SQLite. Additionally, some knowledge of the SQLAlchemy Python library, which acts as an abstraction layer and object-relational mapper for these (and several other) databases, will be an asset. If you are not well versed in the usage of SQLAlchemy, fear not. ...

Get Flask Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.