ядро платформы
Go to file
2021-12-15 10:39:32 +03:00
auth fixurl 2021-12-13 15:14:37 +03:00
migration mgrate topic descriptions and shout views 2021-12-15 10:39:32 +03:00
orm return all rating for shout; unify rating fields 2021-12-14 19:37:49 +03:00
redis fix redis client 2021-08-16 15:09:04 +03:00
resolvers top_authors commented out 2021-12-15 04:23:22 +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 add getTopicAuthors 2021-12-13 21:05:00 +03:00
migrate.py remove shout id 2021-12-13 10:50:33 +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 schema fix 2021-12-15 04:25:11 +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.