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

Das-Uhrwerk/Clockwork-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published