Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Latest commit

 

History

History
38 lines (24 loc) · 812 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 812 Bytes

Topio Maps

Quick Start

Clone the repository with the --recursive option to automatically clone submodules:

git clone --recursive path/to/repo`

Install NodeJS >= 7.10.0 , if needed, from here.

Start the development application locally:

npm i
npm start

The application runs at http://localhost:8081 afterwards.

API examples

  • List of all users
curl -u admin:admin -XGET 'http://localhost:8081/rest/geostore/users'
  • Add new user
curl -u admin:admin -XPOST -H 'Content-type: text/xml' -d '<User><name>topio</name><newPassword>topio</newPassword><role>USER</role></User>' 'http://localhost:8080/rest/geostore/rest/users'

LICENSE

This program is free software. See LICENSE.txt for more information.