ядро платформы
Go to file
2022-08-09 13:17:31 +03:00
auth wip refactoring: reactions, storages isolated 2022-07-21 14:58:50 +03:00
inbox_resolvers wip refactoring: reactions, storages isolated 2022-07-21 14:58:50 +03:00
orm lesstrict 2022-08-09 05:29:30 +03:00
redis use redis for storing messages - next 2022-01-24 14:56:55 +03:00
resolvers ..bump readme 2022-08-09 13:17:31 +03:00
storages wip queries 2022-08-05 16:14:02 +03:00
templates add email templates 2022-06-23 12:57:07 +03:00
.editorconfig tabs editor config 2021-10-30 22:37:57 +03:00
.gitignore migration-fixes 2022-07-14 15:35:22 +03:00
.pre-commit-config.yaml versions.. 2022-06-25 23:18:03 +03:00
create_crt.sh fix oauth 2021-11-10 16:46:16 +03:00
Dockerfile stabledock 2022-07-21 19:06:30 +03:00
exceptions.py wip: redis, sqlalchemy, structured, etc 2021-06-28 12:08:09 +03:00
inbox_main.py intro inbox service 2022-02-22 14:44:01 +03:00
inbox_schema.graphql add userChats query 2022-06-11 17:35:10 +03:00
InboxDockerfile versions.. 2022-06-25 23:18:03 +03:00
main.py wip refactoring: reactions, storages isolated 2022-07-21 14:58:50 +03:00
nginx.conf python versrion upgrade, community type fix 2022-06-16 14:44:36 +03:00
nginx.conf.sigil fix CORS config 2022-04-16 12:56:00 +03:00
README.md ..bump readme 2022-08-09 13:17:31 +03:00
requirements.txt migration removed 2022-07-21 19:01:28 +03:00
resolvers_base.py intro inbox service 2022-02-22 14:44:01 +03:00
schema.graphql ..bump readme 2022-08-09 13:17:31 +03:00
server.py concrete host 2022-06-13 20:28:42 +03:00
settings.py migration removed 2022-07-21 19:01:28 +03:00

discoursio-api

Tech stack:

  • pyjwt
  • redis
  • ariadne
  • starlette

Local development

Install deps first

on osx

brew install redis nginx
brew services start redis

on debian/ubuntu

apt install redis nginx

Then run nginx, redis and API server

redis-server

cp nginx.conf /usr/local/etc/nginx/.
nginx -s reload

pip install -r requirements.txt
python server.py
python server.py inbox

How to do an authorized request

Put the header 'Auth' with token from signInQuery or registerQuery.