Skip to content

This is a webapp that display metric data from an API for Covid-19 cases globally. Built with - Javascript, HTML, CSS - React - Redux - API

License

Notifications You must be signed in to change notification settings

ppmarq1/covid-19-data-hub

Repository files navigation

COVID-19 DATA HUB

This is a webapp that display metric data from an API for Covid-19 cases globally

screenshot screenshot screenshot

Interactions

Home page

When the page loads, the webapp shows the list of categories that could be filtered out by some parameter. Along with the category name, it displays some numeric values per category that come from the API. When the user clicks (or taps) on a category item, the application navigates to the details page.

Details page

In the details page, the webapp retrieves data from the API to show detailed data in the category. When the user clicks on the "Back" button (<), the user navigates to the home page.

Built With

  • Javascript, HTML, CSS
  • React
  • Redux
  • API

Live Demo

Live Demo Link

Project Description

Click here to watch a video that gives a brief description of the project

Getting Started

  • To get a local copy up and running follow these simple example steps.

Setup

Prerequisites

  • Have a working and updated browser.
  • Have a local version control like git install on your computer.
  • Have an account and sign in on GitHub, as online/remote version control system.
  • Download waves to check project accessibilty.

Install

  • Lighthouse (An open-source, automated tool for improving the quality of web pages. It has audits for performance, accessibility, progressive web apps, SEO and more).

  • Webhint (A customizable linting tool that helps you improve your site's accessibility, speed, cross-browser compatibility, and more by checking your code for best practices and common errors).

  • Stylelint (A mighty, modern linter that helps you avoid errors and enforce conventions in your styles).

  • ESlint (A mighty, modern linter that helps you avoid errors and enforce conventions in JavaScript codes)

Create React App

  • npx create-react-app my-app
  • npm install redux react-redux
  • cd my-app
  • npm run start

Run tests

  • npx hint . : To test html codes
  • npx stylelint "/*.{css,scss}"** : To test css code
  • npx eslint . : To test Eslint Report
  • npm run test : To run the tests.

Deployment

  • Go to settings
  • Click on pages
  • Choose your source
  • Choose folder
  • choose a theme(optional)
  • Enforce HTTPS
  • And then save

Authors

👤 Pedro Marques

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • UI Inspired by Nelson Sakwa on Behance

📝 License

This project is MIT licensed.

About

This is a webapp that display metric data from an API for Covid-19 cases globally. Built with - Javascript, HTML, CSS - React - Redux - API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published