Skip to content

liviocunha/django-ninja-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Crud - Django Ninja

Fast Django REST Framework

CRUD - Create, Retrieve, Update, Delete are the four basic functions of persistent storage.

Auth - API Key

create

Create

create

Retrieve (all list)

create

Retrieve (get one item)

create

Update

create

Delete

create

This project was done with:

  • Python 3.8.5
  • Django 3.1.7
  • Django Ninja 0.12.1
  • python-decouple 3.4

How to run project?

  • Clone this repository.
  • Create virtualenv with Python 3.
  • Active the virtualenv.
  • Install dependencies.
  • Create .env run contrib/env_gen.py
  • Run the migrations.
  • Create user admin.
git clone https://github.com/liviocunha/django-ninja-crud.git
cd django-ninja-crud
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
python3 contrib/env_gen.py
python3 manage.py makemigrations products
python3 manage.py migrate
python3 manage.py createsuperuser
python3 manage.py runserver

About

CRUD - Create, Retrieve, Update, Delete are the four basic functions of persistent storage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages