Chapter 4: Persistence with SQL

SQL is the language of the ancestors, spoken to call forth truths hidden deep within data.
— Ancient Chinese proverb
So far we've introduced the programming language that will power our project (TypeScript) and some relevant networking theory.

But our users don't really care about the code we write nor the theory we know - they care about their data. After all, the primary purpose of web applications is to ingest and show interesting data to the user.

Of course, it would be really bad if after every page refresh that data would be lost - therefore we need a way to store data persistenly which is where relational databases and the SQL language come into play.

This chapter will introduce these concepts.