Skip to content
This repository was archived by the owner on Jun 6, 2019. It is now read-only.

Latest commit

 

History

History
41 lines (29 loc) · 1.06 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.06 KB

Clockwork-API

📶 Serverstatus | Administration API

CircleCI

Install

# Build
git clone https://github.com/Das-Uhrwerk/Clockwork-API.git
npm i

# Run
npm start
# the production server will run it via pm2

# Test
curl localhost:3000/api/

Routes

Currently the API only supports reading via GET, more information on the planned layout will be following up.

Route Description
GET /server List configured servers
GET /server/all Query all serverdata
GET /server/:servername Query single serverdata by servername
GET /server/all Query all serverdata

Development stack

Recommandation:

If you are developing on Windows consider the use of babun 🔗 until WSL (bash on windows) is fully ready for productive usage.