mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-24 03:12:38 +01:00
Mirror of https://github.com/spacebarchat/server
4c0c09c8bc
Create new route for /api which can handle routing of unversioned requests. Update regex for NO_AUTHORIZATION_ROUTES to support unversioned requests. |
||
---|---|---|
__tests__/routes/auth | ||
.github | ||
.vscode | ||
assets | ||
cache/widget | ||
client_test | ||
locales | ||
scripts | ||
src | ||
.env.example | ||
.gitignore | ||
.npmignore | ||
.prettierrc | ||
crowdin.yml | ||
Dockerfile | ||
jest.config.ts | ||
jsconfig.json | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
Fosscord HTTP API Server
About
This repository contains the Fosscord HTTP API Server
Bug Tracker
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-api
cd discord-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