Skip to content

Latest commit

 

History

History
67 lines (49 loc) · 1.79 KB

README.md

File metadata and controls

67 lines (49 loc) · 1.79 KB

OSM4kids build status

Introduction

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.

Requirements

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.

how to run ...

Build:

# npm tsc

Test:

# npm test

Run:

# npm start

Try it in your browser:

# http://localhost:8000/api/playgrounds/

CHANGELOG

0.0.4

  • new feature: Transform the overpass result to a simpler geojson-structure

0.0.3

  • new feature: Simple test suite using Mocha and Chai

0.0.2

  • new feature: Export utility functions to dedicated helper module

0.0.1

  • new feature: Cronjob that frequently query overpass-api using the npm package 'query-overpass'

0.0.0

  • Initial commit