Backend for a simple reddit clone written using DRF.
- default database backend is sqlite (no dbms setup needed)
- jwt authenticaiton
- see api docs at
/swagger
- working directory for following commands should be <PROJ_LOCATION>/reddit_backend/
Create virtual environment (Optional):
python3 -m venv .venv
. .venv/bin/activate.sh # use the activate script corresponding to your shell environment e.g. activate.fish for fish shell
Install dependencies and migrate database:
pip install -r requirements.txt
python manage.py migrate
Run server:
python manage.py runserver