Developed with React, Material UI, Redux and NoSQL cloud-based storage.
- Run
npm
oryarn
to install dependencies. - Rename
firebaseExample.js
tofirebase.js
file in src. - Add your web app's Firebase configuration from project settings.
- Run
yarn start
- Run
firebase login
- Run
firebase init
- Select
Hosting
- Select
Use an existing project
and select your firebase project. - What do you want to use as your public directory?
Build
- Configure as a single page app?
Yes
- Run
npm run build
- Run
firebase deploy
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Note: this is a one-way operation. Once you eject
, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.