Skip to content

andreeahanson/beauty-studio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Beauty-Studio is a desktop app built for make-up enthusiasts. On load, the app renders the landing page, at the top of which there are 9 product categories to click on and view, plus a 'loves' section, where the user can view their selected favorite products.

Clicking on any of the categories will generate, at first, a fetch call to the API for that specific category, followed by the loading of the product cards on the screen. If the category has been clicked before, the products will be generated from the Redux store, saving the time that it takes to fetch the data from the API, and improving user experience.

Each card will contain information about the brand, the name, the price, and an image(if available). At the bottom of the cards there are the heart shaped "love" button, and a link to the Detail Page of each product.

On the detail page, the user can look more into the product, by reading the description, scrolling through the color palette (where applicable), checking the rating of the product, or the tag list, if it has any.

If the user accidentally enters a strange url, the page with display a Not Found message, inviting the user to go back to the home page.

This project highlights my efforts of creating an app using React, Redux, Router, and also testing it using Enzyme.

The app was created using create-react-app.

Installation

https://github.com/andreeahanson/beauty-studio.git

Once you have cloned the repo, install the library dependencies. Run:

npm install

To view the app in action, run the following command in your terminal:

npm start

Then, go to http://localhost:3000/ in your browser to see the code running in the browser.

Screenshots

Home Page

Home Page

Product Collection

Product Collection

Product Detail

Product Detail

Favorites

Favorites

Learning goals

  • Practice building apps using wireframes.
  • Make informed design decisions to create a user-friendly application.
  • Learn Redux and make use of the store, rather than local state of components and containers
  • Use a modular architecture for your application file structure.
  • Learn to write tests in React
  • Learn how to write asynchronous tests
  • Understand and utilize React Router to effectively display data.
  • Use propTypes for every component receiving props.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published