roy1210 / random-map

Randomly generate User and Company, and then show both locations on google map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random map

Description

Randomly generate User and Company, and then show both locations on google map

DEMO:

Requirement

  • npm
  • typescript
  • ts-node
    $ sudo npm install -g typescript ts-node
  • parcel bundler: compile .ts file to JS then replace this script tag in index.html
    $ sudo npm install -g parcel-bundler

Usage

Clone repo, cd into folder then:

$ npm install
$ parcel index.html

-> Copy and open localhost in your browser

Tools

  • Faker: generate fake data
  • Maps JavaScript API (Google API Console)

About

Randomly generate User and Company, and then show both locations on google map

License:MIT License


Languages

Language:TypeScript 84.8%Language:HTML 15.2%