Firebase is a platform developed by Google for creating mobile and web applications. It was originally an independent company founded in 2011. In 2014, Google acquired the platform and it is now their flagship offering for app development. In this video we'll learn how to create upload image feature on React.js application using Firebase Storage.
⭐ Requirements:
- 💳 Firebase account
⭐ How to use this repo:
-
Clone this repo:
$ git clone https://github.com/LintangWisesa/React_FileUpload_Firebase.git $ cd React_FileUpload_Firebase
-
Create Firebase project then go to Firebase Authentication, add the Firebase SDK on React app. Copy your credential and insert it on React
config/fire.js
const firebaseConfig = { apiKey: "your_firebase_apiKey", authDomain: "your_firebase_authDomain", projectId: "your_firebase_projectId", storageBucket: "your_firebase_storageBucket", messagingSenderId: "your_firebase_messagingSenderId", appId: "your_firebase_appId" };
-
Run React locally:
$ npm start
⭐ Enjoy!