I would recommend express too. Since u r proficient in react. When it comes to npm packages go with the package with more no of weekly downloads, the frequency of contribution to that package in GitHub, no of contributors and for the most recent stable release. Express has more advantages for ur current skill set, just few backend norms u need to understand and that's it u can get set go with backend development . We can build almost all kind of common projects with a set of few standard npm packages. Still confused on choosing npm package? Go with Google search results , refer blogs from digital ocean, free code camp, log rocket, medium, hashnode etc. Follow popular YouTube channels for package references. Nest js would be a good choice but first quickly start with JS implementation of the project (when u feel like u are spending too much time on learning Typescript). After completion of ur project in JS , day by day u learn a concept in typescript and try to alter the the same project written in JS to TS. Answer from SampathKumarReddit on reddit.com
🌐
Reddit
reddit.com › r/node › express or django for a beginner in backend?
r/node on Reddit: Express or Django for a beginner in backend?
June 29, 2022 -

Hey,

I’m undecided on which backend framework to pick for my next projects.

As of now, I’m pretty proficient with HTML, CSS/Sass, JavaScript, and React. I can build a multi-page UI with React Router and I’m pretty comfortable with getting data from an API and displaying it on the frontend. I’m not good at coming up with my own designs but I’m able to implement the kinds of designs you see on Frontend Mentor without too much trouble.

Now on the backend, I’ve dabbled in both Express and Django but haven’t built any projects with them.

There are two projects I want to build in the coming months to showcase on my portfolio:

- A pokémon web app with CRUD and login functionality.

- A bug tracker, got the idea from this this video.

What’s driving me towards Express is that I would use the same language on the frontend and the backend. Which would be convenient because while building these projects I’d like to further solidify my JS knowledge by diving a bit deeper into the language and ecosystem, which is why I’ve picked up the book Eloquent JavaScript. I also want to learn TypeScript at some point.

On the other hand, what’s driving me towards Django is that it’s a batteries-included framework. As opposed to Express which is pretty chaotic and you kind of have to npm your way through it. In Express there are a lot of ways to, say, implement the login or connect to the database and you have to do all these things on your own, it’s a bit overwhelming to make all these choices and know which npm package to use and where given my lack of experience with backend development. Because of the lack of structure, I fear that with Express I’ll develop bad habits and make bad choices without even realizing it.

While in Django these things are basically taken care of for you and it forces you to adopt good practices. At least that’s my understanding. Plus the admin interface is super handy and smooth to work with.

My only quibble with Django is basically that it’s not in JavaScript! xD I mean, I’m pretty comfortable with Python, not to the same extent as JavaScript but I'm comfortable enough with the language to use it with Django. It’s just that I’d like to get a more advanced understanding of JavaScript and for that Python would get in the way because I would have two languages to focus on. My point is I’d rather be excellent in one language (JS) than intermediate in two (Python & JS).

I guess the ideal would be a batteries-included JS framework. I know NestJS seems to be a popular choice but it’s built on top of Express so it would make more sense to have a working knowledge of Express first anyway.

Sorry for the wall of text and maybe I’m overthinking this a lot, but I want to make an informed decision so that’s why I’m asking for advice from more experienced people.

(also posted this on the Django subreddit to get both perspectives)

🌐
Reddit
reddit.com › r/webdev › django or express js for backend
r/webdev on Reddit: Django or Express Js for backend
July 12, 2020 -

So I have just recently started in a position where I shall create an application internally for my company. The application will keep track on the projects in the company. It will be able to push events for a project to show whats have been done, import data, and send mail/notification to certain people when certain events occur. There already is such an application today, but it is old and needs to be remake.

I am considering either django or express js for backend, and vue for frontend. I am considering django because I am already rather familiar with the python language, and because it seems to be concentrated on the interaction with databases. And I am considering expressjs because it is said to be cutting edge technology for backend, it is javascript (which I will need for frontend anyway), and because my predecessor though it would make a good option.

I have been reading several articles about the two frameworks, but I don't feel like I get to much information from these articles, and some seems to disagree with each other. It would be nice with a little discussion about which to choice.

🌐
Reddit
reddit.com › r/django › django rest framework vs expressjs
r/django on Reddit: Django REST Framework VS ExpressJS
November 30, 2019 -

Why should I choose Django over Express?

Which framework is easier?

I find Django harder to learn because of its built-in features and default implementations. And in case I have to modify those default implementations, its more difficult.

