1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-24 03:12:38 +01:00
Go to file
Umimaso 4c0c09c8bc feat: add routing for unversioned api requests
Create new route for /api which can handle routing of unversioned
requests. Update regex for NO_AUTHORIZATION_ROUTES to support
unversioned requests.
2021-06-19 15:49:49 +01:00
__tests__/routes/auth setup jest environment 2021-03-30 15:39:00 +02:00
.github Create codeql-analysis.yml 2021-05-28 18:10:59 +02:00
.vscode 🎨 [Route] templates refactor 2021-05-07 20:03:24 +02:00
assets Fix merge issues, update to reflect config changes and package.json 2021-05-22 15:55:45 -05:00
cache/widget feat: add widget endpoints 2021-06-19 14:50:11 +01:00
client_test feat: add widget endpoints 2021-06-19 14:50:11 +01:00
locales Merge pull request #149 from fosscord/l10n_master 2021-05-24 20:56:22 +02:00
scripts Scripts: Generator should use necessary instead of required 2021-05-22 20:14:48 -05:00
src feat: add routing for unversioned api requests 2021-06-19 15:49:49 +01:00
.env.example use new config 2021-05-24 20:47:06 +02:00
.gitignore Scripts: Be able to generate config 2021-05-22 19:57:01 -05:00
.npmignore prepare npm publish 2021-04-22 23:29:06 +02:00
.prettierrc Some refactor, fix channel_delete event and @everyone role appearing on member roles 2021-05-11 10:33:56 -03:00
crowdin.yml Update Crowdin configuration file 2021-05-01 16:08:11 +02:00
Dockerfile Remove obsolete npx patch-package command 2021-05-29 22:36:41 +03:00
jest.config.ts setup jest environment 2021-03-30 15:39:00 +02:00
jsconfig.json 🐛 remove relative @paths 2021-03-27 21:52:02 +01:00
LICENSE 📄 GPL V3 license 2021-05-08 12:55:07 +02:00
package-lock.json Guild invites 2021-06-02 19:22:22 +02:00
package.json feat: add widget endpoints 2021-06-19 14:50:11 +01:00
README.md add opencollective 2021-05-08 23:05:08 +02:00
tsconfig.json Fix merge issues, update to reflect config changes and package.json 2021-05-22 15:55:45 -05: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-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