ядро платформы
Go to file
Untone f4f1b3bb45
Some checks failed
deploy / deploy (push) Failing after 22s
search-query-fix
2023-12-25 04:35:21 +03:00
.gitea/workflows feat: add to CI/CD piplin 2023-10-15 15:33:11 -03:00
.github/workflows my feed query fixed 2023-07-05 16:08:17 +02:00
orm resolvers-fix 2023-12-23 22:00:22 +03:00
resolvers search-query-fix 2023-12-25 04:35:21 +03:00
schemas search-results-fix 2023-12-25 04:27:02 +03:00
services add-role-feature 2023-12-25 01:42:39 +03:00
.editorconfig migration, auth, refactoring, formatting 2022-09-17 21:12:14 +03:00
.gitignore update-last-seen-author 2023-12-18 01:20:00 +03:00
CHANGELOG.txt sqlalchemy-debug 2023-12-24 17:25:57 +03:00
Dockerfile curl-fix 2023-11-23 00:19:15 +03:00
main.py sqlalchemy-debug 2023-12-24 17:25:57 +03:00
nginx.conf.sigil feat: /connect/ 2023-10-18 07:33:36 -03:00
pyproject.toml viewed-service-fixes 2023-12-17 23:30:20 +03:00
README.md resolvers-updates 2023-12-16 18:24:30 +03:00
server.py sqlalchemy-debug 2023-12-24 17:25:57 +03:00
settings.py sqlalchemy-debug 2023-12-24 17:25:57 +03:00

discoursio-core

  • sqlalchemy
  • redis
  • ariadne
  • starlette
  • uvicorn

Local development

Install deps first

on osx

brew install redis nginx postgres
brew services start redis

on debian/ubuntu

apt install redis nginx

Then run nginx, redis and API server

mkdir .venv
python3.12 -m venv .venv
poetry env use .venv/bin/python3.12
poetry update
poetry run python server.py

Services

Auth

Setup WEBHOOK_SECRET env var, webhook payload on /new-author is expected when User is created. In front-end put the header 'Authorization' with token from signIn query or registerUser mutation.

Viewed

Set ACKEE_TOKEN var to collect stats

Seacrh

ElasticSearch

Notifications

Connected using Redis PubSub channels

Inbox

To get unread counter raw redis query to Inbox's data is used

Following Manager

Internal service with async access to storage