Module 3 Introduction

This is an introduction to the work we'll be doing in Module 3.0.

This lesson preview is part of the TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two course and can be unlocked immediately with a single-time purchase. Already have access to this course? Log in here.

This video is available to students only
Unlock This Course

Get unlimited access to TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two with a single-time purchase.

Thumbnail for the \newline course TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two
  • [00:00 - 00:16] In part one of the course, we introduced MongoDB as a non-relational database, and how it doesn't have any defined schema associated with it. However, with the help of TypeScript, we are able to type the file, the shape of the data, we insert, and receive from our MongoDB.

    [00:17 - 01:03] That's right. In this module, we'll focus on describing the shape of documents we want to store in the different collections of our database. And for part two of the course, we're going to have three collections in total, a user's collection where we store user information, the listings collection where we store listing information, and the bookings collection where we store bookings information. In this module, we'll work primarily on the server project, and we'll declare the three collections we intend to create. With TypeScript, we'll describe the shape of documents we want to store for each of these collections. And finally, we'll see the collections in our database with mock data that we've prepared and will provide to you.