Skip to content

Commit 98c1c27

Browse files
committed
chore: readme & config
1 parent af60a02 commit 98c1c27

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Building Netflix from Scratch Using React (Custom Hooks, Context, Portal), Firebase, Compound & Styled Components (http://bit.ly/CognitiveSurge)
22

3-
This application (a Netflix clone) was built using React (Custom Hooks, Context), Firebase & Styled Components. I built this Netflix clone for Scrimba (https://scrimba.com)--Scrimba allows you to learn to code with interactive tutorials. The course itself is over 7 hours long and is available to watch on Scrimba's front-end engineering career path: https://scrimba.com/path/gfrontend - I highly recommend it, there's lots of awesome content! 70 hours of content, and 100+ coding challenges, so be sure to check it out!
3+
This application (a Netflix clone) was built using React (Custom Hooks, Context), Firebase & Styled Components. I built this Netflix clone for Scrimba (https://scrimba.com) -- Scrimba allows you to learn to code with interactive tutorials. The course itself is over 7 hours long and is available to watch on Scrimba's front-end engineering career path: https://scrimba.com/path/gfrontend - I highly recommend it, there's lots of awesome content! 70 hours of content, and 100+ coding challenges, so be sure to check it out!
44

55
I have built the following pages within this application: sign in, sign up, browse & lastly the homepage. There's four different pages, some using protected routes with auth listeners. Firebase firestore handles all the data and that data is retrieved using a custom hook; authentication is used on all pages, which is handled by Firebase as well.
66

src/lib/firebase.prod.js

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import Firebase from 'firebase/app';
2+
import 'firebase/firestore';
3+
import 'firebase/auth';
4+
5+
// import { seedDatabase } from '../seed';
6+
7+
const config = {
8+
apiKey: '',
9+
authDomain: '',
10+
databaseURL: '',
11+
projectId: '',
12+
storageBucket: '',
13+
messagingSenderId: '',
14+
appId: '',
15+
};
16+
17+
const firebase = Firebase.initializeApp(config);
18+
// seedDatabase(firebase);
19+
20+
export { firebase };

0 commit comments

Comments
 (0)