Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Full-Stack React, TypeScript, and Node
Full-Stack React, TypeScript, and Node

Full-Stack React, TypeScript, and Node: Build cloud-ready web applications using React 17 with Hooks and GraphQL

eBook
NZ$14.99 NZ$57.99
Paperback
NZ$71.99
Subscription
Free Trial

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Full-Stack React, TypeScript, and Node

Section 1:Understanding TypeScript and How It Can Improve Your JavaScript

This section gives you an overview of the benefits of TypeScript and its most important language features. We will also cover what the most important features of ES6 are, and how we can improve code quality and readability.

This section comprises of the following chapters:

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Understand the architecture of React and single-page applications
  • Build a modern Web API for your SPA using Node.js, Express, and GraphQL
  • Gain a clear and practical understanding of how to build a complete full-stack application

Description

React sets the standard for building high-performance client-side web apps. Node.js is a scalable application server that is used in thousands of websites, while GraphQL is becoming the standard way for large websites to provide data and services to their users. Together, these technologies, when reinforced with the capabilities of TypeScript, provide a cutting-edge stack for complete web application development. 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.

Who is this book for?

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.

What you will learn

  • 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
Estimated delivery fee Deliver to New Zealand

Standard delivery 10 - 13 business days

NZ$20.95

Premium delivery 5 - 8 business days

NZ$74.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Dec 18, 2020
Length: 648 pages
Edition : 1st
Language : English
ISBN-13 : 9781839219931
Languages :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to New Zealand

Standard delivery 10 - 13 business days

NZ$20.95

Premium delivery 5 - 8 business days

NZ$74.95
(Includes tracking information)

Product Details

Publication date : Dec 18, 2020
Length: 648 pages
Edition : 1st
Language : English
ISBN-13 : 9781839219931
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just NZ$7 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just NZ$7 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total NZ$ 218.97
Node Cookbook
NZ$65.99
Full-Stack React, TypeScript, and Node
NZ$71.99
React 17 Design Patterns and Best Practices
NZ$80.99
Total NZ$ 218.97 Stars icon
Banner background image

Table of Contents

21 Chapters
Section 1:Understanding TypeScript and How It Can Improve Your JavaScript Chevron down icon Chevron up icon
Chapter 1: Understanding TypeScript Chevron down icon Chevron up icon
Chapter 2: Exploring TypeScript Chevron down icon Chevron up icon
Chapter 3: Building Better Apps with ES6+ Features Chevron down icon Chevron up icon
Section 2: Learning Single-Page Application Development Using React Chevron down icon Chevron up icon
Chapter 4: Learning Single-Page Application Concepts and How React Enables Them Chevron down icon Chevron up icon
Chapter 5: React Development with Hooks Chevron down icon Chevron up icon
Chapter 6: Setting Up Our Project Using create-react-app and Testing with Jest Chevron down icon Chevron up icon
Chapter 7: Learning Redux and React Router Chevron down icon Chevron up icon
Section 3: Understanding Web Service Development Using Express and GraphQL Chevron down icon Chevron up icon
Chapter 8: Learning Server-Side Development with Node.js and Express Chevron down icon Chevron up icon
Chapter 9: What is GraphQL? Chevron down icon Chevron up icon
Chapter 10: Setting Up an Express Project with TypeScript and GraphQL Dependencies Chevron down icon Chevron up icon
Chapter 11: What We Will Learn – Online Forum Application Chevron down icon Chevron up icon
Chapter 12: Building the React Client for Our Online Forum Application Chevron down icon Chevron up icon
Chapter 13: Set Up a Session State Using Express and Redis Chevron down icon Chevron up icon
Chapter 14: Setting Up Postgres and a Repository Layer with TypeORM Chevron down icon Chevron up icon
Chapter 15: Adding GraphQL Schema Part I Chevron down icon Chevron up icon
Chapter 16: Adding a GraphQL Schema – Part II Chevron down icon Chevron up icon
Chapter 17: Deploying an Application to AWS Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.5
(18 Ratings)
5 star 44.4%
4 star 5.6%
3 star 16.7%
2 star 22.2%
1 star 11.1%
Filter icon Filter
Top Reviews

Filter reviews by




