Skip to content

This is a simple bottle python server that starts up the react markup service and serves up react component markup.

Notifications You must be signed in to change notification settings

jcblw/python-react-markup-service-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python example for react-markup-service

This is a simple example on how react-markup-service can be used within your application to render react components server side.

Setup

Clone this repo, and then make sure you have python, pip, nodejs, and npm installed.

this example was coded in python 2.7 :P

From the root of the cloned repo run.

npm install
pip install -r requirements.txt

then to run

python index.py

There is some logging done into stdout for the react-markup-service, but the full log can be found in the react-markup-service.log file.

About

This is a simple bottle python server that starts up the react markup service and serves up react component markup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published