ядро платформы
Go to file
2021-08-19 07:48:25 +03:00
auth user schema and password hash method updated 2021-08-11 13:44:12 +03:00
orm no retry 2021-08-19 07:48:25 +03:00
redis .. 2021-08-09 21:57:08 +03:00
resolvers typo fix 2021-08-09 21:58:59 +03:00
.gitignore redeploy 2021-08-09 21:36:18 +03:00
.pre-commit-config.yaml wip: redis, sqlalchemy, structured, etc 2021-06-28 12:08:09 +03:00
create_crt.sh redeploy 2021-08-09 21:36:18 +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 git task 2021-08-08 09:49:15 +00:00
Pipfile redeploy 2021-08-09 21:36:18 +03:00
README.md origin 2021-08-09 18:45:51 +03:00
requirements.txt redeploy 2021-08-09 21:36:18 +03:00
schema.graphql local dev with sqlite, exposing port 8080 2021-08-12 10:55:35 +03:00
server.py prepare for deploy 2021-07-26 07:05:08 +00:00
settings.py local dev with sqlite, exposing port 8080 2021-08-12 10:55:35 +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.