This is a practice project for creating space like Google Drive and Dropbox.
Below are some screenshots
-
Clone the repo
git clone https://github.com/keiken-shin/airspace.git
-
Install dependencies
npm i
-
Create .env.local file inside root directory
touch .env.local
-
Create Firebase project and enable Email and Google auth
-
Then inside .env.local paste firebase confing with the following environment variables.
REACT_APP_FIREBASE_API_KEY REACT_APP_FIREBASE_AUTH_DOMAIN REACT_APP_FIREBASE_DATABASE_URL REACT_APP_FIREBASE_PROJECT_ID REACT_APP_FIREBASE_STORAGE_BUCKET REACT_APP_FIREBASE_MESSAGE_SENDER_ID REACT_APP_FIREBASE_APP_ID
-
Start the development server
npm start
-
Generate production build
npm run build
-
Preview the site as it will appear once deployed
npx serve -s build