ядро платформы
Go to file
2021-06-30 14:46:19 +03:00
auth minimal requirements, one schema, readme update 2021-06-30 14:46:19 +03:00
orm register user, sign in and sign out working 2021-06-29 13:26:46 +03:00
redis wip: redis, sqlalchemy, structured, etc 2021-06-28 12:08:09 +03:00
resolvers register user, sign in and sign out working 2021-06-29 13:26:46 +03:00
.gitignore minimal requirements, one schema, readme update 2021-06-30 14:46:19 +03:00
.pre-commit-config.yaml wip: redis, sqlalchemy, structured, etc 2021-06-28 12:08:09 +03:00
Dockerfile minimal requirements, one schema, readme update 2021-06-30 14:46:19 +03:00
exceptions.py wip: redis, sqlalchemy, structured, etc 2021-06-28 12:08:09 +03:00
main.py minimal requirements, one schema, readme update 2021-06-30 14:46:19 +03:00
Pipfile minimal requirements, one schema, readme update 2021-06-30 14:46:19 +03:00
Pipfile.lock minimal requirements, one schema, readme update 2021-06-30 14:46:19 +03:00
README.md minimal requirements, one schema, readme update 2021-06-30 14:46:19 +03:00
requirements.txt minimal requirements, one schema, readme update 2021-06-30 14:46:19 +03:00
schema.graphql minimal requirements, one schema, readme update 2021-06-30 14:46:19 +03:00
server.py minimal requirements, one schema, readme update 2021-06-30 14:46:19 +03:00
settings.py minimal requirements, one schema, readme update 2021-06-30 14:46:19 +03:00

discours-backend-next

Tech stack:

  • pyjwt
  • redis
  • ariadne
  • starlette

Local development

Install redis first, then start

''' brew install redis brew services start redis '''

Then run API server

''' pip3 install -r requirements.txt python3 server.py '''

With Docker

TODO

How to do an authorized request

Put the header 'Auth' with token from signInQuery in requests.