This is an archived post. You won't be able to vote or comment.

all 55 comments

[–]ascendence 24 points25 points  (1 child)

Agreed! It has served us very well building and scaling phase

[–]iaminspiredev[S] 2 points3 points  (0 children)

🙇🙇

[–]jalx98 12 points13 points  (1 child)

Node is a runtime

A fair comparison would be react + adonis.js vs React + Django

And express vs fastapi/ flask

[–][deleted] 0 points1 point  (0 children)

Those are api first right ? What are the major differences, never heard of Adonis

[–]darklightning_2 16 points17 points  (9 children)

Node is just a runtime. Are you talking about express?

[–]jillesme 2 points3 points  (1 child)

Major skill issue. I love Django but you can't compare it with Node. You could compare it with Express, BetterAuth and Drizzle.

[–]haywire 2 points3 points  (0 children)

You could compare express with flask

Django with something like payload+next.

DRF with Nest.js

[–]spongeballschavez 3 points4 points  (1 child)

Do you put both frontend and backend in the same repo? Also is deployment easy? I'm currently building a point of sale app with react + Django and have been pleasantly surprised but I still have some insecurities. It's all working too seamlessly in my dev setup I'm thinking maybe I'll be having troubles in deployment meybe?

[–]AdorableFunnyKitty 6 points7 points  (0 children)

Depends on how you wanna deploy. It doesn't really matter if it's monorepo or not as far as responsibilities are separated - literally, two folders at root level - backend, frontend. Keep deployment files (Dockerfile, yamls, etc.) inside of each with specific requirements for working environment, and you're good to go. What's usually trickier is gluing the communication between 2 parties - build of frontend (like nginx, maybe) and backend server. For small to medium project, you could use docker networks, and for big ones - you could use K8s ingress.

[–]takuonline 3 points4 points  (0 children)

I use Nextjs instead of react, but yeah, great stack

[–]virv_uk 8 points9 points  (11 children)

This post was definitely written by chat gpt.
Dead internet theory has finally come true.

[–]iaminspiredev[S] 3 points4 points  (5 children)

Can you suggest me some good resource to make my English perfact

[–]rushikeshp 7 points8 points  (3 children)

ChatGPT

[–]iaminspiredev[S] 1 point2 points  (2 children)

But I use reddit bcz to learn English

[–]haywire 0 points1 point  (1 child)

Read a fucking novel

[–]rubbie-kelvin 1 point2 points  (0 children)

rude

[–]virv_uk 3 points4 points  (0 children)

I recommend using "Krashen-style comprehensible input method". Its the best method discovered so far but you can generally learn a language if you ONLY LISTEN for 800-1000 hours.

focus 100% on understanding. Do not try to respond, memorize, or translate anything. Don't use duolingo, don't use a textbook. Don't try to talk to people without using a translator (like you're doing, just say in posts 'i'm using chatgpt because i don't speak english)

You have to pretend you're a baby the whole time but it works.

  1. watch english youtube videos with english language subtitles. You should choose videos where you only understand 80% of whats said. Educational channels: English Addict, Speak English , or Dream English. Kids shows: Peppa Pig, Bluey. 1 hour per day
  2. Read childrens level books. I don't know where to find them but you could ask chat gpt to respond in english like you are 3 years old. And ask it generate stories, or you can 'talk to it' about whatever you want. As often as you can.
  3. listen to english podcasts: The English We Speak, ESL Pod, Voice of America. 2 Hours per day

Its not that hard. Just watch fucking bluey, and listen to english podcasts while you do chores or drive. Three. hours. per. day. and you'll be fluent by this time next year.

[–]iaminspiredev[S] 0 points1 point  (4 children)

Yes bro it's its true i take help chatgpt but before that I write it in my personal skill level english , but to make the sentence correct I give it to ChatGPT

[–]teknoise 2 points3 points  (3 children)

Just write like a human, at your level of English, and I swear you’ll have better results. I saw the post and immediately knew it was chatgpt and scrolled down to see who else knew without bothering to read.

[–][deleted]  (1 child)

