This project was bootstrapped with Create React App.
Follow these simple steps to have your own whatsapp clone
1: Clone this repo using this command
git clone https://github.com/alii13/whatsapp-clone.git
2: Enter
cd whatsapp-clone
3: Next
npm install
src/components
& Find file named firebase.js
=> Replace the config data to your project config data.
4: Goto
Firebase config data you have to replace it with yours & save.
src
directory again and find file named .firebasesrc
5: Now, Goto
Replace the line "default": "your_project__name"
& save.
npm start
in terminal & Boom you have your own whatsapp clone!! open at port 3000.
6: Hit Set Up Hosting in Firebase
firebase login
Hit command : After logging in you will see this pop up-
If error -- 'firebase' is not recognized as an internal or external command, operable program or batch file
then run **npm install -g firebase-tools**
firebase init
1: Hit command 2: Enter Yes
3: Goto the 4th option says - "Configure and Deploy firebase Hosting sites", Use Arrow key to go down & Hit spacebar to select the option and then hit Enter key
build
for directory && select Yes
for all other options. If you see the prompt given below then hit command firebase deploy <your project name>
4: Enter Error: No project active, but project aliases are available.
Run firebase use <alias> with one of these options:
firebase use whatsapp-clone-aec86
default (whatsapp-clone-aec86)
whatsappB (whatsapp-clone-aec86)
5: After initialization Completed. Enter
npm run build
6: Now the last command
Enter firebase deploy