We are going to create a pr. You need to know basic git and github commands to make a pr. If you don't know about it, check my Git and Github crash course
Click on fork in the top left corner of your screen. Clone the repo you have been redirected to
git clone url_redirected_to
If you use yarn then run
yarn install
This project is using yarn so stick to yarn
git checkout -b new-feature
If you are using yarn then run
yarn dev
and if you using npm run
npm run dev
Checkout this article to configure Clerk
Go to Firebase
- Sign up/in and click on create a project. You can name it anything I will name it chat app.
- Leave everything as default and click continue
Give it the same name as your project and you can leave everything as default.
After this is done click on the web app with the name you gave and then click on settings.
FIREBASE_AUTH_DOMAIN=chat-app-489ee.firebaseapp.com
FIREBASE_PROJECT_ID=chat-app-489ee
FIREBASE_STORAGE_BUCKET=chat-app-489ee.appspot.com
FIREBASE_MESSAGEING_SENDER_ID=620872866119
FIREBASE_APP_ID=1:620872866119:web:a02c63f5db95893b9f5462
-
Scroll down to config and
-
Replace the env variables with your keys as named.
- Go to stiarge tab in the sidebar
- and change the rules to allow read and write
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write;
}
}
}
- Kill the current server and start a new server
If you are using yarn then run
yarn dev
This project is licensed under the MIT License - see the LICENSE
file for details.
Now if you login then the recipients and users list will be empty.
You can use some accounts to test your features.
Checkout this article to make a PR
You have successfully created a pull request and I will review and merge it soon.