Giter Club home page Giter Club logo

image-search's Introduction

IMAGE SEARCH APP

๐Ÿ’š checkout out the production build live on gitHub pages

https://andriussvilys.github.io/image-search/ OR clone the repository to see the code up close

๐Ÿ’š DESCRIPTION

This app utilizes unsplash API in order to request, retrieve and render images onscreen and offers and option to save these queries.

๐Ÿ’š SAVING QUERIES

A user may choose to save their favourite search results by clicking "SAVE" button in order to view these images at a later time. The app uses a REDUX store and collects every query a user submits, so if the query is repeated, even if it is not saved, it will not send a request to the API and instead load it from the store thus saving bandwith and API load. Saved queries are store in a simple array list.

๐Ÿ’š GALLERY

Hovering (or clicking on mobile) on images displays the name of the author who took the picture. Their name is a clickable anchor tag that opens into a page with more info of the author.

๐Ÿ’š MODALS

Custom modals pop on scripted events: when query returns no results or when a user wants to save a query (this event can have different outcomes: if the query is saved already, if there was no query or no results have been returned; a modal will appear before a user wants to save an unrecorded query allowing to confirm or cancel the operation). A custom progress bar is also present, however during my testing it was only relevant on slow networks. For better or worse I capped my queries at 10 results and generally they are returned and rendered rather instanteneously. The search progress is split into two episodes:

  1. fetching query from the API
  2. loading images

๐Ÿ’š USER INTERFACE

This app is responsive and has slightly different layouts for desktop, tablet (<768px) and mobile (<468px) screens. The favourites/saved queries block becomes hidden on screens with width <768px and a hamburger icon appears next to "SAVE" button thus introducing a more ergonomic, familiar and delightful interface. Modals pop up within appropriate blocks, overlaying contents inside with a stylish and fun yellow colour immedialy attracting user's attention. Styled using scss.

page view

image-search's People

Contributors

andriussvilys avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

sshyran

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.