Skip to content

mahimnamehta/react-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

  1. Navigate to the project directory:
cd react-python-tutorial
  1. Navigate to the backend directory:
cd backend
  1. Create a virtual environment:
  • On macOS and Linux:
python3 -m venv venv
  • On Windows:
python -m venv venv
  1. Activate the virtual environment:
  • On macOS and Linux:
source venv/bin/activate
  • On Windows:
venv\Scripts\activate
  1. Install the dependencies:
  • On macOS and Linux:
pip3 install -r requirements.txt
  • On Windows:
pip install -r requirements.txt
  1. Navigate to the frontend directory:
cd ../frontend
  1. Install the dependencies:
npm install
  1. Build the frontend:
npm run build
  1. Navigate to the backend directory:
cd ../backend
  1. Run the Flask app:
flask run
  1. Open your browser and go to http://localhost:5000/ to view the app.

Releases

No releases published

Packages

No packages published