ядро платформы
Go to file
Untone 909ddbd79d
All checks were successful
deploy / deploy (push) Successful in 2m16s
pyright-fix
2023-11-27 11:12:42 +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 0.2.14 2023-11-22 19:38:39 +03:00
resolvers logs-fix 2023-11-24 04:53:30 +03:00
schemas logs-fix 2023-11-24 04:53:30 +03:00
services logs-fix 2023-11-24 04:53:30 +03:00
.editorconfig migration, auth, refactoring, formatting 2022-09-17 21:12:14 +03:00
.gitignore pyright-fix 2023-11-27 11:12:42 +03:00
CHANGELOG.txt logs-fix 2023-11-24 04:53:30 +03:00
Dockerfile curl-fix 2023-11-23 00:19:15 +03:00
main.py merged-isolated-core 2023-10-23 17:47:11 +03:00
nginx.conf.sigil feat: /connect/ 2023-10-18 07:33:36 -03:00
pyproject.toml pyright-fix 2023-11-27 11:12:42 +03:00
README.md pyright-fix 2023-11-27 11:12:42 +03:00
server.py merged-isolated-core 2023-10-23 17:47:11 +03:00
settings.py binary-back-dburl-fix 2023-11-22 21:06:45 +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

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