And in case of ExpressJS, it doesn't have default features. Express only have routers and middlewares which is pretty simple to me.

I find it hard to create custom user model in Django. I can copy/paste the code but I can't remember the whole process of creating the custom user or any other features ( like serializers, forms, model managers...)

Despite all the difficulties i'm facing, should I still continue to learn Django/Django Rest? (I want you to say yes to that question, but tell me why)

How did you learned Django? Do you find Django Easy?

P.S. And don't tell me to learn flask, I know its easier but I want to learn Django.

🌐
Reddit
reddit.com › r/webdev › nodejs(expressjs) or python(django)
r/webdev on Reddit: Nodejs(expressjs) or python(django)
July 11, 2024 -

Greetings everyone how are you.so i am learning to become a full stack web developer, I've already completed frontend part but now im confused should i go for nodejs road or django road(i already know python).im a beginner so i don't know which is better so give me the best opinion on which is better Edit: forgot to write php(laravel)

🌐
Reddit
reddit.com › r/node › how does django compare to express?
r/node on Reddit: How does Django compare to Express?
January 14, 2016 -

Django was my first framework and I kind of liked it although I hated some aspects of it like Class Based Views. Now I am transitioning to Node because of the job market and I was wondering if someone here has been through the same and what they think of Express compared to Django?

🌐
Reddit
reddit.com › r/django › express or django for a beginner in backend?
r/django on Reddit: Express or Django for a beginner in backend?
March 26, 2022 -

Hey,

I’m undecided on which backend framework to pick for my next projects.

As of now, I’m pretty proficient with HTML, CSS/Sass, JavaScript, and React. I can build a multi-page UI with React Router and I’m pretty comfortable with getting data from an API and displaying it on the frontend. I’m not good at coming up with my own designs but I’m able to implement the kinds of designs you see on Frontend Mentor without too much trouble.

Now on the backend, I’ve dabbled in both Express and Django but haven’t built any projects with them.

There are two projects I want to build in the coming months to showcase on my portfolio:

- A pokémon web app with CRUD and login functionality (more complex than a Pokédex).

- A bug tracker, got the idea from this this video.

What’s driving me towards Express is that I would use the same language on the frontend and the backend. Which would be convenient because while building these projects I’d like to further solidify my JS knowledge by diving a bit deeper into the language and ecosystem, which is why I’ve picked up the book Eloquent JavaScript. I also want to learn TypeScript at some point.

On the other hand, what’s driving me towards Django is that it’s a batteries-included framework. As opposed to Express which is pretty chaotic and you kind of have to npm your way through it. In Express there are a lot of ways to, say, implement the login or connect to the database and you have to do all these things on your own. It’s a bit overwhelming to make all these choices and know which npm package to use and where given my lack of experience with backend development. Because of the lack of structure, I fear that with Express I’ll develop bad habits and make bad choices without even realizing it.

While in Django these things are basically taken care of for you and it forces you to adopt good practices. At least that’s my understanding. Plus the admin interface is super handy and smooth to work with.

My only quibble with Django is basically that it’s not in JavaScript! xD I mean, I’m pretty familiar with Python, not to the same extent as JavaScript but I'm comfortable enough with the language to use it with Django. It’s just that I’d like to get a more advanced understanding of JavaScript and for that Python would get in the way because I would have two languages to focus on. My points is I’d rather be excellent in one language (JS) than intermediate in two (Python & JS).

I guess the ideal would be a batteries-included JS framework. I know NestJS seems to be a popular choice but it’s built on top of Express so it would make more sense to have a working knowledge of Express first anyway.

Sorry for the wall of text and maybe I’m overthinking this a lot, but I want to make an informed decision so that’s why I’m asking for advice from more experienced people.

(also posted this on the Node subreddit to get both perspectives)

