Answer the question
In order to leave comments, you need to log in
Should I combine Django and React logic?
Tell me, pliz, what is the best thing to do when developing a site with a portfolio and blog functions.
I'm going to make an exhibition site of completed projects. Projects is a portfolio of works with photos and descriptions.
Projects can be uploaded to the server by registered users, and their work can be commented on and rated. A filter of works by years, participants and nominations will be implemented. A plus will be pages with sponsors, the jury. Participants and the jury have separate rights: the first - CRUD, the second - to evaluate the work of the first.
It seems that the site combines both statics and dynamics, since the database is connected. ssr react is not as preferred as csr.
Question:
1. Does it make sense to pull react with gatsby for statics and pull up the comment form with work evaluation via ajax or use an external application for comments? If you connect your forms, then as I understand it, react takes over the logic of displaying forms, but it could also be implemented through django. Then what is left for janga except for the admin panel and issuing content from the database and in what other form: JSON, HTML?
2. how to separate the logic and rendering between the front and the backend in the proposed situation?
3. or do you get by with Django and not bother with React? Its installation, configuration and study will require a lot of time and nerves (in the beginning, for sure)
Please treat with descent, I'm just studying this topic and I want to start the project right. Thanks
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question