The goal of this project was to implement authentication, allow authorized users to create, read, update and delete the data in realtime. For it, I have built a content management system where the admin can operate CRUD. The data then can be fetched to display in shape of Netflix's content.
Talking about skill achievement here, I have learnt to handle complicated project and to handle detail-oriented requirement to make the UI look as much as Netflix as possible.
Check Live demo
To access the Admin dashboard, here are credentials:
- email : [email protected]
- password : admin1234
- Admin realtime content management
- Firebase authentication
- Firebase auth provider authentication
- Account creation and edit
- File upload
- Profile edit
- Video player
- Multiple accounts upon one email
- Firebase authentication by Facebook
- Firebase security
These are the instructions to run the project:
-
Open the terminal and navigate to the folder where this readme file is located.
-
Install dependencies:
npm install -
run the project:
npm start -
Open a browser at :
http://localhost:3000 -
To access Admin Dashboard
Login to your google account and create a new firebase project here
The following config can be found on your firebase project settings.
// SAMPLE CONFIG .env.dev, you should put the actual config details found on your project settings
FIREBASE_API_KEY=AIzaKJgkjhSdfSgkjhdkKJdkjowf
FIREBASE_AUTH_DOMAIN=yourauthdomin.firebaseapp.com
FIREBASE_DB_URL=https://yourdburl.firebaseio.com
FIREBASE_PROJECT_ID=yourproject-id
FIREBASE_STORAGE_BUCKET=yourstoragebucket.appspot.com
FIREBASE_MSG_SENDER_ID=43597918523958
FIREBASE_APP_ID=234598789798798fg3-034
- To perform CRUD operations as Authorized User (Admin)
- Navigate to your site to /signup
- Create an account for yourself
- Go to your firestore collection
userscollection and edit the account you've just created. Change the role fromviewertoadmin. - Reload or signin again to acces Admin dashboard.
- Firebase Hosting
- Firebase Firestore DB
- Firebase Cloud Storage
- react-youtube