Learn how to build a single page application in React, with data supplied by a Go back end REST API
What you’ll learn
- Build amazing single page applications with React JS
- Build reusable, composable components in React
- Build a REST API in Go that handles JSON requests, and serves JSON responses
- Build an API in Go that handles GraphQL requests
- A basic knowledge of the Go programming language
- A basic knowledge of HTML
Go is a modern, type safe, compiled, and extremely fast programming language. It it is ideally suited for building safe, scalable, incredibly fast REST APIs and web applications, and is also used by large corporations around the wold, including Netflix, Instagram, and the New York Times.
If you were paying attention, you might have noticed some overlap there — the same large companies using React are also using Go. There is a reason for that, and we will be exploring that reason in this course.
In this course we will go over the core fundamentals of React, including the React life cycle, components, functional components, props, state, and more. We will also cover calling a remote API (both one we build, and a 3rd party API), and much more.
In the first part of the course, we’ll build an application using React class components, and then, once that is complete, we’ll rebuild the entire application using functions and hooks. Although hooks and functions appear to the the future for React, there are literally millions of lines of code out there built using classes, so it’s important to know how to work with React using both classes and functions & hooks.
We will also cover receiving requests on the back end, both as JSON and as GraphQL, and returning that response as JSON.
In order to secure access to authenticated users for certain parts of our site, we will also explore how to generate and use JSON Web Tokens (JWT).
Who this course is for:
Created by Trevor Sawler
Last updated 7/2021
Size: 3.87 GB