ядро платформы
Go to file
2021-08-21 02:17:15 +03:00
auth formatted 2021-08-21 02:17:15 +03:00
migration formatted 2021-08-21 02:17:15 +03:00
orm migration wip 2021-08-20 12:30:52 +03:00
redis fix redis client 2021-08-16 15:09:04 +03:00
resolvers model upgrade 2021-08-20 11:08:32 +03:00
.gitignore some fixes for models 2021-08-19 18:33:39 +03:00
.pre-commit-config.yaml wip: redis, sqlalchemy, structured, etc 2021-06-28 12:08:09 +03:00
create_crt.sh improve rbac 2021-08-17 12:14:26 +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
migrate.py migration wip 2021-08-20 12:30:52 +03:00
Pipfile role_id and topic relations fixes 2021-08-20 12:27:19 +03:00
README.md formatted 2021-08-21 02:17:15 +03:00
requirements.txt role_id and topic relations fixes 2021-08-20 12:27:19 +03:00
schema.graphql formatted 2021-08-21 02:17:15 +03:00
server.py prepare for deploy 2021-07-26 07:05:08 +00:00
settings.py user model upgrade, rating, notificaiton 2021-08-19 13:02:28 +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.