- Django >3.2, <3.3
- Django Rest Framework == 3.14.0
Check out requirements.txt to see full list of dependencies.
- Running docker compose and building the image:
docker-compose -f <docker-compose.yml> up --build
- Preparing demo version data:
docker container exec -it <crispy_notes_backend> /bin/bash
python manage.py makemigrations && python manage.py migrate
python manage.py createsuperuser
python manage.py add_fake_posts
- Opening demo version:
- http://127.0.0.1:8000 --> Web app
- http://127.0.0.1:8000/sitemap.xml --> Sitemap
- http://127.0.0.1:5000 --> Smtp4dev
- http://127.0.0.1:8089 --> Api load test(locust)
List of apps: core, home, accounts, blog, comment
Open swagger url to see full list of api endpoints.