Backend application for a game project.
- FastAPI
- SQLAlchemy
- Alembic
- Celery
- Redis
- python-jose
- passlib
- Authorization on JWT token
git clone https://github.com/Protages/gdb_backendCreate venv and activate it
python -m venv env
.\env\Scripts\activateInstall the dependencies and launch the unicorn server
pip install -r requirements.txt
uvicorn src.main:app --reloadRun Redis on docker
docker run -p 127.0.0.1:16379:6379 --name my-redis -d redisRun Celery on Unix
celery -A src.core.celery.celery worker --loglevel=INFOOr run Celery on Windows
celery -A src.core.celery.celery worker --loglevel=INFO --pool=soloRun integration tests
pytest ./tests/endpoints/ --verbosity=2 --order-group-scope=moduleRun migration tests
pytest ./tests/migrations/ --verbosity 2You can register and start rating interesting games. If desired, you can write a review of the game. The user can create their own categories and put specific games in them (e.g. the categories 'Passed' or 'Will pass').