1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 10:52:31 +01:00
server/api
2022-02-25 18:13:59 +03:00
..
.vscode prettier formatted /api 2021-10-20 09:13:22 +09:00
assets changed user.premium_since to also load from the database. 2022-02-18 19:50:11 +03:00
client_test Merge pull request #608 from Featyre/master 2022-02-16 21:16:20 +03:00
jest
locales New translations common.json (Russian) 2021-11-29 08:29:57 +01:00
patches
scripts Bump node-fetch from 2.6.6 to 2.6.7 in /api/scripts/stresstest 2022-01-23 07:46:43 +03:00
src Merge pull request #621 from fosscord/origin/dev/erkinalp/self-bans 2022-02-25 18:13:59 +03:00
tests 🎨 reformatted 2021-10-17 00:41:24 +02:00
.dockerignore
.env.example General work on API 2021-12-18 19:17:04 +03:00
.gitignore
.npmignore
.prettierrc
babel.config.js
crowdin.yml prettier formatted /api 2021-10-20 09:13:22 +09:00
Dockerfile Revert "fix: make API dockerfile use correct setup steps" 2021-10-18 14:36:57 +02:00
LICENSE
package-lock.json Bump url-parse from 1.5.3 to 1.5.7 in /api 2022-02-19 10:55:34 +03:00
package.json Bump node-fetch from 2.6.2 to 3.1.1 in /api 2022-01-23 07:41:40 +03:00
README.md
tsconfig.json 🎨 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