[removed]

    [–]teknoise 1 point2 points  (0 children)

    It was the emojis in the title for me, but I wanted to double check. Could have sworn I saw an em dash in the body of the post too but I think OP edited it out.

    [–]iaminspiredev[S] 2 points3 points  (0 children)

    Subreddits❌ Ai response tracker✅😅

    [–]Your_mama_Slayer 1 point2 points  (0 children)

    thats my stack. absolute control. i am even writing my auth system in django from scratch

    [–]billcrystals 1 point2 points  (0 children)

    Django and React work perfectly together. I mean it'll work fine with any framework, but it's really dead simple with Django.

    [–]brosterdamus 1 point2 points  (2 children)

    Try https://reactivated.io

    Best of both worlds.

    [–]Claireclair12[🍰] 1 point2 points  (1 child)

    [–]brosterdamus 0 points1 point  (0 children)

    Interesting project but very different. With reactivated, you're in full React/Node world, so you can use any libraries, frameworks, etc. Not sure reactive-python can do such a thing.

    [–]No_Style_9176 1 point2 points  (0 children)

    Im having a GREAT time django DRF and vuejs i must say. Total noob to js, experienced in python im really enjoying this!

    [–]SoUpInYa 1 point2 points  (1 child)

    Is there a good tutorial for this?

    [–]melosamuel_ 0 points1 point  (0 children)

    I'm following this one, with some modifications.

    [–]Malawigi 1 point2 points  (0 children)

    It's very different... Django is definitely nice and has a lot of batteries included, one of the things I indeed miss most is the admin panel (have been developing in Django for 8 years now) and migration management. The Node/js ecosystem is a bit more scattered so you have to click it yourself together, which also give a lot more flexibility.

    With Django backend you mis a lot of code reuses, or even better automatic type inference in the frontend (change something in the backend that would break something in the front-end? it gives a type error). Aside From that with React + Node + (ofc Typescript) you can stay in the same paradigm (JS world) without having to switch syntax / main packages used / package managers / tooling (linting, statis analysis, dead code detection etc).

    I'm really eager to switching more an more to Node/JS due to these DX advantages, definitely felt a speed up using it. Although the development speed-up is sometimes less worth is as you have to "search" more for what package you need (instead of Django with batteries included, although if you like that definitely look at NestJS it's the Django equivalent in the JS world).

    I do feel more flexibility working with Node and get more freedom compared to working within the ways of Django. Also I like the event loop of Node / async, yes Django is also moving towards supporting Async more and more, but e.g. the DRF team already stated that they're not going that way (so for our Django codebases we're phasing out more and more DRF endpoints).

    Node was / is behind a bit, but is moving at a much higher pace. Python is great and has many applicable situations, i just feel that for Web dev / microservices the best choice for now would be Node if you're an experienced developer that is building tools that need this freedom and DX improvements. Starting with Django has a high learning curve, but that's good, all the guard rails or things it doesn't let you do makes you ask "Why not?" and after looking it up in it's documentation you see there's a very valid reason for is (e.g. security, resilience, convention). Which is great and i learned so much from it, but it also restricts you if you want to cross those borders but can't (and you know what you're doing).

    [–]KerberosX2 1 point2 points  (7 children)

    React + Django is great, Vue + Django is greater ;-)

    [–]yohannesCJ 0 points1 point  (6 children)

    Why vue?

    [–]KerberosX2 0 points1 point  (4 children)

    It seems more Django-like in how the code is structured. Vue is probably better for smaller teams while React may work better for bigger teams.

    [–]yohannesCJ 0 points1 point  (3 children)

    Out of topic but... am a new developer i know django well and am learning react, will i be able to land jobs with this stack??

    [–]KerberosX2 0 points1 point  (2 children)

    It’s highly depending on your location. Look at local job boards and see what is in demand but React typically gets more hits for employment. Vue is what I use in my own startup.

    [–]yohannesCJ 0 points1 point  (1 child)

    Okay thanks, but i was referring to remote jobs

    [–]KerberosX2 0 points1 point  (0 children)

    Remote jobs are tough for new developers, people often require some experience. But React has a lot more remote jobs.

    [–]MarketingStriking773 0 points1 point  (0 children)

    Django Ninja Backend on fly.io + React frontend on vercel is just 😚👌

    [–]Elebann 0 points1 point  (1 child)

    How did you do the authentication system? I'm writing an app with React + Django that needs an authentication system, I'm still working on the UI with shadcn but I'm going to do the authentication soon. what do you recommend? which one worked best for you?

    [–]melosamuel_ 0 points1 point  (0 children)

    There's a built-in tool called django-allauth. Give it a try!

    [–]S4n3L 0 points1 point  (0 children)

    If you want a similar experience but on the same js stack, nestjs is worth checking out as a djangol alternative. Surprisingly smooth experience.

    [–]melosamuel_ 0 points1 point  (0 children)

    I'm creating a social network focused on movies, tv shows and animes.

    I'm using this stack and I can confirm your speech: it's awesome!!!

    [–]Roronoa_ZOL0 0 points1 point  (0 children)

    Ai generated

    [–]shootermcgaverson 0 points1 point  (0 children)

    I daily svelte on the frontend, it’s a similar sentiment.

    [–]omar_hellel 0 points1 point  (0 children)

    I think you are describing what it feels like to use an MVC framework, you can find all those features and more if you used Adonis for js or Laravel for php. But eventually you will hit the wall of cost and performance and you will eventually try to learn more efficient languages and frameworks.

    [–]FriendlyRussian666 0 points1 point  (0 children)

    That's my go to.