Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/abhiomkar/flask-react

Boilerplate to create lightweight webapp with Flask & React.js
https://github.com/abhiomkar/flask-react

Last synced: about 2 months ago
JSON representation

Boilerplate to create lightweight webapp with Flask & React.js

Awesome Lists containing this project

README

        

Flask React
===========

Introduction
------------
Boilerplate to create a simple web app with Flask and React. Other fontend libraries included Twitter Bootstrap, jQuery, Lodash, Require.js & Font Awesome.

Demo
----
Deployed on Heroku: [flask-react.herokuapp.com](http://flask-react.herokuapp.com)

Installation
------------
* Install python dependencies

pip install flask requests

* Install required frontend libraries using [bower](http://bower.io/#install-bower).

bower install

* Transform JSX to JS using [React tool](http://facebook.github.io/react/docs/tooling-integration.html#productionizing-precompiled-jsx) for development purpose

jsx --watch app/static/jsx app/static/js

* Run Flask server

python app/main.py

* Start coding! :)

Author
------
Abhinay Omkar

License
-------
MIT

TODO
----

- Migrate to ES6. Get rid of deprecated JSX.
- Support server side rendering of React components
- Use webpack & gulp for packaging and building.
- Use PostCSS.
- Add deploy instructions.