/wot-server

Server for federated Web of Trust

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Web of Trust Server

Server for Web of Trust.

Inspired by: Scalable Moderation using a web-of-trust model

Authenticated, pseudonymous user and content ratings

Setup

pip install -r requirements.txt
cp default_settings.py settings.py       # then edit settings to fix path to code
sqlite3 main.db < schema.sql

Usage

python3 server.py

Testing

python -m test

REST API

The API is defined in openapi-spec.yaml

You can open this in an API tool like Insomnia or Postman for easy testing of a running server.py.