DEV Community


Posted on

What STACK do you choose and why?

What stack do you choose and when? I’m getting into using React and Django together,
But do I need Next.JS? I also like Vue.

Is it often you use Django as a backend? Or what’s your choice?
I’ve been using Sqlite3 with Django, but is that good? I’m looking into GrapgQL, MongoDB and Next.JS

Top comments (18)

shadowcraze90 profile image

I know, this is a whole other rabbit hole but... I use Vue professionally and recently started playing with Svelte and it's syntax simplicity is absolutely amazing and currently building a personal project with it. There is so little syntax overhead and I love it.

yobretyo profile image

I’m I between react and vue. I like vue, but started using react to get better at JS. Is React a stable for the future with sites? Or is it Vue?

shadowcraze90 profile image

Well if you're looking at job potential, more companies use React than Vue which makes React the more marketable skill. On the other hand it also means more competition for the job among other developers. Neither are going anywhere any time soon. Either would be widely considered as stable. You'll be fine picking either of them.

Thread Thread
yobretyo profile image

Ok, I run into 3-5 years experience is what will be listed. Do you have to be good at styling?

Thread Thread
shadowcraze90 profile image

Depends what you mean by styling? UI/UX design, CSS or code styling?

Thread Thread
yobretyo profile image

I mean by using a framework like Material-UI, or sass. There’s allot of variations that I mess up.

ctrlshiftbryan profile image

You also might consider node express.js for your backend. Other languages no longer have the huge advantages over JavaScript or especially typescript that they use to.

There is a lot of over head and cost two using two different languages and eco systems. Once everything is typescript moving logic from server to client or back and forth is trivial.

shadowcraze90 profile image

Have you tried NestJS? Recently built a backend with it and it was awesome. Don't think I'll use a different back end for a long time. It's basically a Typescript abstraction on top of Express (or fastify). Everything went very smoothly for me.

yobretyo profile image

Not yet, I’m not too sure yet on for what reason to use it.

pwfraley profile image
Patrick Fraley

My Stack consists of the following:

  • Backend: dotnet core, Django, Flask (choose the right tool for the job)
  • Frontend: VueJS and Angular
  • Graphql (dotnet core implementation)
  • MySQL or Postgres, MSSQL
  • ELK Stack + Grafana for Data collection and Visualisation
  • RabbitMQ or REDIS for Async Processing
  • Docker (a live saver for local development)

These are the tools I use on most of the projects I work on. Private as well as professionally.

If you want to get into Enterprise Development: SpringBoot in the Backend.
The last time I have used mongodb is about 6 years ago, same goes for sqlite for local development.

deozza profile image
Edenn Touitou

Not that long ago :
frontend: symfony twig + custom handmade css
api: symfony api-platform
db: mongodb

I learned myself symfony and love the framework. Very easy to set up a proto and from that put something in prod. Api-platform creates for you a fully functional API. For the frontend, I used twig with symfony again because I needed cache enabled front end and I was already familiar with symfony.

Now :
frontend: nuxtjs + custom handmade css
api: firebase + some golang serveless function
db: firebase + maybe graphql

I really have fun writing frontend with nuxtjs, and it comes with a lot of cool features. For the API and the db, I realised Firebase could (for now) handle it, so why going full custom ? And if I need to make some tricky features, I could write it in go (compiled + statically type = love) and put it in cloud functions.

djnitehawk profile image

ui: svelte + tailwinds
api: servicestack + .net core
db: mongodb + mongodb.entities
architecture: vertical slices (without mediator pattern)

why: pure developer experience and performance compared to anything else I've tried.

here's an open source example in case anyone's interested:

sergeypodgornyy profile image
Sergey Podgornyy

  • Laravel (php) for backend, because it is easy to build an application from scratch
  • Postgres as DB, because I was curious to try it instead of MySQL
  • Blade templates for page templates, because I am lazy to write React code for this website and care about server-side rendering (currently disabled due to Corona):

  • Laravel (php) for backend, because it is well-known for me and I made a clean backend in 2 days
  • MySQL as DB, because it is great
  • vue.js for Admin-App, because I just wanna try it 🙂
  • React for UI, because I know it and like to write the code with it

onebook (hackathon project, will be published soon):

  • go for backend, because it was interesting to build it with go
  • MongoDB for DB, because MongoDB Atlas is free for small instances
  • React for frontend, because it rocks and easy

hauschat (in development, should be published soon):

  • go for backend, because it is super fast and has concurrencies; should be very handy for highload
  • MySQL for main DB, as it is great and well-known
  • MongoDB for secondary needs DB, as it is free for small instances
  • React Native to build mobile apps, because it is JS and allows writing apps for Android and iOS. That's a pain for me right now, as I did not write any mobile apps before, so I am looking for support.
christiankozalla profile image
Christian Kozalla

I love the developer experience of Next.js plus the fact that custom API routes are supported out of the box! So in order to use DynamoDB on my blog I simply set up one route to query the database and included secret environment variables on vercel to connect to the database instance 😄 just next.js

andreidascalu profile image
Andrei Dascalu

Backend: fiber
Frontend: react but transitioning to Svelte

I tend to err on the side of performance as long as the drawbacks are acceptable. Both Fiber and Svelte have simplicity, ease of learning and out of the box performance on their side.

fariasmateuss profile image
Mateus V. Farias

My tip is to focus on React, as it is one of the most powerful. So, that had a base to venture into the ecosystem. Learn React and easily master React Native, React.js and Next.js etc.

udzcodes profile image
Ujjwaldeep Singh • Edited

I am planning to use Django as backend in my next project and React for the fronend. So, React + Django Rest Framework

andrewbaisden profile image
Andrew Baisden

The MERN stack is my preference. Combining Django and Flask with a React front-end is cool however I find that most people prefer to stick with Node as they are in the same ecosystem.