Nodejs, Typescript and OSM based map for parents in Leipzig. Inspired by Kidsle (Github and Portal). This repo contains the backend only. The frontend takka-tukka can be found there.
To use this project you need to install the javascript-server Node.js. Node.js comes with a packetmanager called npm. It is recommended to install the following two npm-packages globally, so the executables can be launched from any path.
# npm install -g typescript
# npm install -g typings
Typescript is a javascript compiler and Typings is needed to bring codecompletion / intellisense in your editor. Every javascript-library has their own codecompletion definitions file (d.ts). These Files are stored in the typings-folder.
Before you can start, you need to install the required npm packages.
# npm install
Now all packages where included in the package.json will be installed.
Build:
# npm tsc
Test:
# npm test
Run:
# npm start
Try it in your browser:
# http://localhost:8000/api/playgrounds/
- new feature: Transform the overpass result to a simpler geojson-structure
- new feature: Simple test suite using Mocha and Chai
- new feature: Export utility functions to dedicated helper module
- new feature: Cronjob that frequently query overpass-api using the npm package 'query-overpass'
- Initial commit