Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

πŸš€ Jump-start your Django projects with this template! Providing seamless JWT authentication, CRUD operations, and more - all built on Django Ninja. πŸ₯·

License

Yacobolo/django-ninja-crud-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Django Ninja CRUD Template

image

This is a Django project template that provides a seamless implementation of django-ninja, django-ninja-jwt, and django-ninja-crud. It's crafted to jump-start your Django project, ensuring a solid and efficient foundation with JWT authentication, CRUD operations, and more, all built on the powerful Django Ninja framework.

Features

  • πŸ›‘οΈ JWT Authentication (using django-ninja-jwt): Securely manage user authentication with JSON Web Tokens.
  • πŸ“ CRUD Operations (using django-ninja-crud): Easily perform Create, Read, Update, and Delete operations.
  • πŸ—‘οΈ Soft Delete: Safely delete objects without losing the data, allowing for recovery.
  • πŸ•°οΈ Simple History: Keep track of changes to models with historical records.
  • 🏷️ Metadata Fields: Automatically manage metadata fields like created_at, updated_at, created_by, updated_by, and deleted_at.
  • πŸ₯‹ Built on Django Ninja (django-ninja): Enjoy the simplicity and speed of building APIs with Django Ninja.

Repository Structure

django-ninja-crud-template/
β”‚
β”œβ”€β”€ backend/              # Backend codebase
β”‚   β”œβ”€β”€ api/              # API app containing the main functionality
β”‚   β”‚   β”œβ”€β”€ models/       # --> Contains the database model definitions
β”‚   β”‚   β”œβ”€β”€ schemas/      # --> Houses the Pydantic schemas for API serialization
β”‚   β”‚   β”œβ”€β”€ services/     # --> Contains business logic separate from models and views
β”‚   β”‚   β”œβ”€β”€ utils/        # --> Utility functions and classes
β”‚   β”‚   β”œβ”€β”€ views/        # --> View functions and handlers for API requests
β”‚   β”‚   └── api.py        # --> Main file for API route definitions
β”‚   β”œβ”€β”€ manage.py         # --> Django management script
β”‚   └── yourproject/      # Main project configuration
β”‚       β”œβ”€β”€ settings.py   # --> Project settings and configuration
β”‚       β”œβ”€β”€ urls.py       # --> URL configuration for the project
β”‚       └── wsgi.py       # --> WSGI configuration for deployment
β”‚
β”œβ”€β”€ frontend/             # Frontend codebase (if applicable)

About

πŸš€ Jump-start your Django projects with this template! Providing seamless JWT authentication, CRUD operations, and more - all built on Django Ninja. πŸ₯·

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages