App for finding interesting areas near your location.
See it at autioch.github.io/tracker-poznan.
- configurable list of displayed, mesured and reachable points
- MPK Poznan communication routes
- few grocery chain shops
- pharmacies
- ATMS
- tracking current location or selecting custom location
- Clone this repository.
- Gather data. In
gatherer
folder:
- create file
opencagekey.mjs
, which should have contentsexport default '<yourkey>';
- run
npm i
- run
npm run gather
, this will attempt to get up to date data - run
npm run parse
, this will parse the data and place it indocs/data
.
- Setup webapp. In
webapp
folder:
- run
npm i
- run
npm run start
, this will setup dev verion atlocalhost:8080
- run
npm run build
to build own version (change publicPath in webpack config)
- frontend framework, pure vanilla
- database, this was experimental and turns out, jsons are good enough
- open street map database, which could potentially be used
- checkout webpack https://www.npmjs.com/package/offline-plugin
- checkout https://developers.google.com/web/tools/workbox/guides/get-started
- search by address
- Translating current location to an address
- Button to reset to see all items (selected or not)
- Display inactive mpk stops
- Display only icons visible in the viewport
- Check items available on https://promocyjni.interia.pl/duza-mapa
Those are very raw, will be refined at some point.
- In folder
gatherer
, runnpm run gather
, thennpm run parse
. - In file
docs/service-worker.js
, updateCACHE_NAME
version. - In folder
webapp
, runnpm run build
. - Push changes.