minimal requirements, one schema, readme update
This commit is contained in:
35
README.md
35
README.md
@@ -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.
|
Reference in New Issue
Block a user