Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/metamarcdw/python-fullstack-transcrypt

Example of React and Redux with Python using Transcrypt and Component.py
https://github.com/metamarcdw/python-fullstack-transcrypt

flask-restplus jwt-bearer-tokens python react redux transcrypt

Last synced: 29 days ago
JSON representation

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

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/metamarcdw/python-fullstack-transcrypt.svg?branch=develop)](https://travis-ci.org/metamarcdw/python-fullstack-transcrypt)

## 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