Skip to content

Commit 5f648a2

Browse files
authored
Merge pull request #138 from tusharshah21/main
firebase readme updated according to request
2 parents 94fee32 + 5074c6b commit 5f648a2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,23 @@ To start the project using Docker Compose:
9494

9595
By following these steps, you'll be able to set up Judge0 for code submissions using RapidAPI's infrastructure, enabling you to execute and evaluate code within your application.
9696

97+
## Firebase Configuration
98+
99+
1. Create a Firebase account at [firebase.google.com](https://firebase.google.com/) and go to the console.
100+
2. Go to Authentication.
101+
3. In Sign-in method, choose the Google provider.
102+
4. Go to settings and you'll see authorized domains.
103+
5. Add your production URL in authorized domains for our project: `https://custom-code-editor.vercel.app/`
104+
6. Create a `.env` file in your root directory and add these values:
105+
```
106+
REACT_APP_FIREBASE_API_KEY=""
107+
REACT_APP_FIREBASE_AUTH_DOMAIN=""
108+
REACT_APP_FIREBASE_PROJECT_ID=""
109+
REACT_APP_FIREBASE_STORAGE_BUCKET=""
110+
REACT_APP_FIREBASE_MESSAGING_SENDER_ID=""
111+
REACT_APP_FIREBASE_APP_ID=""
112+
```
113+
97114
## Local Configuration
98115

99116
- Create a .env file in the root directory of your project if it doesn't already exist.

0 commit comments

Comments
 (0)