Create and deploy a new React app using Firebase

Video

Summary

1. Very very fast version : Command lines only

1. Create your app
> npx create-react-app mon-app
2. Go here : https://console.firebase.google.com/ and follow the instructions3. Run the following commands :
> npm install -g firebase-tools
> firebase login
> firebase init
> npm run build
> firebase deploy

2. Very fast version : Step by step with screenshots

npm -vnode -v
> npm install -g create-react-app
> npx create-react-app medium_demo_app
> cd medium_demo_app
> npm install -g firebase-tools
firebase login
firebase init

You talked about an address? Where is it?

firebase serve
firebase deploy --only functions
cd .. (if you are still in /functions)
npm install axios
npm start
(( yeah… design is not the focus of today))
npm run build
firebase deploy

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store