Skip to content

khoivudev/tutorial-web-front-end-react-covid-19-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plan of Action

  1. Create Wireframe (mockup)
  • Scratch Screen
  • Visualize what do you want to do)
  1. Create react app
create-react-app $APPNAME
  1. Cleanup Project
  • Delete test file (App.test.js, setupTest)
  • Delete App.css content
  • Delete logo.svg
  • Clear content in App.js
  • rename className "App"-> "app"
  1. Structure of Covid Tracker
  2. Create Header
  3. Create Info Boxes
  4. Create table
  5. Create Chart
  6. Create Map
  7. Styling
  • Material Design
  1. Deployment

Tech

  • React Hook
  • Material Design
  • Graph: react-chartjs-2, chartjs
  • Map: react-leaflet
  • CSS BEM name convention

Development

npm install npm start

Deployment

Domain: Firebase

npm run build
npm i -g firebase-tools
firebase login
firebase init
  • Hosting
  • Use an existing project
  • build singer page app
  • Change hosting in firebase.json -> build folder
firebase deploy
```