Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Serverless Web Applications with React and Firebase

You're reading from   Serverless Web Applications with React and Firebase Develop real-time applications for web and mobile platforms

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788477413
Length 284 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Harmeet Singh Harmeet Singh
Author Profile Icon Harmeet Singh
Harmeet Singh
Mayur Tanna Mayur Tanna
Author Profile Icon Mayur Tanna
Mayur Tanna
Arrow right icon
View More author details
Toc

Setting up the environment

First, we need to create a folder structure similar to our Hello World app, which we made in Chapter 1, Getting Started with Firebase and React. The following screenshot describes the folder structure:

When we start making an application with ReactJS, we need to do some setup, which just involves an HTML page and the reactjs library. Once we have finished creating the folder structure, we need to install both our frameworks: ReactJS and Firebase. It's as simple as including JavaScript and CSS files in your page. We can do this via a Content Delivery Network (CDN), such as Google or Microsoft, but we will fetch the files manually in our application so that we don't have to be dependent on the internet and can work offline.

Installing React...

You have been reading a chapter from
Serverless Web Applications with React and Firebase
Published in: Apr 2018
Publisher: Packt
ISBN-13: 9781788477413
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime