A simple, boilerplate for building web apps with a React front-end and a Python Flask back-end.
🌐 Backend Setup
Clone the Repository
cd react-python-boilerplate
Create a Virtual Environment py 3.10 >
python -m venv myenvpath
Activate the Virtual Environment
.\myenvpath\Scripts\Activate.ps1
Install Python Dependencies
cd C:\projects\react-python-boilerplate\
pip install -r requirements.txt
Run the Backend Server
python server.py
🌐 Front-end Setup
Install Dependencies
cd C:\projects\react-python-boilerplate\front-end
npm install
npm run dev
This should open http://localhost:5173/ in your browser.