Randomly generate User and Company, and then show both locations on google map
DEMO:
- npm
- typescript
- ts-node
$ sudo npm install -g typescript ts-node
- parcel bundler: compile
.ts
file to JS then replace this script tag inindex.html
$ sudo npm install -g parcel-bundler
Clone repo, cd into folder then:
$ npm install
$ parcel index.html
-> Copy and open localhost in your browser
- Faker: generate fake data
- Maps JavaScript API (Google API Console)