Following a tutorial, I created a basic AJAXy filter component that searches and changes the DOM/view live.
The backend is boilerplate flask application that renders template. Here however, we serve most of the page using React. This has some interesting implications. I am planning to run this in future projects.
- Clone the repo
- Create virtual env and source it using
source env/bin/activate
(OSX. - Run
[sudo] pip install -r requirements.txt
or 'pip install flask' - Run
npm install
- Run
bower install
- Run
python project/app.py
orsh run.sh
to run the application - Visit
localhost:5000
to see the application