nvme0 / react-chat-app

MIT License
1 stars 0 forks source link

React Chat App

Setup

.env file

Including the following in a .env file:

REACT_APP_FIREBASE_API_KEY=<Firebase API Key>
REACT_APP_FIREBASE_AUTH_DOMAIN=<Firebase Auth Domain>
REACT_APP_FIREBASE_DATABASE_URL=<Firebase Database URL>
REACT_APP_FIREBASE_PROJECT_ID=<Firebase Project ID>
REACT_APP_FIREBASE_STORAGE_BUCKET=<Firebase Storage Bucket>
REACT_APP_FIREBASE_MESSAGING_SENDER_ID=<Firebase Messaging Sender ID>
REACT_APP_FIREBASE_APP_ID=<Firebase App ID>
REACT_APP_FIREBASE_MEASUREMENT_ID=<Firebase Measurement ID>

Usage

npm run develop

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.

npm test

Launches the test runner in the interactive watch mode.

npm run build

Builds the app for production to the build folder.