Skip to content

Latest commit

 

History

History
107 lines (79 loc) · 5.73 KB

README.md

File metadata and controls

107 lines (79 loc) · 5.73 KB

Painting by (hex) Number

Table of Contents

Front-End Mod 3 Project by: Ashton Huxtable, Lourdes Mendoza, & Em Orendorff

Overview

When an art lover visits an art museum, they walk around the museum, and naturally find themselves gravitating towards art that fits their style or overall preferences which can include a preference towards certain color palettes. Painting by (hex) Numbers is an app that facilitates this! Users are be able to view only art that matches their preferred color palettes by allowing them to specify what color swatches they want to see, and they are then led to see art that matches those colors and favorite them into thier collection. This project was created in roughly one week to demonstrate our ability to learn a new technology to make a fully functioning application, in this case, Typescript and React with Hooks. The rubric for this project is found here.

Check it out here on heroku or see instructions for viewing locally below.

Instructions for Viewing Locally

  • Clone down this repo by copying the SSH key and from your terminal git clone
  • npm i to install dependencies
  • cd into the repo
  • npm start to activate the server
  • Open localhost:3000 in your browser to view the project

Architecture and Learning Goals

  • Self-teach Typescript and React Hooks to create a fully functioning app in roughly one week.
  • Demonstrate working knowledge of functional components with hooks, types and interfaces.
  • Build upon the foundational skills of React
  • Utilizes React Router for url navigation
  • Retrieve and display artwork from the The Rijks Museum API endpoints
  • Style and format color-picker dependency React Color
  • Testing performed with Cypress to better understand asych JS

Walkthrough

  • As a user, you may select from any of the given swatches on the left. Upon selection, artwork that has a matching hex code included in it will render to the page. Users can hover over each one for information including the title, artist and year created. You can pick a different color at anytime to render a different set of paintings with different hex codes.

home view

  • Love a painting and don't want to lose it? Favorite it! Users may save as many pieces of art as they would like and then view them in "My Collection"

my collection

  • Router error handling - Trying to go to a url that doesn't exist? Don't worry, we'll guide you back to where you're supposed to be.

routererror

  • Testing via Cypress - Extensive user flow testings with Cypress and stubs. cypress

  • Responsiveness - Viewable on mobile, tablet and desktop!

Screen Shot 2021-08-02 at 4 22 00 PM

Screen Shot 2021-08-02 at 4 21 50 PM

Tech Stack

React w/ Hooks React Router CSS Cypress Typescript

Future Features

  • User ability to delete artwork from their collection
  • Additional error handling and redirects
  • Additional filtering to allow users to select multiple swatches for artwork that has multiple matches
  • Additional museums APIs for even more artwork
  • User login and Express or local storage so collections are saved

Contributors

Em Orendorff Ashton Huxtable Lourdes Mendoza
Em Orendorff avatar Ashton Huxtable avatar Lourdes Mendoza avatar

Project Managers:
Kayla Wood https://github.com/kaylaewood
Scott Ertmer https://github.com/sertmer

Turing School of Software & Design