How to Use Python Code in your React App (React + Flask Tutorial)

Опубликовано: 16 Май 2023
на канале: Avinash Prasad
9,407
145

Are you a Python developer transitioning into web development and missing the vast array of powerful Python libraries? If so, fear not, for there is a solution! By using a Flask backend for your React application, you can seamlessly execute Python code on the server side and harness its functionality within your web app.

In this tutorial, I will guide you through setting up a Flask backend and demonstrate how you can effortlessly leverage the results of executed Python code within your React application. Say goodbye to limitations and unlock the full potential of Python in your web development endeavors!

TIMESTAMPS
00:00 What we will learn
00:58 Creating React App
02:48 What is a monorepo?
03:05 Creating Virtual Environment
04:12 Installing Flask in the Venv
05:20 Coding api.py
06:16 Routes in Fask
06:43 Copying Python code
07:45 IMPORTANT (flaskenv)
08:34 Running the Flask backend
09:20 useState Hook
10:00 useEffect Hook
10:42 fetching the API
12:10 IMPORTANT (proxy)

🌟 Please leave a LIKE ❤️ and SUBSCRIBE for more AMAZING content! 🌟

🌎 Portfolio & Services: https://avionmission.com
📚 Blog: https://avionmission.hashnode.dev
🐤 Twitter:   / avionmission  
📝 LinkedIn:   / avionmission  
📂 GitHub: https://github.com/avionmission


На этой странице сайта вы можете посмотреть видео онлайн How to Use Python Code in your React App (React + Flask Tutorial) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Avinash Prasad 16 Май 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 9,407 раз и оно понравилось 145 зрителям. Приятного просмотра!