React + Redux + Firebase Backend Project - Airchat project
You can check out the live demo Here.
- Create Firebase project and add your javascript project, your web app.
It's easy, just follow the steps on this link for a step by step walkthrough.
After you complete all the steps you get a local directory that is linked to your Firebase project. This was created using firebase init
. By now you also have an firebaseConfig object created when you initialize your Firebase app. Create this functions/util/firebaseConfig.js and just paste your firebaseConfig object in that file. It will look like this:
module.exports = {
apiKey: "##################################",
authDomain: "######################",
databaseURL: "#################################",
projectId: "##########",
storageBucket: "#######################",
messagingSenderId: "########",
appId: "######################",
measurementId: "############",
};
Great! You can now copy and paste other files in this repo. Navigate to the root directory of your Firebase project and run cd functions
npm install --save firebase express busboy cors
to install all the required dependencies for this project.
You can test this using Postman
OR
clone the repo on this link, please note that it has some setup stuff that takes few minutes.
You can view a live demo over here, the complete project.