Morepath backend for React + Redux
A Morepath REST backend with a React + Redux based frontend.
Morepath backend
You can run the code using a clean Python environment (using virtualenv):
$ virtualenv env $ source env/bin/activate
After this you can install dependencies using:
$ env/bin/pip install -e .
Once that is done you can start the server:
$ env/bin/run-app
You can go to http://localhost:5000 to see the UI
For installing the test suite and running the tests use:
$ env/bin/pip install -e '.[test]' $ env/bin/py.test
JS bundle
For an introduction to the JavaScript toolchain used see:
https://github.com/faassen/bundle_example
JavaScript code is in js subdirectory. To rebuild the bundle you need to install the JS dependencies (listed in package.json). Run:
$ npm install
to install them. Then run:
$ webpack
To rebuild the bundle after changing it.
CHANGES
0.1 (2016-07-01)
Initial public release.
Release files for morepath-reactredux 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| morepath_reactredux-0.1.tar.gz | 330.9 kB | Details |
Release files / morepath_reactredux-0.1.tar.gz
| Download URL | morepath_reactredux-0.1.tar.gz |
|---|---|
| Size | 330.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0581241652b5469d39ef92d4592bf546ef1dd82a4a6d451a75ba630e17a9cbe5
|
|
BLAKE2b-256 checksum How to use checksums |
fd0ca18ddf45816dd210bdb2f7fb882cae7330ba1879afbbf07541d0dc24c5c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |