🌐 AI搜索 & 代理 主页
Skip to content

metamarcdw/python-fullstack-transcrypt

 
 

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

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@master#egg=transcrypt
pip install git+https://github.com/metamarcdw/Component.py@master#egg=Component_py

cd python-fullstack-transcrypt/
npm install
npm install -g babel-cli  # If running Windows

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published