ядро платформы
Go to file
2021-10-10 15:36:35 +03:00
auth new queries 2021-09-03 10:16:19 +03:00
migration adding highlight and anchor links 2021-10-10 15:36:17 +03:00
orm update schema 2021-10-03 19:19:48 +03:00
redis fix redis client 2021-08-16 15:09:04 +03:00
resolvers ShoutRatingStorage refactor 2021-09-29 16:37:08 +03:00
.gitignore migration api upgraded 2021-10-04 20:06:05 +03:00
.pre-commit-config.yaml wip: redis, sqlalchemy, structured, etc 2021-06-28 12:08:09 +03:00
create_crt.sh minor fix 2021-08-23 17:46:05 +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 export by slug 2021-10-10 15:36:35 +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
README.md formatted 2021-08-21 02:17:15 +03:00
requirements.txt add pyjwt version 2021-09-24 13:20:05 +03:00
schema.graphql update schema 2021-10-03 19:19:48 +03:00
server.py prepare for deploy 2021-07-26 07:05:08 +00: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.