Tired of coding CRUD endpoints over and over?
Recently, I faced this challenge at work—spending too much time writing CRUD APIs for quick tests. A colleague suggested automated routes, which led us to build a fully customizable tool in Node.js. That experience inspired me to create something similar for Django, and thus, Lazy Ninja was born
Lazy Ninja automates API generation for all your Django models, eliminating repetitive CRUD work. With just a few lines of code, you get:
- Auto-generated endpoints & schemas
- Custom hooks to tweak route behavior
- Schema customization for specific models
- Interactive OpenAPI docs (powered by Django Ninja)
- Simple config to exlude models from specific apps
It’s still in early stages, and I’m looking for feedback to refine it further.
Check it out on GitHub along with the installation instructions: Lazy Ninja
Would love to hear your thoughts
PS: Don’t use in production yet