Skip to content

An simple version of the Flickr website using the Flickr API.

License

Notifications You must be signed in to change notification settings

SummySumanth/Flicker-Fun

Repository files navigation

Flicker-Fun

An simple version of the Flickr website using the Flickr API.

View project directly:

click here - (Ctrl + Click || Cmd + Click) Refreshing page would not work here as they are just static files (without served from a server) and because of frontend routing, it wont be able to resolve files and you would get a 404 on refreshing and that is expected.

Configurations

Following are the configurations that can be made to this project, all the configurations exist in route directory configs.js (./configs.js)

  1. flickerApiKey - Define your own flicker api key here [params - api key in string]
  2. searchNetworkCallDelay - Define the delay to be present before making network call for search auto-complete suggestions [params - Milliseconds key in number]
  3. perPage - Defines number of photos to be fetched in each network call in gallery page

NPM Scripts

To install the required npm packages ( Required only once )

 npm i

or

 yarn

To Run

 npm run start 

To build

 npm run build

Few Pointers about this project

  1. Lazy loading of Images have been implemented (No pre built stuff used).
  2. Code splitting for better optimization of static files(script files) delivery and make initial load quicker.
  3. Throttling of network activities to reduce unhandled number of calls on search query (No pre built stuff used).
  4. Search suggestion network calls are throttled!
  5. No css frameworks used, all the styles and animations are handwritten !

UI(s) of this project

Groups intial page

alt text

Search Suggestions

alt text

Search Result

alt text

Stats

alt text

Gallery

alt text

alt text

Photo Preview

alt text