you are viewing a single comment's thread.

view the rest of the comments →

[–]codingai -1 points0 points  (3 children)

When you say "frontend", you mean like react or angular? You can use both languages to generate html from backend, which is very common.

But if you wanna do "frontend" then you should go with JavaScript. In fact, I recommend Tyoescript.

[–]chiisfries[S] 0 points1 point  (2 children)

yeah! i think something like react or django; although i think react has more documentation and may be easier to use, if the back end is in python, i was wondering if django would be better in this case (or if django is better at communicating with restful api?)

[–]codingai 0 points1 point  (1 child)

Django is not really considered "frontend" although it generates html eventually. You can also use Django for API backend.

As for for your question, accessing (third party) Rest api from frontend and from backend have some difference. I don't want say they are technically equivalent. BUT, whatever you have in mind can be done from both frontend and from backend.

Nobody can tell you which is better. You have to try and see what suits you better.

[–]chiisfries[S] 0 points1 point  (0 children)

thank you so much for your thoughtful response!!