core/README.md

39 lines
480 B
Markdown
Raw Normal View History

2021-07-13 10:14:48 +00: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
```
2021-07-13 23:05:38 +00:00
Create certificate files
```sh
./create_crt.sh
```
2021-07-13 10:14:48 +00:00
Then run API server
```
2021-07-13 23:05:38 +00:00
pipenv install
pipenv run python3 server.py
2021-07-13 10:14:48 +00:00
```
# With Docker
TODO
# How to do an authorized request
Put the header 'Auth' with token from signInQuery in requests.