Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Working with React and Go (Golang)
Rating: 4.6 out of 5(1,533 ratings)
12,414 students

Working with React and Go (Golang)

Learn how to build a single page application in React, with data supplied by a Go back end REST API
Created byTrevor Sawler
Last updated 6/2024
English

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

Course content

13 sections123 lectures12h 52m total length
  • Welcome6:12

    Build a single page application with a React 18 frontend and React Router 6, using a Go REST and GraphQL API, with JWT authentication, refresh tokens, and Postgres database.

  • A bit about me1:01

    The speaker outlines 25 years as an independent software contractor, a university teacher since 1991, with PhDs in English literature, computer science, and education, including an Apple Award.

  • Asking for help1:14

    Seek help effectively by first searching online for solutions, then compare your code to the lecture source, review the Q&A, and share code or a git repository link when asking.

  • Mistakes. We all make them.1:06

    Watch me make and fix mistakes in an intermediate course on React and Go, revealing real debugging and learning from errors as we code.

Requirements

  • A basic knowledge of the Go programming language
  • A basic knowledge of Javascript
  • A basic knowledge of HTML

Description

React and Go are something of a match made in heaven. React is the world's most popular JavaScript library for building Single Page Applications, and Go is uniquely well-suited for building REST back ends. That is what this course is all about.

This course has been completely re-done, for React version 18 and React Router version 6. The old version of this course is still available at the end of the new one, with each section marked as "Legacy." I'll remove it in a month or so, just to give people who have already started a chance to finish that version, if they so desire.

Learn how to develop and deploy a fast, secure web application built using the most popular and in-demand JavaScript front end (React), with one of the most popular and powerful programming languages for the back end (Go).

React is an open-source, front end JavaScript library for building user interfaces or UI components. React is maintained by Facebook and a community of developers and companies. React can be used as a base in the development of single-page or mobile applications. React is the most popular front-end JavaScript library in the field of web development, and is used by many well-known organizations, including Netflix, Instagram, and the New York Times. With React, we build fast, interactive user interfaces.

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, American Express, 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 a simple application using both React class component and Functional Components with 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.

In the second project for this course, we'll build a Single Page Web Application (SPA) with a React front end and a Go back end API, where we will  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), including refresh tokens.

This course is not intended for absolute beginners. I expect that you have some experience in JavaScript and Go, and a good knowledge of HTML.

Please note that this course requires you to download Docker Desktop from Docker. If you are a Udemy Business user, please check with your employer before downloading software.

Who this course is for:

  • Developers who are somewhat familiar with Go & JavaScript