/django-ninja-tutorial

Repository to accompany a beginner tutorial for Django Ninja

Primary LanguagePython

Djano Ninja Begginer Tutorial

Repository to accompany my tutorial blog posts here: https://petersimpson.dev/blog/trying-out-django-ninja/

Motivation

Django Ninja is a new framework for building APIs. It resembles FastAPI, but you can leverage some of the nice part's of Django, like the ORM. More info (HERE)[https://django-ninja.rest-framework.com/]

Screenshots

Open API Docs auto-generated by Django Ninja from part 1 of the tutorial:

image

Installation

  • Install Python >= 3.6 on your local machine.
  • Clone or copy this repository.
  • Create and activate a virtual environment in the root folder
  • Use pip to install the requirements.txt
  • Run the application using "python3 manage.py runserver" and visit: http://localhost:8000/