/xy-inc

Primary LanguagePythonMIT LicenseMIT

xy-inc

A simple RESTful service which manipulates points of interest. A point of interest has a name and an (x, y) coordinate. The service allows the addition of points, listing all stored points and listing points within a given distance of a given coordinate. The project is written entirely in Python 3 and depends only on its standard library.

Setup

Simply clone this repository.

Execution

Start the server with python3 main.py or simply ./main.py on Bash.

Tests

Have the server running and use python3 test.py or ./test.py.