Skip to content

metamarcdw/python-fullstack-transcrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a9926c1 · Apr 20, 2019
May 31, 2018
Sep 12, 2018
Sep 17, 2018
Jul 10, 2018
Jul 11, 2018
Sep 17, 2018
Sep 17, 2018
Sep 17, 2018
Sep 17, 2018
Apr 20, 2019
Aug 12, 2018
Aug 12, 2018
Aug 12, 2018

Repository files navigation

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