minimal requirements, one schema, readme update

This commit is contained in:
2021-06-30 14:46:19 +03:00
parent 4f2f4187fe
commit 378f4b61b1
18 changed files with 389 additions and 456 deletions

View File

@@ -1,6 +1,33 @@
# discours-backend-next
start message service:
pip install ariadne
pip install uvicorn
uvicorn message_service:app
Tech stack:
- pyjwt
- redis
- ariadne
- starlette
# Local development
Install redis first, then start
'''
brew install redis
brew services start redis
'''
Then run API server
'''
pip3 install -r requirements.txt
python3 server.py
'''
# With Docker
TODO
# How to do an authorized request
Put the header 'Auth' with token from signInQuery in requests.