Top answer
1 of 6
8
IMO it comes down on what your motivation for this project is. Do you want to build a product or do you want to learn? If you want to build a product (which you may or may not want to monetize in the future; so in essence a business), I'd suggest to stick with what you know (ie. JS). It makes sense business wise to have an MVP ready ASAP. (although you may make the case that Django could also be fast in terms of dev time, since it's batteries included; but the fact that you're not as proficient in Python might weigh more in your disadvantage) If you want to learn by doing, I'd suggest to go with Django, because of all the advantages you mentioned yourself. Plus, you'll end up knowing an extra language and framework. My guess based on what you want to build, is that you'd like to learn, not build a business. So I'd go with Django. There's still plenty of opportunity to learn JS on the frontend (which will come in handy if you decide to also learn Node / Express in the future). PS. I've been in the situation of having to build an Express app, even though I had only Django knowledge at that point. And you're right: Express is much more chaotic (I see it as a kind of Flask in the JS world) and the result was that my file structure was a mess. Django is much better at that. PS2. The best thing you can learn is how a web request works. From the moment the browser initiates it, until the server responds to it and gets rendered in the browser. If you know that, you'll have no problem learning new frameworks (since most of them work similar to each other) and it will only come down to syntax and best practices.
2 of 6
4
My opinion is start with Django. It’s very opinionated architecture wise. This is good for a beginner because you’re most likely going to fuckup code architecture. After you learn Django well you can do express.
Find elsewhere
🌐
Reddit
reddit.com › r/node › difficult to decide on node vs django
r/node on Reddit: Difficult to decide on node vs django
July 3, 2024 -

Can someone please help me choosing one framework between these two?
Requirement:

  • Must be highly scalable

  • API should be fast working

  • Should not take time for development

And please mention why to choose that framework.

🌐
Reddit
reddit.com › r/django › considering switching from node.js/express to django and have some questions
r/django on Reddit: Considering switching from Node.js/Express to Django and have some questions
October 19, 2014 -

I'm working on a (relatively large) personal project of mine that is going to encompass a website and a mobile app. I've started with Node.js/Express/MongoDB because honestly that's what I have been using at work and I wanted to familiarize myself with it some more. However, the deeper I am into this personal project, to more I am not sure that this framework stack is not the right one for it.

This website will basically have two components to it: a backend where a user can log in and perform some tasks, and an API. The way it is working right now is that I am using Backbone.js on the frontend to call the APIs (which returns a JSON) that I am serving using express, and I'm rendering that on the front-end. At the same time, the mobile app will be calling the same APIs to read or update the information in it.

For something like this, Node.js seems like a good choice. However, I hit a snag when I realized that I really need a complete admin interface (and have no time to develop it, and was unable to find a suitable one). That had me reevaluate my initial choice for the framework stack. Now I'm considering Django (I am very well familiar with Python and somewhat familiar with Django).

Before I commit myself to it, I have several questions:

  1. How well does Django work with front-end frameworks such as Backbone/Angular/React? Should I expect the same or at least similar level of flexibility that I have with Node? Or would something like Flash be more appropriate?

  2. How well does Django REST Framework work? Any experiences?

  3. Is it an "ok" idea to have Django power the admin interface of the website, whereas Express would power the API, both connecting to the same database? Or replace Express with Flask maybe?

  4. Anyone else migrated to Django from Node, or vice versa? Share your experiences please.

Thank you!

Top answer
1 of 4
7

Django rest framework is fantastic. I use it in conjunction with Django for all my backend needs on my project.

Yes for the front end you can continue to use angular/react/backbone. I tend to keep the front end and the backend completely separate in separate repos.

I know some people or at least a lot of the tutorials online show you to do everything as a monolith within django, but I prefer to have them completely separate.

ps: At my previous job I used Node + Express a lot so I am talking from experience of using both.

2 of 4
2

Django admin is great but limited. It is for an admin with a devops mentality. Not great if you want to use it to manage content with many non tech users. Or even content in general. But it gets you with an app out the door to refine later as needed.

With the Django rest framework, which I think is great, it is easy to have a very minimal server backend in the sense of your code. Yes Django is big, I don't care. So is my OS. Again, this gets your app out the door faster. Users, auth, csrf, sessions, orm, Json request marshalling, etc.

I like having the front end and backend in the same repo, but they are separate projects with a server folder and a web folder. Currently I am trying to get docker compose setup to spin up a container/server for each. I don't do it view static files or Django compressor or anything. That never felt right to me.

Good luck and remember, the right language and framework is the one that you are happy with to finish a project. Hype is worthless if you finish a project with it.

🌐
Reddit
reddit.com › r/webdev › backend: expressjs or django (or something else?)
r/webdev on Reddit: Backend: expressjs or django (or something else?)
August 12, 2019 -

Need to decided which backend framework/platform to work with. I mostly care about the job outlook for each. Any idea on which has the best job outlook? In an ideal world, I would learn both, but i don't have the time at the moment.

