Skip to content

Executing python code in the backend, frontend with React.

Notifications You must be signed in to change notification settings

sirajlekhak/react-flask-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

In the project directory, you can run:

Starting the Frontend

Run npm install to install all the dependencies.

Run npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

Running the Flask backend

To install all dependencies, open a separate terminal:

  1. Go to api directory by command cd api
  2. Create a virtual environment python -m venv venv
  3. Run . venv/bin/activate to start the virtual environment
  4. Run pip install -r requirements.txt

Open a spearate terminal to run the backend:

  1. Run cd api && venv/bin/flask run --no-dubugger `

About

Executing python code in the backend, frontend with React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 31.9%
  • Python 29.7%
  • HTML 26.1%
  • CSS 11.9%
  • Shell 0.4%