Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5a471c3

Browse files
README Update
1 parent 0998cc6 commit 5a471c3

File tree

5 files changed

+28
-33
lines changed

5 files changed

+28
-33
lines changed

‎.gitignore‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build/
2+
3+
node_modules/
4+
5+
env.js

‎README.md‎

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,40 +11,32 @@
1111
- Download or clone the repo into your local directory from [Here](https://github.com/Code-Mergers/UI-Auth-Template-Using-React)
1212
- Make sure that you have node installed in your computer or [Install Node](https://nodejs.org/en/)
1313
- Inside the local directory here you have downloaded this repo, open your terminal
14-
- Run this command to download all dependencies for this project
15-
-
16-
```sh
17-
npm i
18-
```
19-
or
20-
14+
- Run this command to download all dependencies for this project
2115
```sh
2216
npm install
23-
2417
- To use Firebase Authentication, you have to provide your firebase configuration object containing keys and identifiers for your app
2518
- [Go to firebase](https://firebase.google.com/) and signin
2619
- [Go to firebase console](https://console.firebase.google.com/) to create your project
2720
- Create a web app and read about [firebase web app](https://firebase.google.com/docs/web/setup)
2821
- You will get your firebase configuration object containing keys and identifiers in project settings section
2922
- In SDK setup and configuration section copy the config, looks like this
3023
```JS
31-
var config = {
32-
apiKey: "API_KEY",
33-
authDomain: "PROJECT_ID.firebaseapp.com",
34-
databaseURL: "https://PROJECT_ID.firebaseio.com",
35-
projectId: "PROJECT_ID",
36-
storageBucket: "PROJECT_ID.appspot.com",
37-
messagingSenderId: "SENDER_ID",
38-
appId: "APP_ID",
39-
measurementId: "G-MEASUREMENT_ID",
40-
};
24+
var config = {
25+
apiKey: "API_KEY",
26+
authDomain: "PROJECT_ID.firebaseapp.com",
27+
databaseURL: "https://PROJECT_ID.firebaseio.com",
28+
projectId: "PROJECT_ID",
29+
storageBucket: "PROJECT_ID.appspot.com",
30+
messagingSenderId: "SENDER_ID",
31+
appId: "APP_ID",
32+
measurementId: "G-MEASUREMENT_ID",
33+
};
4134
- Paste your config object in `env.js` file, present in `/src/firebase/`
4235
- Now we can run this site locally
4336
- To see the site in your localhost run this command in your terminal
44-
-
4537
```sh
46-
npm start
47-
38+
npm start
39+
```
4840
## Deployement
4941
- [See deployed site](https://react-ui-auth-template-code-mergers.netlify.app/)
5042

‎package-lock.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "UI-Auth-Template-Using-React",
2+
"name": "ui-auth-template-using-react",
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {

‎src/firebase/env.js‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
const config = {
2-
// apiKey: "API_KEY",
3-
// authDomain: "PROJECT_ID.firebaseapp.com",
4-
// databaseURL: "https://PROJECT_ID.firebaseio.com",
5-
// projectId: "PROJECT_ID",
6-
// storageBucket: "PROJECT_ID.appspot.com",
7-
// messagingSenderId: "SENDER_ID",
8-
// appId: "APP_ID",
9-
// measurementId: "G-MEASUREMENT_ID",
10-
11-
// Paste your firebase configuration object containing keys and identifiers for your app here
2+
apiKey: "AIzaSyCoJyuxxHPTscY5yNxfPCcITob73LYWyzM",
3+
authDomain: "login-test-851ce.firebaseapp.com",
4+
databaseURL: "https://login-test-851ce-default-rtdb.firebaseio.com",
5+
projectId: "login-test-851ce",
6+
storageBucket: "login-test-851ce.appspot.com",
7+
messagingSenderId: "945093582532",
8+
appId: "1:945093582532:web:b01a0ffdf36ad41242f391",
9+
measurementId: "G-H8HQ9MNVKZ"
1210
};
1311

1412
export default config;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /