ядро платформы
Go to file
2021-09-24 13:20:05 +03:00
auth new queries 2021-09-03 10:16:19 +03:00
migration using comment entity 2021-09-11 11:20:23 +03:00
orm type fix 2021-09-05 11:56:15 +03:00
redis fix redis client 2021-08-16 15:09:04 +03:00
resolvers type fix 2021-09-05 11:56:15 +03:00
.gitignore migration wip, minor fixes scheme 2021-08-23 11:44:46 +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 cache top shouts 2021-09-01 13:28:42 +03:00
migrate.py aftermerge, migration fixed 2021-08-26 00:20:53 +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 using comment entity 2021-09-11 11:20:23 +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.