1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-14 14:42:55 +01:00
server/api
2022-03-27 15:42:42 +03:00
..
.vscode prettier formatted /api 2021-10-20 09:13:22 +09:00
assets Create fosscord-login.js 2022-03-27 15:42:42 +03:00
client_test Merge pull request #608 from Featyre/master 2022-02-16 21:16:20 +03:00
jest generate openapi documentation 2021-09-21 22:52:30 +02:00
locales New translations common.json (Russian) 2021-11-29 08:29:57 +01:00
patches 🚧 new body parser (bans route) 2021-09-12 21:21:08 +02:00
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 fix(api): add vanity urls creation/update (#665) 2022-03-09 17:35:19 +03:00
tests 🎨 reformatted 2021-10-17 00:41:24 +02:00
.dockerignore api 2021-08-12 20:09:35 +02:00
.env.example General work on API 2021-12-18 19:17:04 +03: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
babel.config.js 🎨 use typescript plugin that converts to relative paths 2021-09-18 01:50:20 +02:00
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 api 2021-08-12 20:09:35 +02:00
package-lock.json Fixed npm run tsnode throwing error about ES modules for node-fetch. Probably was api package.json still included node-fetch 3, but bundle still had v2 2022-03-06 10:52:19 +03:00
package.json Fixed npm run tsnode throwing error about ES modules for node-fetch. Probably was api package.json still included node-fetch 3, but bundle still had v2 2022-03-06 10:52:19 +03:00
README.md 📝 updated links to fosscord-server 2021-08-13 13:18:45 +02:00
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