Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 1.14 KB

README.md

File metadata and controls

33 lines (29 loc) · 1.14 KB

Build Status

Example of React and Redux with Python using Transcrypt and Component.py

Also uses Flask-RESTPlus backend with SQLAlchemy and JWT-Extended

Are your eyes burning? Check out the regular JavaScript version: https://github.com/metamarcdw/react-redux-todos

First install Python>=3.6/pip, NodeJS/npm>=5.2, and Git:
sudo pacman -S python-pip npm git
Next, clone the repo
git clone https://github.com/metamarcdw/python-fullstack-transcrypt
Set up your React/Transcrypt environment:
(Use of a virtual environment is recommended but not required)

mkvirtualenv transcrypt
pip install git+https://github.com/qquick/transcrypt@67c8b9#egg=transcrypt
pip install git+https://github.com/metamarcdw/Component.py@master#egg=Component_py

cd python-fullstack-transcrypt/
npm install

We can now compile with Transcrypt and run our Webpack server

make compile  
npm start  

OR (If running Windows)

compile  
npm run win  

Open up a browser and connect to http://localhost:3000