Is it possible to develop a web app using Python Flask for back end and React for the front end?

General Tech Technology & Software 2 years ago

0 3 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (3)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

Is it possible to develop a web app using Python Flask for back end and React for the front end?

profilepic.png
manpreet 2 years ago

I don't know why some answers says NO

but I do know that impossible is a big word to say nowadays, so YES you could do this and by many ways.

One way is to separate and the front end from the backend and use Flask API and design your whole backend in REST-API Architecture.

 

Another way is to do like this guy did here bonniee/react-flask I also suggest to go throw this repo if you are a beginner he just merged React and Flask and take a look at this very good tutorial on using React as the front end for Flask app The Ultimate Flask Front-End


0 views   0 shares

profilepic.png
manpreet 2 years ago

Flask is a lightweight backend framework. React is a frontend UI rendering library. Therefore the answer is unambiguously yes.

The real issue is, should you do this? That's a potentially much bigger answer, which at this point can be summarised as "it depends" – on how big the app is planned to be, how much experience you have in Python and Web server development in general, how much experience you have with React, what else you'll be using alongside React for state management etc., and a bunch of other conditions.

You have two options at this point:

  • Do lot of research about Flask, React, and your application requirements, to decide whether these are the right technologies for the job.
  • Jump in and start using them anyway. You'll learn a whole lot about how to use them, their strengths and weaknesses, and maybe have something good to add to your CV/resumé.

0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.