Test task for webtronics, backend project based on FastAPI with PostgreSQL + Redis.
- JWT auth and registration
- User can register and log in
- User can create, edit, delete and view posts
- User can like or dislike other user's posts but not my own
- UI Documentation (Swagger UI + ReDoc)
- To start working on project install dependencies
pip install -r requirements.txt
- Create env file from example
cp .env.example .env
- Run databases PostgreSQL and Redis
- Up migrations
alembic upgrade head
- Run backend server
python -m webtronics_social_network.server