A simple example of sanic+react service with webpack builder
You can run this via Vagrant, just type this command in your prompt:
$ vagrant up
You should make sure you have:
- at least
python3.5withpip. You might want to create venv npm- globaly installed
webpack
Then type
$ pip install -r requirements.txt
$ npm --save-dev install
$ npm run build
Use npm run start to run sanic server with react app.