AlterClassIO/react-firechat

Tried to clone and run locally

Opened this issue · 4 comments

Hi there,

Came across the video, found it very concise and instructional - I tried the 4 simple instructions of cloning the project, install dependencies and start the app.
The browser comes up with app on port 3000, but nothing happens. Is this project still valid?

JK

Same I observed. I think he is not putting them for free. Its just a trailor. We have to Pay to do these projects i think.

Have you setup environment variables for your application?
These environment variables will be defined for you on process.env.

firebase.initializeApp({
  apiKey: process.env.REACT_APP_API_KEY,
  authDomain: process.env.REACT_APP_AUTH_DOMAIN,
  projectId: process.env.REACT_APP_AUTH_PROJECT_ID,
  storageBucket: process.env.REACT_APP_STORAGE_BUCKET,
  messagingSenderId: process.env.REACT_APP_MESSAGING_SENDER_ID,
  appId: process.env.REACT_APP_APP_ID,
});

i can get that stuff on school chromebook :( can someone provide me that stuff

Use your own firebase credentials in App.js and it will work.