/medienhaus-context-moderation-backend

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

medienhaus/

Customizable, modular, free and open-source environment for decentralized, distributed communication and collaboration without third-party dependencies.

WebsiteFediverse


medienhaus-context-moderation-backend

A simple email notification backend which was developed in addition to a simple web application for matrix space/room moderators to accept or deny knock requests.

Configuration

  • Rename .env.example to .env and edit as needed
  • Create spaces-export.json with moderator email address lookup data

Installation

npm install

Run

# development
npm run start

# watch mode
npm run start:dev

# production mode
npm run build
npm run start:prod

Test

# unit tests
npm run test

# e2e tests
npm run test:e2e

# test coverage
npm run test:cov