unknownPerson115 a57182357d Updated stop.ts
updated stop.ts so it checks for user rights instead of the SYSTEM flag which can possibly cause some unnecessary complications when it comes to instance management

*also has been tested with multiple tokens to be sure that this does NOT permit normal users to POST to the /stop API route
**NOTE**: instance owners will have to re-run `npm run setup` for these changes to take effect
2021-12-29 17:42:26 +03:00
..
2021-10-20 09:13:22 +09:00
2021-12-21 11:56:33 +01:00
2021-11-11 22:26:49 +01:00
2021-09-21 22:52:30 +02:00
2021-09-12 21:21:08 +02:00
2021-12-26 16:41:22 +01:00
2021-12-29 17:42:26 +03:00
2021-10-17 00:41:24 +02:00
api
2021-08-12 20:09:35 +02:00
2021-12-18 19:17:04 +03:00
2021-08-30 16:11:34 +02:00
api
2021-08-12 20:09:35 +02:00
api
2021-08-12 20:09:35 +02:00
2021-10-20 09:13:22 +09:00
api
2021-08-12 20:09:35 +02:00
2021-08-13 13:18:45 +02:00
🎨 reformat
2021-10-15 00:03:35 +02:00

Fosscord HTTP API Server

About

This repository contains the Fosscord HTTP API Server

Bug Tracker

Project Board

API

We use express for the HTTP Server and lambert-server for route handling and body validation (customized).

Contribution

You should be familiar with:

and the other technologies we use

Getting Started

Clone the Repository:

git clone https://github.com/fosscord/fosscord-server
cd fosscord-server

Install (dev)dependencies:

npm install
npm install --only=dev

Starting:

npm start

Debugging:

Vscode: The Launch file configuration is in ./vscode/launch.json, so you can just debug the server by pressing F5 or the > Launch Server button