Install Python3/pip and Node/npm.
Install pipenv Python package manager:
pip install --user pipenv
Enter the backend directory:
cd api
Install the python dependencies:
pipenv install
Install the node dependencies:
cd ../app
npm install
cd api
pipenv run flask run -h 0.0.0.0
cd ../app
npm start
Make a test request:
curl --header "Content-Type: application/json" --request POST --data '{"rawText": "hello world!"}' http://localhost:5000/api/rawtext
pipenv run black app.py