Skip to content

Commit

Permalink
chore: readme & config
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhadwen committed Jul 8, 2020
1 parent af60a02 commit 98c1c27
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Building Netflix from Scratch Using React (Custom Hooks, Context, Portal), Firebase, Compound & Styled Components (http://bit.ly/CognitiveSurge)

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!
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!

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.

Expand Down
20 changes: 20 additions & 0 deletions src/lib/firebase.prod.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import Firebase from 'firebase/app';
import 'firebase/firestore';
import 'firebase/auth';

// import { seedDatabase } from '../seed';

const config = {
apiKey: '',
authDomain: '',
databaseURL: '',
projectId: '',
storageBucket: '',
messagingSenderId: '',
appId: '',
};

const firebase = Firebase.initializeApp(config);
// seedDatabase(firebase);

export { firebase };

0 comments on commit 98c1c27

Please sign in to comment.