Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 631 Bytes

README.md

File metadata and controls

48 lines (37 loc) · 631 Bytes

Installation

Clone the repo and run

npm install

Development

You can run the database in docker with the following commands:

docker run --name robocodecup-mongo -p 27017:27017 -d mongo

API

To generate api documentation please use the apidoc package.

Install

npm install -g apidoc

Run

apidoc -i "resources" -o apidoc

See

Run the server and go to /apidoc to see the documentation.

GET /team.json

List all teams

Example output

{
    "status": "ok",
    "response": [
        {
            "name": "USEB 2016",
            "id": "1"
        }
    ]
}