Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Serverless Web Applications with React and Firebase
  • Toc
  • feedback
Serverless Web Applications with React and Firebase

Serverless Web Applications with React and Firebase

By : Singh, Tanna
3.5 (4)
close
Serverless Web Applications with React and Firebase

Serverless Web Applications with React and Firebase

3.5 (4)
By: Singh, Tanna

Overview of this book

ReactJS is a wonderful framework for UI development. Firebase as a backend with React is a great choice as it is easy, powerful, and provides great developer experience. It removes a lot of boilerplate code from your app and allows you to focus on your app to get it out quickly to users. Firebase with React is also a good choice for Most Viable Product (MVP) development. This book provides more practical insights rather than just theoretical concepts and includes basic to advanced examples – from hello world to a real-time seat booking app and Helpdesk application This book will cover the essentials of Firebase and React.js and will take you on a fast-paced journey through building real-time applications with Firebase features such as Cloud Storage, Cloud Function, Hosting and the Realtime Database. We will learn how to secure our application by using Firebase authentication and database security rules. We will leverage the power of Redux to organize data in the front-end, since Redux attempts to make state mutations predictable by imposing certain restrictions on how and when updates can happen. Towards the end of the book you will have improved your React skills by realizing the potential of Firebase to create real-time serverless web applications.
Table of Contents (11 chapters)
close
Free Chapter
1
Getting Started with Firebase and React

React setup


To set up our development environment, the first step will be the React setup. There are different options available to install React. If you already have an existing app and want to add React, you can install it using a package manager such as npm using this command:

npm init
npm install --save react react-dom

However, if you are starting a new project, the easiest way to get started is with the React Starter Kit. Just go to the Command Prompt and execute the following command to install the React Starter kit:

npminstall -g create-react-app

This command will install and set up the local development environment by downloading all the required dependencies. There are a number of benefits to have your development environment with node, such as optimized production builds, installing libraries using simple npm or yarn commands, and such.

Once you have it installed, you can create your first app using the given command:

create-react-app seat-booking

It will create a frontend application...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete