ядро платформы
Go to file
2021-12-08 13:29:04 +03:00
auth add RoleStorage; add mutations for community 2021-11-24 18:53:01 +03:00
migration migrate user rating; remove unused user column 2021-12-08 13:29:04 +03:00
orm migrate user rating; remove unused user column 2021-12-08 13:29:04 +03:00
redis fix redis client 2021-08-16 15:09:04 +03:00
resolvers migrate user rating; remove unused user column 2021-12-08 13:29:04 +03:00
.editorconfig tabs editor config 2021-10-30 22:37:57 +03:00
.gitignore pem 2021-10-31 02:42:04 +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
main.py TopShouts -> ShoutsCache 2021-10-31 20:55:59 +03:00
migrate.py migrate user rating; remove unused user column 2021-12-08 13:29:04 +03:00
nginx.conf.sigil fix nginx.conf and oauth callback 2021-11-10 17:10:59 +03:00
Pipfile Merge 2021-08-26 18:48:48 +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 fixes 2021-11-23 10:16:42 +03:00
requirements.txt initial topicUpdated 2021-11-04 19:37:41 +03:00
schema.graphql add getShoutComments 2021-12-06 17:50:49 +03:00
server.py update topics logix 2021-10-28 13:42:34 +03:00
settings.py fix oauth 2021-11-10 16:46:16 +03:00

discoursio-api

Tech stack:

  • pyjwt
  • redis
  • ariadne
  • starlette

Local development

Install redis and pipenv first

brew install redis pipenv
brew services start redis

Create certificate files

./create_crt.sh

Then run API server

pipenv install
pipenv run python server.py

Also see Dockerfile

How to do an authorized request

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