Module 3 Introduction

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

Project Source Code

Get the project source code below, and follow along with the lesson material.

Download Project Source Code

To set up the project on your local machine, please follow the directions provided in the README.md file. If you run into any issues with running the project source code, then feel free to reach out to the author in the course's Discord channel.

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.