formatted

This commit is contained in:
2021-08-21 02:17:15 +03:00
parent 90c552a8f3
commit 06c8d9c66b
4 changed files with 296 additions and 300 deletions

View File

@@ -1,36 +1,36 @@
# 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
```sh
./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.
# 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
```sh
./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.