A quick search on indeed:

  • expressjs: 110 jobs

  • django: 2100 jobs

The numbers are pretty abysmal: seems like a hyper competitive field (similar to the film industry). Is this normal? Or, maybe both are bad?

🌐
Reddit
reddit.com › r/django › new to backend, why would anyone learn django over node.js?
r/django on Reddit: New to backend, why would anyone learn django over node.js?
March 17, 2018 -

I am new to backend and trying to get a job in a react.js shop

I’ve noticed in my area react shops are either using node or django.

I want to learn some backend to compliment my front end skills and be a competitive front end candidate who isn’t narrow minded.

Learning django requires learning python right ? Since node uses js which you have to already know in front end , I’m guessing there are some pretty good reasons use django instead, what are they if I may ask ?? Thanks.

Top answer
1 of 9
59
Django has: code first data models - meaning you define tables and rows in code instead of writing pure sql in your backend controllers. This makes it really easy to work with objects one level up. Migrations - migrations are the way django handles changing tables and rows on the backend to cope with the fluid nature of early development. It's done automagically as you make changes to models at the code level. This makes it really easy to make changes to your database structure and be sure things will work between revisions. ORM - The Object Relational Mapping is how Django lets you write queries from simple to complex code first, again instead of having to write complicated, error prone, insecure pure sql in your back end controllers. Plugable databases - Want to start with postgres and switch to Maria? Drop in a different config block in your settings.py file, run your migrations, and populate your db. No code level model changes required. No code level queries/CRUD changes required. Pick a different one every week if you like. Django-rest-framework - Django rest framework is how django really shines as an API provider. It provides an insanely easy-to-use framework for responding to API calls at the API level, and also for displaying the results of those API calls in a very pretty way in a browser. It's stupid easy. Node.js has Restify for pure API work, and Express for providing browser templates to display that data, but if you want to get a code-first data model you have to use Mongoose (for mongodb) or some other library for others, and in my opinion those are less clean and require more manual labor to do things like validate. Django is the shit.
2 of 9
19
Python is very simple to learn and is one of the easiest languages to program in. As much as I love asynchronous features in Node, the simplicity of synchronous programming makes life so much easier. Django is stable, very fast to code and build in, has active support, one of the best ORMs (at least IMO), and handles migrations gracefully.
🌐
Reddit
reddit.com › r/django › laravel or django or node js (express)
r/django on Reddit: Laravel or django or node js (express)
February 11, 2020 -

Laravel or django or node js (express)

Hello guys,

Im new to web development in general.

Had experience with php (laravel) and js 4 years back and build some cool apps with them that time. However since 4 years i have been far away from web development and programming in general and almost forgot everything.

Im coming back with the aim of rapid and intuitive development and i need a help on which programming language and in turn framework should i use.

The thing is I remember when i used laravel it was just amazing and intuitive and very clean. Also the community, packages and learning resources are awesome but the issue i always hear is php is bad and not scalabe.

On the other part people are recommending python but im not sure about django if it that intuitive with active development like laravel or not.

One more option is express and node js. However i think i tried once before and didn’t really like.

So please i need your inputs and advice and please excuse my ignorance.

Top answer
1 of 5
12
Laravel is mostly inspired by Django, so you'll like it a lot too. PHP has the advantage of simple hosting solutions. That's one benefit rarely anything can compete against. If you can run a VPS for hosting, you'll love python. It's such a clean language that avoided many pitfalls you'll find in PHP. Plus, it's really hard to make accidental security issues in Django. That's much easier in PHP since you really need to know what functions and variables to avoid.
2 of 5
9
Having worked with Laravel in a professional capacity for two years: It's good but had it's flaws. First and foremost the Active Record implementation of Elqouent. No properties on classes quickly becomes a nightmare if you're taking over a largely undocumented project with poor conventions and abandoned database fields. It's all guesswork what field is used, basically. So if you go that route, you better do it right unless you want your successor cursing you when he sees your code. Django is awesome. Python is a quick and dirty kind of language that doesn't feel quick and dirty, unlike PHP. Code becomes concise and easier to read. I would also like to promote Flask and Connexion (a library from Zalando). In modern web development it's all about API:s. Working with your specification first just seems like the way forward. At the least for large teams. There's less boilerplate though. If productivity is the key Django does a lot of stuff for you and Django REST Framework also speeds it up. Lastly, Node.js. I've only ever tried my hands on Feathers and while I can see the appeal doing my backend stuff in Javascript just feels inherently wrong. Call me old-fashioned. I get the appeal and it's really easy to do some pretty cool stuff but I also can't get over the feeling I need a shower afterwards. Typescript is an alternative but it still compiles to Javascript and also, everything needs a Type which kind of impedes the whole rapid prototyping aspect of picking Node in the first place.
🌐
Reddit
reddit.com › r/webdev › should i go with node.js and give up python/django?
r/webdev on Reddit: Should I go with node.js and give up python/django?
January 12, 2018 -

