Skip to content

A simple example of sanic+react service with webpack builder

License

Notifications You must be signed in to change notification settings

kurlov/sanic-react

Repository files navigation

sanic-react

A simple example of sanic+react service with webpack builder

Setting up

You can run this via Vagrant, just type this command in your prompt:

$ vagrant up

Manual installation

You should make sure you have:

  • at least python3.5 with pip. 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.

About

A simple example of sanic+react service with webpack builder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published