Need advice about which tool to choose?Ask the StackShare community!

Django

21K
17.6K
+ 1
3.4K
NestJS

720
1K
+ 1
208
Add tool

Django vs NestJS: What are the differences?

Django: The Web framework for perfectionists with deadlines. Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design; NestJS: A progressive Node.js framework for building efficient and scalable server-side applications by @kammysliwiec. Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming) Under the hood, Nest makes use of Express, but also, provides compatibility with a wide range of other libraries, like e.g. Fastify, allowing for easy use of the myriad third-party plugins which are available..

Django and NestJS can be categorized as "Frameworks (Full Stack)" tools.

"Rapid development" is the primary reason why developers consider Django over the competitors, whereas "Powerful but super friendly to work with" was stated as the key factor in picking NestJS.

Django and NestJS are both open source tools. Django with 42.6K GitHub stars and 18.3K forks on GitHub appears to be more popular than NestJS with 17.4K GitHub stars and 1.22K GitHub forks.

Instagram, Pinterest, and Udemy are some of the popular companies that use Django, whereas NestJS is used by Sofit Software, Quero Education, and YABAWT. Django has a broader approval, being mentioned in 992 company stacks & 914 developers stacks; compared to NestJS, which is listed in 12 company stacks and 13 developer stacks.

Decisions about Django and NestJS
Fronted Rent

We’re a new startup so we need to be able to deliver quick changes as we find our product market fit. We’ve also got to ensure that we’re moving money safely, and keeping perfect records. The technologies we’ve chosen mix mature but well maintained frameworks like Django, with modern web-first and api-first front ends like GraphQL, NextJS, and Chakra. We use a little Golang sparingly in our backend to ensure that when we interact with financial services, we do so with statically compiled, strongly typed, and strictly limited and reviewed code.

You can read all about it in our linked blog post.

See more

This website was originally written in Yii as PHP was my main language back then. After learning Django, I realized just how quickly you could build a web app with less lines. So I migrated my website to Django in a week or two and managed to cut down the lines of code by half. Some of the lines saving came from the models, the views, and the expressiveness of Python. Django requires like config for the models and they provide many generic views that abstracts away common patterns.

See more

I am planning to develop project management system SAAS based. Can any one help me with selection of platforms from Django or Laravel and for database MongoDB or Firebase/Firestore or MySql? On front end I am going to use Quasar Framework (VueJS). Note : project will be Webapp, Mobile app and desktop app.

See more
Pros of Django
Pros of NestJS
  • 595
    Rapid development
  • 443
    Open source
  • 385
    Great community
  • 334
    Easy to learn
  • 248
    Mvc
  • 201
    Elegant
  • 199
    Beautiful code
  • 178
    Free
  • 177
    Great packages
  • 166
    Great libraries
  • 53
    Restful
  • 51
    Powerful
  • 51
    Comes with auth and crud admin panel
  • 48
    Great documentation
  • 46
    Great for web
  • 34
    Python
  • 30
    Great orm
  • 26
    Great for api
  • 21
    All included
  • 17
    Web Apps
  • 16
    Fast
  • 14
    Used by top startups
  • 12
    Clean
  • 11
    Easy setup
  • 10
    Sexy
  • 8
    Convention over configuration
  • 5
    The Django community
  • 5
    Allows for very rapid development with great libraries
  • 4
    ORM
  • 3
    Its elegant and practical
  • 3
    Great MVC and templating engine
  • 2
    Cross-Platform
  • 2
    Full stack
  • 2
    Batteries included
  • 2
    Mvt
  • 2
    Easy to use
  • 2
    Easy
  • 2
    Fast prototyping
  • 2
    Easy to develop end to end AI Models
  • 1
    Easy Structure , useful inbuilt library
  • 1
    Zero code burden to change databases
  • 1
    Full-Text Search
  • 1
    Have not found anything that it can't do
  • 1
    Map
  • 1
    Scaffold
  • 1
    King of backend world
  • 1
    Modular
  • 1
    Great peformance
  • 1
    Many libraries
  • 1
    Very quick to get something up and running
  • 1
    Just the right level of abstraction
  • 1
    Python community
  • 36
    Powerful but super friendly to work with
  • 29
    Fast development
  • 29
    Easy to understand documentation
  • 25
    Angular style syntax for the backend
  • 23
    NodeJS ecosystem
  • 21
    Its easy to understand since it follows angular syntax
  • 12
    Typescript
  • 9
    Integrates with Narwhal Extensions
  • 7
    Good architecture
  • 6
    Graphql support easy
  • 5
    Typescript makes it well integrated in vscode
  • 4
    Agnosticism
  • 2
    Easily integrate with others external extensions

Sign up to add or upvote prosMake informed product decisions

Cons of Django
Cons of NestJS
  • 23
    Underpowered templating
  • 19
    Underpowered ORM
  • 17
    Autoreload restarts whole server
  • 15
    URL dispatcher ignores HTTP method
  • 10
    Internal subcomponents coupling
  • 7
    Not nodejs
  • 5
    Admin
  • 3
    Not as clean and nice documentation like Laravel
  • 3
    Configuration hell
  • 2
    Bloated admin panel included
  • 2
    Python
  • 2
    Overwhelming folder structure
  • 1
    InEffective Multithreading
  • 1
    Not typed
  • 4
    User base is small. Less help on Stackoverflow
  • 3
    Difficult to debug
  • 3
    Angular-like architecture
  • 1
    Javascript
  • 1
    Frontend in backend
  • 1
    Updates with breaking changes
  • 1
    Unstable

Sign up to add or upvote consMake informed product decisions

What is Django?

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

What is NestJS?

Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming). Under the hood, Nest makes use of Express, but also, provides compatibility with a wide range of other libraries, like e.g. Fastify, allowing for easy use of the myriad third-party plugins which are available.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Django?
What companies use NestJS?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Django?
What tools integrate with NestJS?
    No integrations found

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    GitHubPythonReact+42
    46
    38417
    GitHubPythonNode.js+47
    43
    67470
    PythonDjangoDjango REST framework+3
    6
    5195
    JavaScriptGitHubPython+42
    52
    19160
    GitHubPythonSlack+25
    7
    2764
    GitHubPythonDocker+24
    13
    16549
    What are some alternatives to Django and NestJS?
    Flask
    Flask is intended for getting started very quickly and was developed with best intentions in mind.
    Node.js
    Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
    Rails
    Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
    Laravel
    It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
    PHP
    Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
    See all alternatives
    Interest over time
    News about NestJS
    More news