formatted
This commit is contained in:
72
README.md
72
README.md
@@ -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.
|
||||
|
Reference in New Issue
Block a user