Daniel Correa Apr 25, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
If you are a software developer, I always recommend learning a little of back-end and front-end development. Just to know how those things assemble each other. This book provides a great entire insight of this connection, however, this book requires you to have previous knowledge with JavaScript and Node.js.The book starts with an excellent explanation about the issues of JavaScript, and why TypeScript is a proper solution that should be used in the development of large/complex applications. I totally agree with this. Then, the author shows and explains the use of TypeScript and its features, including inheritance, class definition, interfaces, methods, getters and setters, and so on.The book also shows you excellents explanations about some JavaScript elements, including variable declarations, the foundation of asynchronous programming in JavaScript, callbacks, promises, and many more. Which is great, because we will use them a lot in the react application development. You will also learn fundamental elements of React, such as components, hooks, routing, tests, redux, state, and many more.One thing that I really enjoyed was the description of the web evolution. There is a chapter in which the author explains how websites were built in the past, what have changed, and why Single-Page applications - SPA (which are developed through the use of React) are important and trending.In this book, you will find many great short explanations about multiple topics, such as the website evolution (as I mentioned before), versioning, git, workflows, babel, webpack, web sessions, orm, and many more.In the practical side, you will be developing from very simple applications (which in many cases include just one file and its execution), to very complex real world applications. You will design a super forum application which includes categories, threads, users, login, points, and so on. This application is designed from multiple perspectives. You will design the client application with react, then you will develop the backend with node.js and express, and later you will start adding many other features and tools to create a very complex/real word application. Including, (i) redis to manage the session data, (ii) postgres to store the information, (iii) TypeORM an Object Relational Mapper, (iv) Graphql to act as a middleware between the requests from the front-end and the TypeORM extracted data, and also (v) many AWS elements (to deploy the application in the cloud).The book is very complete, however, there are two little details. (i) The first one, is the use of redis. From chapter 13 you will be using redis, redis is an in-memory data store which is used in the book to store the forum application session data. However, redis is only available for mac and linux, so windows users (such as me) have to look for another solution such as the use of virtual machines (to make it work). (ii) Some parts of the book code were a little difficult to follow for me, maybe because I’m totally new with React, and maybe because I’m not a fan of functional programming and other things like arrow functions. I prefer object-oriented programming (which is discussed in a chapter of the book, but it is not a lot used). But I’m sure that people that prefer this type of programming will not have these issues.
Amazon Verified review Amazon
Amazon Customer Sep 11, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
O livro tem uma boa didática, eu estou gostando.
Amazon Verified review Amazon
pfizzle Mar 03, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
book has philosophy of "learning by doing"
Amazon Verified review Amazon
Ziad Malik Jan 19, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Got this book a week prior to Christmas and having never build an API in my life and giving up on writing React Code since the old class style way just killed me I really hoped to be able to follow along using this book.And - a month and a half later, I am impressed. I now can confidently write Fullstack Code, and more importantly: write good Fullstack Code.I am personally a more fast-paced, hands-on learner so the writing style & speed suited me well. If you like things explained in extreme detail before applying it to the real world, this book is not for you. It explains a concept briefly and applies it immediately, helping me actually visualize what's being said.Even though it is fast-paced, the author does not forget to tell you about best practices, like how to handle State and Context vs Redux, etc. He also tells you about how things were in the past and how they are now, which makes me appreciate the technology and understand its purpose.However, one does feel like the second half of the book is being rushed. I would have loved to learn more about Redis as a database and not just a simple session storage, the hands-on chat app in the end was easy to build, but the explainations are nowhere near as comprehensive as the first half, although various new technologies were introduced, like TypeORM, Postgres, Redis and smaller libraries like bcrypt.jsAnother thing that's not so cools is that a lot of the code was outdated, mostly React Router, and co. But where it got quite annoying is the apollo code. With apollo v3 coming out a lot has changed and it took a good while to refactor. But in the end, I think it's not the authors fault, but I would have loved to see the code updated on Github..All in all, this is the dream book for pragmatic people, written in simple english, and lots of love and passion.9/10 would recommend to a friend!
Amazon Verified review Amazon
Riccardo Jul 28, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a professional software developer with react I would say that the book is very good written. The examples are not optimised as production ready but this is not the goal of the book. I really recommend this book if you want to start your journey as full stack engineer.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela