Menu

Is there a Django for Node.js? A NestJS guide for Django developers
📰

Is there a Django for Node.js? A NestJS guide for Django developers

DEV Community: nestjs·Kamil Mysliwiec·6 days ago
#7sx1RyPT
#devtonestjs#devto#dev#orders#nestjs
Long article (5693 words) — no AI summary yet.
Reading 0:00
15s threshold

Django's pitch has always been the batteries. You start a project and you already have an ORM, migrations, users, sessions, permissions, forms, email, file storage, translations, caching and an admin. Add Django REST Framework and Celery, and a team can build a B2B product without assembling anything.

So when a Django team has to build something in TypeScript (a backend next to a frontend that's already TypeScript, a team that wants one language, a company that standardized on Node), the first question is usually "is there a Django for Node.js?". For a long time the honest answer was "not really": Express and a pile of libraries you pick yourself.

Nest is the closest thing to a yes. It gives a backend one structure (modules, dependency injection, controllers, validation, guards), and its first-party packages now cover most of Django's batteries: sign-in and sessions, permissions, email, file storage, translations, background jobs, scheduling, caching, rate limiting and configuration.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.