ядро платформы
Go to file
2022-06-12 11:33:24 +03:00
auth confirm email on user registration improve 2022-06-09 13:52:56 +03:00
inbox_resolvers add userChats query 2022-06-11 17:35:10 +03:00
migration add email subscription table 2022-06-04 09:34:19 +03:00
orm add community subscription; unify subscription interface 2022-06-12 10:51:22 +03:00
redis use redis for storing messages - next 2022-01-24 14:56:55 +03:00
resolvers add community to shoutsSubscribed 2022-06-12 11:33:24 +03:00
.editorconfig tabs editor config 2021-10-30 22:37:57 +03:00
.gitignore migration script fix 2022-05-31 15:19:05 +03:00
.pre-commit-config.yaml wip: redis, sqlalchemy, structured, etc 2021-06-28 12:08:09 +03:00
create_crt.sh fix oauth 2021-11-10 16:46:16 +03:00
Dockerfile local dev with sqlite, exposing port 8080 2021-08-12 10:55:35 +03:00
exceptions.py wip: redis, sqlalchemy, structured, etc 2021-06-28 12:08:09 +03:00
inbox_main.py intro inbox service 2022-02-22 14:44:01 +03:00
inbox_schema.graphql add userChats query 2022-06-11 17:35:10 +03:00
InboxDockerfile inbox service dockerfile 2022-02-22 15:15:31 +03:00
main.py add shout stat 2021-12-17 11:22:31 +01:00
migrate.py add email subscription table 2022-06-04 09:34:19 +03:00
nginx.conf.sigil fix CORS config 2022-04-16 12:56:00 +03:00
Pipfile py2.9 2022-05-31 15:29:46 +03:00
poetry.lock typo 2021-12-05 23:54:17 +03:00
pyproject.toml typo 2021-12-05 23:54:17 +03:00
README.md migration script fix 2022-05-31 15:19:05 +03:00
requirements.txt initial topicUpdated 2021-11-04 19:37:41 +03:00
resolvers_base.py intro inbox service 2022-02-22 14:44:01 +03:00
schema.graphql add community subscription; unify subscription interface 2022-06-12 10:51:22 +03:00
server.py not published in feed. devmode try 2022-06-12 01:05:20 +03:00
settings.py confirm email on user registration improve 2022-06-09 13:52:56 +03:00

discoursio-api

Tech stack:

  • pyjwt
  • redis
  • ariadne
  • starlette

Local development

Install redis and poetry (or any python env manager) first

on osx

brew install redis poetry
brew services start redis

on debian/ubuntu

apt install redis python-poetry

Then run API server

poetry install
poetry run python server.py

Also see Dockerfile

How to do an authorized request

Put the header 'Auth' with token from signInQuery or registerQuery.