1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-23 10:52:30 +01:00
server/api
Flam3rboy 44ea23f648 Merge pull request #301 from fosscord/feat--DiscordApiErrors
Use discord api errors and check limits
2021-09-01 11:31:59 +02:00
..
.vscode
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
.env.example
.gitignore added db to gitignore 2021-08-30 16:11:34 +02:00
.npmignore
.prettierrc
crowdin.yml
Dockerfile 📝 updated links to fosscord-server 2021-08-13 13:18:45 +02:00
jsconfig.json
LICENSE
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
tsconfig.json

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