1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-07 03:12:39 +01:00
server/api
Flam3rboy 07b49d4324
Merge pull request #301 from fosscord/feat--DiscordApiErrors
Use discord api errors and check limits
2021-09-01 11:31:59 +02:00
..
.vscode api 2021-08-12 20:09:35 +02:00
assets delete assets 2021-08-15 22:01:13 +02:00
client_test 🔊 opcode logger 2021-08-18 11:56:30 +02:00
jest added setup for jest tests 2021-08-30 16:21:54 +02:00
locales TR 2021-08-27 23:28:55 +03:00
scripts added setup for jest tests 2021-08-30 16:21:54 +02:00
src use DiscordApiErrors and check limits 2021-09-01 11:27:52 +02:00
tests/routes added first unittests for api endpoints 2021-08-30 16:23:19 +02:00
.dockerignore api 2021-08-12 20:09:35 +02:00
.env.example api 2021-08-12 20:09:35 +02:00
.gitignore added db to gitignore 2021-08-30 16:11:34 +02:00
.npmignore api 2021-08-12 20:09:35 +02:00
.prettierrc api 2021-08-12 20:09:35 +02:00
crowdin.yml api 2021-08-12 20:09:35 +02:00
Dockerfile 📝 updated links to fosscord-server 2021-08-13 13:18:45 +02:00
jsconfig.json api 2021-08-12 20:09:35 +02:00
LICENSE api 2021-08-12 20:09:35 +02:00
package-lock.json 🐛 db query fixes 2021-08-31 17:58:47 +02:00
package.json 🐛 db query fixes 2021-08-31 17:58:47 +02:00
README.md 📝 updated links to fosscord-server 2021-08-13 13:18:45 +02:00
tsconfig-docker.json api 2021-08-12 20:09:35 +02:00
tsconfig.json api 2021-08-12 20:09: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