Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.eslintignore
.gitignore
README.md
component.js Initial commit Oct 3, 2018
index.html
package-lock.json
package.json
styles.css

README.md

Pubsub - demo

Small app displaying a library of your favourite places on a Google Map. Created step-by-step in article: https://medium.com/@hubert.zub/why-every-beginner-front-end-developer-should-know-publish-subscribe-pattern-72a12cd68d44

How to use: click a city in order to add new place.

  1. How to build and run the app:
npm install
npm run build
npm install -g serve
serve -s
  1. How to enable full Google Maps API integration:

In index.html, in line #20 add &key=YOUR_KEY at the end of the script URL. E.g.:

<script src="https://maps.googleapis.com/maps/api/js?key=ABCDEFGHIJKL123456"></script>