Karnali is a demo app I created while learning how to use the Django Ninja Rest API framework.
It's a straightforward app with two models for books and chapters. A book is referenced in each chapter.
I spent around 3–4 hours learning this new framework, and here is the sample app I created as a consequence.
Please do not use this code in any production situations, despite the fact that I feel I do not need to mention it. This app will not be updated, and no new features will be added.
- Building REST APIs in Django
- Django Ninja Rest Framework
- Adding authentication in Django Ninja API [Cookie Based]
- Creating folder based structure for a single app
Please follow the usual Installation and execution proceduere for django based projects.
pip3 install virtualenv
python3 -m virtualenv venv
source ./venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver