This is the code repository for Full-Stack React 17, TypeScript, and Node, published by Packt.
Build cloud-ready web applications using React 17 with Hooks and GraphQL
This book takes a hands-on approach to implementing modern web technologies and the associated methodologies for building full-stack apps. You’ll begin by gaining a strong understanding of TypeScript and how to use it to build high-quality web apps. The chapters that follow delve into client-side development with React using the new Hooks API and Redux. Next, you’ll get to grips with server-side development with Express, including authentication with Redis-based sessions and accessing databases with TypeORM. The book will then show you how to use Apollo GraphQL to build web services for your full-stack app. Later, you’ll learn how to build GraphQL schemas and integrate them with React using Hooks. Finally, you’ll focus on how to deploy your application onto an NGINX server using the AWS cloud. By the end of this book, you’ll be able to build and deploy complete high-performance web applications using React, Node, and GraphQL.
This book covers the following exciting features:
- Discover TypeScript’s most important features and how they can be used to improve code quality and maintainability
- Understand what React Hooks are and how to build React apps using them
- Implement state management for your React app using Redux
- Set up an Express project with TypeScript and GraphQL from scratch
- Build a fully functional online forum app using React and GraphQL
- Add authentication to your web app using Redis
- Save and retrieve data from a Postgres database using TypeORM
- Configure NGINX on the AWS cloud to deploy and serve your apps
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
if (test expression)
{
Statement upon condition is true
}
Following is what you need for this book: The book is for web developers who want to go beyond front-end web development and enter the world of full-stack web development by learning about modern web technologies and how they come together. A good understanding of JavaScript programming is required before getting started with this web development book.
With the following software and hardware list you can run all code files present in the book (Chapter 1-17)
Chapter | Software required | OS required |
---|---|---|
1 to 17 | React 17 | Windows, Mac OS X, and Linux (Any) |
1 to 17 | Node 12 or greater with npm | Windows, Mac OS X, and Linux (Any) |
1 to 17 | TypeScript 3.7 or greater | Windows, Mac OS X, and Linux (Any) |
1 to 17 | A modern web browser: Chrome, Safari or Firefox | Windows, Mac OS X, and Linux (Any) |
David Choi is a developer with over 10 years' experience in building enterprise-class applications using a variety of frameworks and languages. Most of his professional development experience has involved working in finance for companies such as JPMorgan, CSFB, and Franklin Templeton. He currently works at his own start-up, DzHaven, building an application to help devs help other devs. You can find David on YouTube at the David Choi channel, or on Twitter at jsoneaday.