Django REST framework
Django REST framework

690
116
255
ExpressJS
ExpressJS

5.3K
131
1.3K
Add tool

Django REST framework vs ExpressJS: What are the differences?

What is Django REST framework? Web APIs for Django. Django REST framework is a powerful and flexible toolkit that makes it easy to build Web APIs.

What is ExpressJS? Sinatra inspired web development framework for node.js -- insanely fast, flexible, and simple. Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.

Django REST framework and ExpressJS can be categorized as "Microframeworks (Backend)" tools.

Some of the features offered by Django REST framework are:

  • The Web browsable API is a huge usability win for your developers.
  • Authentication policies including OAuth1a and OAuth2 out of the box.
  • Serialization that supports both ORM and non-ORM data sources.

On the other hand, ExpressJS provides the following key features:

  • Robust routing
  • HTTP helpers (redirection, caching, etc)
  • View system supporting 14+ template engines

"Browsable api" is the top reason why over 54 developers like Django REST framework, while over 321 developers mention "Simple" as the leading cause for choosing ExpressJS.

Django REST framework and ExpressJS are both open source tools. ExpressJS with 44.3K GitHub stars and 7.45K forks on GitHub appears to be more popular than Django REST framework with 14.5K GitHub stars and 4.29K GitHub forks.

According to the StackShare community, ExpressJS has a broader approval, being mentioned in 843 company stacks & 759 developers stacks; compared to Django REST framework, which is listed in 159 company stacks and 77 developer stacks.

What is Django REST framework?

Django REST framework is a powerful and flexible toolkit that makes it easy to build Web APIs.

What is ExpressJS?

Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Django REST framework?
Why do developers choose ExpressJS?
What are the cons of using Django REST framework?
What are the cons of using ExpressJS?
What companies use Django REST framework?
What companies use ExpressJS?
What are some alternatives to Django REST framework and ExpressJS?
Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Flask
Flask is intended for getting started very quickly and was developed with best intentions in mind.
Tastypie
Tastypie is a webservice API framework for Django. It provides a convenient, yet powerful and highly customizable abstraction for creating REST-style interfaces.
Swagger UI
Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation and sandbox from a Swagger-compliant API
Graphene
Graphene is a Python library for building GraphQL schemas/types fast and easily.
See all alternatives
What tools integrate with Django REST framework?
What tools integrate with ExpressJS?
Decisions about Django REST framework and ExpressJS
No stack decisions found
Interest over time
Reviews of Django REST framework and ExpressJS
No reviews found
How developers use Django REST framework and ExpressJS
Avatar of Cloudcraft
Cloudcraft uses ExpressJSExpressJS

Express.js is the workhorse of the Cloudcraft.co backend. It's not the most exciting part of a stack, but it works, is very well documented, and you can find a plugin for almost everything you could possibly want. We also carefully evaluated Koa.js, but decided not to go down this route: fewer plugins, less documentation & answers online. I'm also not personally convinced by the generators yield syntax at all. ES7 async functions looks like a much better bet, and with Promises and Babel I can have that already today.

Avatar of Volkan Özçelik
Volkan Özçelik uses ExpressJSExpressJS

I use express.js for nightly.zerotoherojs.com and dojo.zerotoherojs.com web apps.

Express is well-known, lightweight, works out-of-the-box, has great middleware support and has minimal learning curve.

It is the best framework to start developing a general Node.js web app.

Avatar of Kent Steiner
Kent Steiner uses ExpressJSExpressJS

I'm fluent in ExpressJS, but over the past two years I have moved to HapiJS. Similar results, but I find Hapi to be more full-featured towards my app, api and service needs. I can operate confidently in both.

Avatar of Promethean TV
Promethean TV uses ExpressJSExpressJS

PrometheanTV utilizes the ExpressJS web application framework to deploy various web applications and services including the Broadcast Center Tool, our video embed service, and our REST API.

Avatar of Yaakov Gesher
Yaakov Gesher uses Django REST frameworkDjango REST framework

Django REST delivered all the content to the BI, making calls to the Postgres DB, aggregating numeric data, and automatically associating data models at the time of row creation.

Avatar of Alec Cunningham
Alec Cunningham uses Django REST frameworkDjango REST framework

Instead of using Django for both back and frontend, I use DRF to layout an API that ReactJs can pull data from. Easy to setup, well documented, and works seamlessly with React.

Avatar of Seungkwon Park
Seungkwon Park uses Django REST frameworkDjango REST framework

django에서 api를 만드는데 최고의 framework라고 생각합니다. 아직은 tutorial 수준의 class base view, function base view 수준으로 사용합니다.

하지만 현재 진행중인 프로젝트의 심화로 REST framework를 심도있게 다룰 예정입니다.

Avatar of Merge In
Merge In uses ExpressJSExpressJS

We rely on ExpressJS to serve our content simply, easily, and effectively, without the bloat-ware. Big thanks to StrongLoop for supporting this package.

Avatar of Eray Erdin
Eray Erdin uses Django REST frameworkDjango REST framework

Project is mainly a RESTful service project, so DRF had a a huge role in it.

Avatar of Blair Gemmer
Blair Gemmer uses Django REST frameworkDjango REST framework

Really great framework for building RESTful APIs. Lots of plugins for it!

How much does Django REST framework cost?
How much does ExpressJS cost?
Pricing unavailable
Pricing unavailable
News about Django REST framework
More news
News about ExpressJS
More news