https://learnwordsgre.herokuapp.com/#/
This project shows how to render a full stack application with ReactJS Front End and Python Flask back end
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Ensure that you have the following tools available on your machine;
- Git A distributed version control system
- Python A general purpose programming language
- Pip A tool for installing python packages
- create-react-app A supported way of creating single-page React applications
- npm Node package manager to install dependencies for React
Start by cloning the repository to your local machine
git clone https://github.com/learningdollars/sushan-reactapp-flask.git
cd sushan-reactapp-flask/
Make and activate a python virtual environment using conda
or any other virtual environment
conda create --name "name" python = 3.7
source activate "name"
With the virtual environment activated, install the project dependencies for the flask server
pip3 install -r requirements.txt
cd react-app/
npm install
npm run build
You can start a local server by running
cd ..
python wsgi.py
visit http://127.0.0.1:5000/ to view your application.
Abhiram Natarajan (lordbeerus0505)