ядро платформы
Go to file
2022-12-01 20:26:53 +01:00
auth email template fix 2022-12-01 20:26:53 +01:00
base fixes-for-inbox-auth-and-startup-faster 2022-11-26 01:35:42 +03:00
migration fixes 2022-12-01 14:24:05 +01:00
orm fixes 2022-12-01 14:24:05 +01:00
resolvers email template fix 2022-12-01 20:26:53 +01:00
services merged2 2022-11-30 23:29:27 +03:00
validations 401 2022-11-02 01:38:49 +03:00
.editorconfig migration, auth, refactoring, formatting 2022-09-17 21:12:14 +03:00
.flake8 migration, auth, refactoring, formatting 2022-09-17 21:12:14 +03:00
.gitignore model changes 2022-11-29 17:05:24 +01:00
.gitlab-ci.yml simple body title search, reacted filted fix 2022-11-17 22:47:40 +03:00
.pre-commit-config.yaml versions.. 2022-06-25 23:18:03 +03:00
CHECKS updated CHECKS 2022-11-29 17:44:29 +01:00
Dockerfile dkrfix 2022-11-28 17:55:30 +03:00
main.py fixes 2022-12-01 14:24:05 +01:00
nginx.conf.sigil cors fix 2022-11-28 16:57:10 +03:00
Procfile dokku zero downtime 2022-11-11 00:37:04 +01:00
README.md migration-upgrade 2022-11-27 11:19:38 +03:00
requirements.txt -storage 2022-11-21 07:36:40 +03:00
schema.graphql load fixed, auth wip 2022-12-01 11:12:48 +03:00
server.py minors 2022-11-24 19:02:42 +03:00
settings.py frontend url setting 2022-11-26 02:49:02 +03:00

discoursio-api

  • sqlalchemy
  • redis
  • ariadne
  • starlette
  • uvicorn

Local development

Install deps first

on osx

brew install redis nginx
brew services start redis

on debian/ubuntu

apt install redis nginx

First, install Postgres. Then you'll need some data

brew install postgres
createdb discoursio
python server.py migrate

Then run nginx, redis and API server

redis-server
pip install -r requirements.txt
python3 server.py dev

How to do an authorized request

Put the header 'Authorization' with token from signIn query or registerUser mutation.

How to debug Ackee

Set ACKEE_TOKEN var