GithubHelp home page GithubHelp logo

angelique-proxy's Introduction

Photo Gallery Service

An app to render a photo gallery for a website's item listing page. It includes a seed script to generate example data.

Table of Contents

  1. Usage
  2. Requirements
  3. Development
  4. Features
  5. Related Projects

Usage

To deploy this service, run a copy of the docker-compose.yml included in the root directory (updating the port mapping as needed). This will pull the image for this app (built from the Dockerfile in the root directory) from Docker Hub, and create a container that runs the server. Once the service is running, open <URL>/:id in the browser, changing the id (0-99) to access a variety of examples (for now, URL is hardcoded to http://3.133.19.147).

Requirements

  • Node 8.15.1
  • Mongo 4.2.0

Development

Installing Dependencies

From within the root directory:

npm install -g webpack
npm install

Features

Features include:

  • A preview of the first few photos in the set
    • arranged in a grid
    • with an on-hover effect that zooms into the photo, and darkens all other photos
    • clicking on a photo brings the user to that point in the carousel
    • clicking on the 'View Photos' button brings the user to the first photo in the carousel
    • clicking the 'Share' button renders a modal that covers the rest of the page, clicking on the 'X' closes it
    • clicking the 'Save' button toggles between a saved (filled heart) and unsaved (empty heart) state
  • A carousel to navigate through the photos
    • clicking on either side of the photo, or the arrow buttons, navigates the user in a loop forwards/backwards through the set
    • clicking the 'X' button closes the carousel and re-renders the preview
    • a description and order number are displayed at the bottom of the photo
    • a 'scrollbar' shows thumbnails (that highlight on hover) of photos in the set, and the user can click on one to navigate directly to that photo

Screenshots of deployed service:

Preview screenshot1

Photo carousel screenshot2

Share modal screenshot3

Save button when clicked

screenshot4

Photos in this project are from the following Airbnb listings:

Related Projects

angelique-proxy's People

Contributors

angeliquemari avatar

Watchers

 avatar  avatar  avatar

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.