Intro to Databases

June 14, 2025 ยท View on GitHub

Lesson

This week you'll learn all about databases. Databases are super important because they store the data for your application!

For example:

  • For an online store, a database stores the items available, prices, and past orders.
  • For a social media site, a database stores the user profiles, posts, and follows/friendships between users.

Databases let data persist in your application across multiple users and sessions.

Watch this video for an intro to databases.

Look through these slides.

This week is all about understanding and using databases. We'll cover:

  • How to model your data in the database
  • How to set up and use a database
  • How to query data from a database
  • How to connect a database to Node/Express to make an app that can store data

Independent Practice

  1. Write down an example of when you could use a database (other than the examples given in this lesson).
  2. Write down 1-3 things you learned from the video.
  3. Write down 3 questions you have about databases.