Skip to content

This is a project created for the hack Instead hackathon

Notifications You must be signed in to change notification settings

gord02/Covid-Check-in

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploying React application on using Flask

Unpack webpack

Use this command when updates to front end are made so the changes can be reflected in the backend. Use this command in the root folder of frontend.

npm run build

Using the previous command generates the content of the react app in the static folder and templates folder in flask server folders.

Use this command to run the flask server, using flask run no longer works

python appName.py

Reference to article: https://blog.learningdollars.com/2019/11/29/how-to-serve-a-reactapp-with-a-flask-server/

About

This is a project created for the hack Instead hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published