Answer the question
In order to leave comments, you need to log in
Which tool to choose for the backend?
I want to create a site for designers, which will be able to upload photos, write comments, rate photos, user authorization, etc. On the front, I prefer React. What to choose for the back, to do it quickly, without the idea of global scaling (personal project), for a small load, and it is desirable to contact react somehow conveniently? Please describe the pros and cons of the proposed solution.
Ps anything but php
Answer the question
In order to leave comments, you need to log in
If you prefer React and don't want PHP, I would advise you to build APIs in Go (Gin/Gonic microframework) or Python (FastAPI, for example). Purely for the API, using huge monsters like Django is redundant. But at the same time, as I understand it, you don’t want to bother too much, so I will advise you to take Django in this bundle:
Why Django? Yes, for the API, it may be redundant, but it still has a lot of things that are needed and work out of the box. The same migrations, for example, ORM, sitemap, some kind of admin panel, etc. Everything is built in, you don't need to set anything up. Since you prefer React on the front, django-rest-framework will come in very handy for this.
Minuses:
Try netcore.
Out of the box, it can
* database mssql mysql pgsql oracle
* Entity framework core
* oauth authorization, and everything is already written, you just need to rewrite a little
* a bunch of packages to support everything in the world
* the ability to work in Linux and Mac (and of course in windows)
* excellent development environment, Community version is sufficient for most scenarios
. Supports React and a whole bunch of goodies for client assembly.
Especially no one advises Node - but there is a certain logic: there will be fullstack js.
Well, express.js or any node framework for the back. There are enough packages in npm for everything, tutorials in Google - in bulk, the community is huge.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question