I'll get right to the point.

I have a little more knowledge in Python and Django, but I'm a beginner anyway. The only thing I did with Django was a blog with comments, pagination, search, and basic authentication.

However, there are about 3.5 times more nodes for node compared to Django (okay, we know node is the "backend" platform, and Django is a framework, but I say this because Django pretty much equals Python for web, and I believe that the vacancies for node.js are almost all for web).

And as I'm learning front-end, i.e. learning javascript and in the future will learn React, it seems to be more advantageous to abandon Python for now, because anyway I'll have to learn more javascript to get good on the front end. (I intend to learn more front end for 2/3 months, I already know the basics of JS, sun, events, missing things like POO, Async, Ajax / Fetch, APis etc. And then I'll learn React. -end). So it would be a language and a syntax to learn rather than two.

Is there anything in Python and Django that compensates not learning node and also possibly mongodb to get the MERN stack?

Another thing I found cooler is that using node seems to work at a lower level, which is harder, but it makes me better understand how things work (this is just a "I think that's it").

EDIT: I searched some node.js frameworks, such as an e commerce and a cms, and frankly, I find python / django much better. I also found the structure of the Django project more readable. I really like Python a lot, but the vacancies are much smaller. As for the Django slots, they usually ask for 2/3 years of experience (I only found one for beginner in the last few months, which was via facebook), django rest, some ask for celery, docker, nginx, TDD, aws etc. As for the purpose, they usually do not tell the type of work to be done in job descriptions.

Another thing, if I stay with Django, I'll learn front anyway, but I'll choose Vue instead of React. And since I do not really like the javascript syntax and love python, my goal is to focus on the back end.

🌐
Reddit
reddit.com › r/python › django (python) vs express (node.js) framework http benchmark
r/Python on Reddit: Django (Python) vs Express (Node.js) Framework HTTP Benchmark
January 9, 2013 - Another result that I found it interesting is that when I try to get the first 10 posts, Express stack was ~3 times faster than Django stack.
🌐
Reddit
reddit.com › r/node › can somebody explain why you would use express over a feature filled framework like django, rails, laravel etc...
r/node on Reddit: Can somebody explain why you would use Express over a feature filled framework like Django, Rails, Laravel etc...
May 21, 2022 -

I know people will say they use express because they're already familiar with JavaScript language but when there are other frameworks out there that comes with more built in features that makes it so much easier to build the backend then why not use it?

I built a few personal projects using express and I never knew what was the best way to structure my application unlike other frameworks where they can generate all the folders that keeps everything organized.

Also express comes bare bones so you need to know which npm packages you would need to install that may handle security, database connections, middleware, authentication etc...

All of the other popular frameworks comes with all of this included ready to use.

So why use express then?

🌐
DEV Community
dev.to › soumyaranjannaik › is-django-underrated-and-node-js-express-js-overrated-2148
Is django underrated and node.js(express.js) overrated ? - DEV Community
January 25, 2021 - While this is only my experience I don't know if it is that people who know frontend and just preferred to use the same JavaScript or TypeScript for backend and made node.js or express.js popular or is there something that I am missing or have I taken a wrong approach or did I choose it for a wrong project (my project relies too heavily on database transaction and updation). Maybe I am too comfortable with django but I felt that anyone would be way faster and also would write more DRY and modular code wile using it but I can see a lot of people learning node.js and that population is way higher than what I can see for django.
🌐
Reddit
reddit.com › r/node › should i quit django and move to node js
r/node on Reddit: Should i quit Django and move to node JS
May 16, 2023 - Having just taken on an express project after using django for all my backends. I like using one language for front and backend. But I miss django's admin dashboard a lot. But yes definitely learn node because it's also made me understand backend more by having to do things in a different language ... Don't quit Django, but you can learn Node JS as it is more flexible.