Explore all newline lessons
lesson
How to Build GET and POST Routes With Express RouterTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQLIn this lesson, we'll use the routing capabilities Express gives us to create GET and POST routes that interact with the mock data array we've established.
lesson
Build a Mock Array of Data Objects for TypeScriptTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQLTo help us get started, we'll begin by introducing a mock data array of rental listings in this lesson. This will help us get started before we begin to address more appropriate data persistence.
lesson
Automatically Check TypeScript Code for Errors With ESLintTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQLThough VSCode includes TypeScript language support which helps us pick up TypeScript errors in our TypeScript code, we'll introduce more robust code checking with ESLint - a popular open-source JavaScript/TypeScript linting tool.
lesson
How to Compile TypeScript Code With tscTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQLTypeScript is a development tool geared towards making building JavaScript applications more robust. In an application's deployed state (browser or server), TypeScript must be compiled to valid JavaScript. In this lesson, we'll see how the TypeScript compiler provides us with a command to compile and produce JavaScript code from TypeScript.
lesson
How to Add TypeScript to a Node.JS Server With ts-nodeTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQLWe'll get started with TypeScript in this lesson by installing a few necessary packages in our server and setting up the configuration of our TypeScript compiler.
lesson
What is TypeScript? TypeScript vs JavaScript for DevelopmentTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQLJavaScript is considered a weakly typed language. In this lesson, we'll go through a simple example of why that can be an issue in development and where TypeScript falls in the picture.
lesson
How to Use Nodemon to Auto Reload Node.jsTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQLNodemon is an open-source utility tool that helps automatically restart a Node server whenever a change in code is detected in development. In this lesson, we'll install Nodemon and introduce an application script that will start the Node server with Nodemon.
lesson
How to Build a Minimal Express.js Server With NodeTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQLWeb servers provide functionality for requests that can be made from client applications. Node has a built-in HTTP module to allow for building a server that facilitates the transfer of data in HTTP. With this lesson, we'll look to use the popular Express framework as the replacement of the core HTTP module to create a minimal Node server, with Express routing.
lesson
How to Run Node.js With JavaScript CodeTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQLIn this lesson, we'll use Node to run a simple JavaScript file on the server.
lesson
What is Node? Intro to Node File System with JavaScript fsTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQLNode is a JavaScript runtime environment that was first introduced in 2009 by Ryan Dahl, as a response to how slow web servers were at the time. In this lesson, we'll introduce Node and talk about the capability Node provides to make I/O tasks asynchronous and non-blocking.
lesson
Web Developer Field GuideYour First 30 Days of Web DevelopmentYesterday brought the beginning, tomorrow brings the end, though somewhere in the middle we became best friends. #BFF 💙