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?
Top comments (6)
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.
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
Django is one option but there are much more options.
Ok 👍, what are popular alternatives?
The most popular types now are Rest APIs and GraphQL APIs, I recommend you to see their differences and choose one for your project.
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?