1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-14 14:42:55 +01:00
server/api
Madeline ecf59d30c5 User Notes (#707)
* Notes implementation.
Bug: Client does not save note locally after uploading to server. Client does save after reloading page. Is this due to the response being sent by PUT?

* I don't know why the client doesn't do optimistic UI updates with this, or any updates at all without reloading the page

* Added USER_NOTE_UPDATE event, thanks @TheRealGeoDash2019 !
2022-04-05 12:58:34 +03:00
..
.vscode
assets Make comments more accurate to use-case 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
locales New translations common.json (Russian) 2021-11-29 08:29:57 +01:00
patches
scripts Fix typo in table 'client_relase' -> 'client_release' ( and other of the same typo ) (#703) 2022-03-30 17:21:40 +03:00
src User Notes (#707) 2022-04-05 12:58:34 +03:00
tests
.dockerignore
.env.example General work on API 2021-12-18 19:17:04 +03:00
.gitignore
.npmignore
.prettierrc
babel.config.js
crowdin.yml
Dockerfile
LICENSE
package-lock.json Bump minimist from 1.2.5 to 1.2.6 in /api 2022-03-30 17:17:46 +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
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