Skip to content

A tutorial project where Flask is used for backend and react for front-end

Notifications You must be signed in to change notification settings

bhargavrpatel/flask-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-Flask

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.

Running

  1. Clone the repo
  2. Create virtual env and source it using source env/bin/activate (OSX.
  3. Run [sudo] pip install -r requirements.txt or 'pip install flask'
  4. Run npm install
  5. Run bower install
  6. Run python project/app.py or sh run.sh to run the application
  7. Visit localhost:5000 to see the application

About

A tutorial project where Flask is used for backend and react for front-end

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published