Skip to content

thaiminhnguyen1999/ReactFireChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactFireChat (Create-React-App x Firebase)

Netlify Status Visual Studio Code JavaScript Npm Terminal Windows

This project was bootstrapped with Create React App.

You can use it through three websites: ReactFireChat (Offical Website), ReactFireChat (Netlify) and ReactFireChat (Cloudflare Pages)

How to use?

You can use this React application directly by clicking here

Or if you want to edit this project then you can do the following:

git clone -b clone-branch https://github.com/thaiminhnguyen1999/ReactFireChat
cd ReactFireChat
npm i

And if you want to run the React app then just enter the command:

npm start

Project Structure

ReactFireChat
├── README.md
├── LICENSE
├── package.json
├── package-lock.json
├── node_modules
├── public
│   ├── img
│   ├── favicon.ico
│   ├── index.html
|   ├── logo192.png
|   ├── logo512.png
|   ├── manifest.json
│   └── robots.txt
└── src
    ├── App.css
    ├── App.js
    ├── App.test.js
    ├── index.css
    ├── index.js
    ├── logo.svg
    |── reportWebVitals.js
    └── setupTests.js

Firebase

The project uses Firebase. So before running the npm start command add the Firebase project configuration first.

How to add Firebase project configuration?

First, visit the website firebase.google.com.

Then press the Get Started button and you will be taken to another page.

Select Add Project then enter a name for your Firebase Project and press Continue.

Google will ask if you want to add Google Analytics to your Firebase project? In my opinion, it can be turned on but can't be turned on, so I don't turn it on (If not, click the button to the left of the word Enable Google Analytics for this project) and press Continue

Now wait a bit for Firebase to create the project. After complete, press Continue

Click the </> icon to continue.

Now enter the app name in My web app and press Register app

Under Add Firebase SDK, copy the part inside

const firebaseConfig = {
  
};

and paste the code inside the file ReactFireChat/src/App.js (Line 12).

Finally, save the file and you can use it.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published