loading...

BACKEND, DATABASE, STORAGE..... which do you prefer to use for React, Vue or Django. when and why?

yobretyo profile image Bret ・1 min read

When your working on a project. What database do you use and when?
I’ve been using Django + Python for a while and it’s more strait forward then creating CRUD or a Admin to add products easier.

But, what do you do for a Frontend when you need a DB? Is SQLite3 good?

Discussion

pic
Editor guide
Collapse
danim47c profile image
Daniel Mateos

The most frequent way of connecting to a database from frontend it's via an API. You can make your own API with, for example, Django Rest Framework or, you can consume a service like Firebase or Amplify which are managed through their web and you pay for the number of requests you make.

Collapse
yobretyo profile image
Bret Author

Ok, so, is Django the most common to use for backend/database? As in, is it common to see react, vue use Django?. I haven’t used Django Rest Framework yet, I’ve just been using the SQLite3 that comes with it

Collapse
danim47c profile image
Daniel Mateos

Django is one option but there are much more options.

Thread Thread
yobretyo profile image
Bret Author

Ok 👍, what are popular alternatives?

Thread Thread
danim47c profile image
Daniel Mateos

The most popular types now are Rest APIs and GraphQL APIs, I recommend you to see their differences and choose one for your project.

Thread Thread
yobretyo profile image
Bret Author

Which would you recommend? I looked at Django Rest Framework, but, it seems very different from just Django. How many options do you have with GraphQL?