GithubHelp home page GithubHelp logo

koolkamalkishor / corona-virus-map Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carlan/corona-virus-map

0.0 1.0 0.0 2.51 MB

A full stack application to show information about the Coronavirus areas affected near you.

JavaScript 82.98% CSS 9.78% HTML 7.24%

corona-virus-map's Introduction

CoronavirusMap

๐Ÿค’ Coronavirus map ๐Ÿค’

A full stack application to show information about the Coronavirus areas affected near you.

CoronavirusMap

๐Ÿ“ƒ TODO:

  • Setup client
    • Create a React application
    • install setup linter
    • Grab sample data from a json file
    • Add a map
      • Let user use own location
      • Display fullscreen
      • Add map controls for zoom in and out
    • Show a pin on locations affected
      • Add popup with more information in case pin is clicked
    • Split app in components
    • Create a dashboard view
    • Update README.md
  • Setup server
    • Create a Node.js application
      • Install dependencies
      • install setup linter
      • Setup express application
      • Setup middlewares for error handling
    • Add route to scrape the data
      • Update user-agent on each request
      • Add latitude and logitude to the data scraped
    • Split application in files controllers, service, utils
    • Update README.md
  • Update README.md to add gif of application working
  • Create Docker config
  • Host it
  • Clean up README.md

๐Ÿ Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

๐Ÿ“œ Prerequisites

  • Get a TOKEN for the map here
  • Place your TOKEN on .env configuration file. See below.

โณ Installing

To get a copy and run this application, you'll need at least Node.js (and npm) installed on your computer. Git is optional as you can download a zip and have it extracted.

If you want to follow the git clone route:

# Clone the repository
$ git clone https://github.com/carlan/corona-virus-map

# Go into the cloned repository directory
$ cd corona-virus-map

With Node.js installed. Let's install the dependencies of client and run the application:

$ cd client
# Add the map TOKEN on the enviroment configuration file
$ cp .env.sample .env
# Edit the file (.env) in your prefered editor and place your TOKEN on REACT_APP_MapboxAccessToken=<HERE>
$ npm install <OR> yarn install
$ npm start <OR> yarn start

Now, install the dependencies of server and run the application:

$ cd server
$ npm install <OR> yarn install
$ npm start <OR> yarn start

Opening the application on http://localhost:3000 you should be able to see a map with the affected locations of Coronavirus along with some case information for each region/country and map view options.

๐Ÿ‘ท Built With

๐Ÿ‘จโ€๐Ÿ’ป Authors

  • Carlan Calazans - Initial work - carlan

๐Ÿ“™ License

This project is licensed under the MIT License - see the LICENSE.md file for details

๐Ÿค Acknowledgments

corona-virus-map's People

Contributors

carlan avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.