Lessons

Explore all newline lessons

Tags
Author
Pricing
Sort By
Video
Most Recent
Most Popular
Highest Rated
Reset
Building Filters and Pagination in React [with examples]

lesson

Building Filters and Pagination in React [with examples]TinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two

At this point, we have a page displayed in the `/listings/location?` route that surfaces up to eight different listing cards for listings that exist in certain locations. In this lesson, we'll create the capability for a user to filter and paginate the information presented to them in the listings page.

Building a Location-Based Listings Search Page in React

lesson

Building a Location-Based Listings Search Page in ReactTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two

With our `listings` field in our GraphQL API prepared to accept a `location` argument, we'll begin to work on the client app to build the `/listings/:location?` page for where certain listings can be shown for specific locations.

Using the Google Maps Node.js Client With GraphQL

lesson

Using the Google Maps Node.js Client With GraphQLTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two

In this lesson, we'll begin to write the code in our server project to help allow a user to search for listings in a certain location. To achieve this, we'll first modify the existing `listings` GraphQL query field to accept an optional `location` argument that when provided will return the listings that pertain only to that location.

How to Implement Location Search With GraphQL and Google

lesson

How to Implement Location Search With GraphQL and GoogleTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two

In this lesson, we'll address the gameplan we have in mind in how we want to conduct location-based searching in our app.

Get Started With Google Geocoding API for Location Data

lesson

Get Started With Google Geocoding API for Location DataTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two

We've managed to create the capability for users to query for a list of listings that can be sorted based on listing price. In this module, we'll focus on the functionality that will allow our users to search for listings based on location. We'll begin the investigation for this by discussing the API we intend to use to help us - Google's Geocoding API.

Sort GraphQL Data And Display Filtered Results in React

lesson

Sort GraphQL Data And Display Filtered Results in ReactTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two

Our homepage is mostly prepared except for displaying the most premium (i.e. highest price) listings. In this lesson, we'll look to make the query we'll need to retrieve the highest priced listings from our server and display that information on our homepage.

Building a Card-Based Homepage Layout in React

lesson

Building a Card-Based Homepage Layout in ReactTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two

The homepage of TinyHouse is to be to mostly presentational and aims to serve the purpose of telling the user what our app does as well as provide useful links to direct them elsewhere. In this lesson, we focus on building the presentational UI of the homepage.

Building a GraphQL Resolver For Filtered and Sorted Results

lesson

Building a GraphQL Resolver For Filtered and Sorted ResultsTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two

With the root-level `listings` field prepared in our GraphQL API, we'll construct the resolver function for this field to attempt to query for a list of listings from the "listings" collection in our database.

Listings GraphQL Fields

lesson

Listings GraphQL FieldsTinyHouse: A Fullstack React Masterclass with TypeScript and GraphQL - Part Two

In the homepage of our application, we hope to display a small list of the most premium listings available. In this module, we begin building the server and client implementation that will help allow us to retrieve and display listings information for the homepage of our application. We'll begin by brainstorming the GraphQL fields we'll need to query a list of listings from our API.