Skip to content

Full stack website template with Python (Flask) and JavaScript (React)

License

Notifications You must be signed in to change notification settings

victor-iyi/flask-react-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-react-template

Full stack website template with Python (Flask) and JavaScript (React)

Setup

Clone this repo

git clone https://github.com/victor-iyiola/flask-react-template.git

Or download the project here

Then change your working directory as show below

cd flask-react-template

Install python dependencies

pip install --upgrade pip
pip install --upgrade -r requirements.txt

Install npm dependencies

cd flask_react_template/client/static
npm install

After installing the dependencies. You can now start webpack (to compile all client files into a single javascript file. bundle.js)

For development

npm run watch

For Production

npm run build

Excellent. Now it's time to start the Python (flask) web server.

cd <flask-react-template>
python run.py --debug=True

About

Full stack website template with Python (Flask) and JavaScript (React)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published