ядро платформы
Go to file
2021-10-30 22:01:14 +03:00
auth fix signIn 2021-10-24 17:13:32 +03:00
migration update topics logix 2021-10-28 13:42:34 +03:00
orm update topics logix 2021-10-28 13:42:34 +03:00
redis fix redis client 2021-08-16 15:09:04 +03:00
resolvers syntax fix 2021-10-30 22:01:14 +03:00
.gitignore Aaron is back 2021-10-10 15:36:57 +03:00
.pre-commit-config.yaml wip: redis, sqlalchemy, structured, etc 2021-06-28 12:08:09 +03:00
create_crt.sh update topics logix 2021-10-28 13:42:34 +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 ShoutViewStorage refactor 2021-09-29 15:59:48 +03:00
migrate.py fix migration 2021-10-16 16:53:46 +03:00
nginx.conf.sigil nginx.conf 2021-09-15 11:55:15 +02:00
Pipfile Merge 2021-08-26 18:48:48 +03:00
poetry.lock migration fix, new html2text, export wip 2021-10-15 13:00:26 +03:00
pyproject.toml migration fix, new html2text, export wip 2021-10-15 13:00:26 +03:00
README.md formatted 2021-08-21 02:17:15 +03:00
requirements.txt new authlib and httpx version 2021-10-24 13:51:35 +03:00
schema.graphql needed queries 2021-10-30 19:58:15 +03:00
server.py update topics logix 2021-10-28 13:42:34 +03:00
settings.py add db url 2021-09-09 19:05:07 +03:00

discours-backend-next

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.