Milstone-Project2
It is an app on live tracking of recent Covid19 cases worldwide based on Google map along with javascript. It shows the latest data using live Covid19 cases APIs, it can use by anyone, and based on user search it displays the selected country with covid19 cases e.x: Total cases, Recovered and Deaths in number as well as total update cases for the whole world. Individual country's information can be displayed by click on each country's marker. The site also has a reference link TO the World Health Organisation(WHO) which can provide important information and guidelines during this on-going Covid19 pandemic.
UX
Expected users of the website could be any individuals who want to know about the covid19 pandemic locally or globally. Goals
- The main goal is to provide platform for users to know more about the ongoing covid19 pandemic around the globe.
- To make an interactive website with Javascript,Google map Api and the current live data from various APIs source.
- To make visual for all available cases about Covid19 and give an overview of each and every country.
- To create a design that would be responsive.
User Stories
- Seun Owonikoko (mentor) - She searched her country Nigeria's recent cases and at the same time compared the pandemic between several countries(e.x: Estonia, India, Bangladesh).
- Aziz Kaura 32, France - "It's interesting to see the map and data at the same time, now I can search and find out cases for any country".
- Momotaj 35(Data-scientist, NZ) -" COVID-19 WORLDWIDE TRACKER is a very interactive dashboard and provides real-time statistics about Covid-19 across the globe. The page is very attractive and readable. I liked the developing pattern of the website which is giving active filtering options by countries, and a summary of the total case of the world."
- Tusher 22 - " Now I can follow the corona virus cases of my country and can evaluate the situation".
- Sohag 25 - He searched the data for some countries in his Iphone-8 and the site was working well.
Frameworks and responsivenes
Wireframes
- Figma layout:https://www.figma.com/file/D494G7ujMm0HjOu5rkzOw1/Covid-19-cases?node-id=0%3A1- automatic!
Features
- Worldmap: Google Map has used with map-tile layer and styled in Night mode.
- Search Country: with the jquery a search country bar used to search specific country name and a pop-up window appears with data.
- Marker: Google map default marker used to display a clickable icon on the map.
- Info-window: An Info-window used to show the data of individual countries on the map via API.
- Dashboard: Displayed the total cases of the world from the live API.
- Controls: A basic zoom control with two buttons (zoom in and zoom out) for the map.
- Guidelines: a clickable button at the top will recommend users to WHO Guidelines Page for the Pandemic.
Features to be
- I would like to add a more efficient and reliable API for better User Experiences.
- Adding Graphs to show data over a timeline would be a good feature.
- Zoom in feature upon clicking search bar would more accurate via better API(latitude and longitude)
Technologies Used
- Figma: The collaborative interface design tool.
- HTML: HTML for structure or used as shell of site
- CSS: Cascading Style Sheet for styling and design
- Bootstrap: Framework from Bootstrap
- Javascript: For all user Interactions
- JQuery: To simplify DOM manipulation
- GoogleMap API: An open source Javascript API for interactive map
- Axois: provides a single API for dealing with XMLHttpRequests
- Font-awesome: https://fontawesome.com/
- Google-front: https://fonts.google.com/
- Google Chrome: Used for dev tools and browser
- Mozila Firefox:Used for browser
- Google: Used for research
- Git: For Version control
- Github: Repository host
- Github Page: Website host
Testing
-
HTML Validator: https://validator.w3.org/ No errors or warnings to show.
-
CSS validator:https://jigsaw.w3.org/css-validator/validator
-
Javascript Validator:https://jshint.com/
-
The site was tested in several devices for validate the UX features inculding:
- Dekstop
- Laptop
- Ipad and Ipad pro screen using dev tool in google Chrome
- Iphon8
- Huawei P20
- Galaxy S7
- Samsung A5
- Testing compatibility with different browsers
I manually tested the website on the following web browsers:
- Google Chrome
- Mozilla Firefox
- Apple Safari
Deployment
The project is hosted on Github.
- AT first, host a git repository on GitHub.
- The project contains README.md,index.html, js, CSS files.
- The CSS folder contains a style.css file.
- the js folder contains index.js and map-style.js.
- Move to the GitHub Pages section on the GitHub repository settings page.
- On the setting, page changes the source to 'master branch' or any other desired branch.
- The appeared link would be the project home page (index.html).
- My repository can be found here:
- The live site can found on https://himaldew.github.io/Milstone-Project2/
Credit
- I am highly inspired by "https://jeet-khondker.github.io/covid19-live-tracker/". (major code source)
- The World Health Organization(WHO)
- Freecodecame ("https://www.freecodecamp.org/news/how-to-add-coronavirus-covid-19-case-statistics-to-your-map-dashboard-in-gatsby-and-react-leaflet/")
- Google map Javascript API("https://developers.google.com/maps/documentation/javascript/overview")
- https://www.youtube.com/(Code explained channel)
- https://corona.lmao.ninja/v2/countries
- https://api.covid19api.com/summary
- https://www.w3schools.com/
- https://stackoverflow.com/
Acknowledgements
Thank you to the following for inspiration, motivation, and the direction I needed:
- Jeet-Khondker(covid19 live tracker)
- Seun Owonikoko @seun_mentor
- Tutor Assistant-Code Institute