JavaScript Everywhere: Building Cross-Platform Applications with GraphQL, React, React Native, and Electron
By Adam D Scott
Language: English
Category: Ebook - Computer/Internet
Categories: Computer/Internet
Uploader: CallNumber
Uploaded At: 2020-02-12 20:30:22
Nonfiction, Computer Programming, Javascript, Feb 2020
Description
JavaScript is the little scripting language that could. Once used chiefly to add interactivity to web browser windows, JavaScript is now a primary building block of powerful and robust applications. In this practical book, new and experienced JavaScript developers will learn how to use this language to create APIs as well as web, mobile, and desktop applications.
Author and engineering leader Adam D. Scott covers technologies such as Node.js, GraphQL, React, React Native, and Electron. Ideal for developers who want to build full stack applications and ambitious web development beginners looking to bootstrap a startup, this book shows you how to create a single CRUD-style application that will work across several platforms.
Explore GraphQL’s simple process for querying data
Learn about shared authentication for APIs, web apps, and native applications
Build performant web applications with React and Styled Components
Use React Native to write cross-platform applications for iOS and Android that compile to native code
Learn how to write desktop applications with Electron.
From the Preface
The idea for this book came to me after writing my first Electron desktop application. Having made a career as a web developer, I was immediately smitten with the possibilities of using web technologies to build cross-platform applications. At the same time, React, React Native, and GraphQL were all taking off. I sought out resources to learn how all of these things fit together, but kept coming up short. This book represents the guide that I wished I had.
The ultimate goal of this book is to introduce the possibilities of using a single programming language, JavaScript, to build all sorts of applications.
Who This Book Is For
This book is for intermediate-level developers who have some experience with HTML, CSS, and JavaScript or ambitious beginners who are looking to learn the tools necessary to bootstrap a business or side project.
How This Book Is Organized
The book is designed to walk you through developing an example application for a variety of platforms. It can be broken down into the following sections:
Chapter 1 guides you through setting up a JavaScript development environment.
Chapters 2–10 cover building an API with Node, Express, MongoDB, and Apollo Server.
Chapters 11–25 review the details of building cross-platform user interfaces using React, Apollo, and a variety of tools.
Chapter 11 introduces user interface development and React.
Chapters 12–17 demonstrate how to build a web application with React, Apollo Client, and CSS-in-JS.
Chapters 18–20 guide you through building simple Electron applications.
Chapters 21–25 introduce using React Native and Expo to build mobile applications for iOS and Android.
ISBN-13: 978-1492046981
ISBN-10: 1492046981
Publisher: O'Reilly Media; 1 edition (February 6, 2020)