mirror of
https://github.com/vipul-sharma20/flickr_feed.git
synced 2026-06-28 08:23:04 +00:00
Flickr public feed flask app
- Python 43.4%
- CSS 33%
- HTML 13.2%
- JavaScript 10.4%
| flickr_feed | ||
| .gititgnore | ||
| README.md | ||
| requirements.txt | ||
flickr_feed
How to run ?
git clone https://github.com/vipul-sharma20/flickr_feed.gitcd flickr_feedvirtualenv ffworkon ffor sourceff/bin/activatepip install -r requirements.txtexport FLASK_APP=flickr_feed/__init__.pyflask run
Features
- Search : Displays photos based on search query
- Like / Favorite : Liked photos are favorited in the user's Flickr account
- OAuth : To sync up with the favorites in concerned Flickr account
App Architecture
.
├── README.md ------------------> Description of this application
├── flickr_feed
│ ├── __init__.py ------------> FLASK_APP starts here
│ ├── config.py --------------> API configuration and app configs
│ ├── flickr.py --------------> Flickr OAuth and API requests ** (I found this interesting) **
│ ├── static
│ │ ├── css
│ │ │ ├── main.css ------> Templates CSS
│ │ │ └── main.min.css ---> Minified version of above
│ │ └── js
│ │ ├── main.js --------> All of JavaScript code
│ │ └── main.min.js ----> Minified version of above
│ ├── templates
│ │ └── index.html ---------> The only page of this app
│ └── views.py --------------> View functions for all the routes
└── requirements.txt -----------> App requirements