Giter Club home page Giter Club logo

jakeheft / crate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atulmy/crate

1.0 1.0 1.0 57.14 MB

๐Ÿ‘• ๐Ÿ‘– ๐Ÿ“ฆ A sample web and mobile application built with Node, Express, React, React Native, Redux and GraphQL. Very basic replica of stitchfix.com / krate.in (allows users to get monthly subscription of trendy clothes and accessories).

License: MIT License

JavaScript 95.36% HTML 0.42% CSS 0.65% Java 0.81% Objective-C 1.28% Ruby 0.85% Starlark 0.59% Shell 0.04%

crate's People

Contributors

afzalex avatar arszh avatar atulmy avatar brycemara avatar c-bartell avatar ebouj avatar estaffieri avatar hosseinnedaee avatar jakeheft avatar mateusabdala avatar nickdrew avatar nrcloud avatar philipdefraties avatar

Stargazers

 avatar

Forkers

c-bartell

crate's Issues

Remove active subscriptions

As a user, when I subscribe to a crate, that crate only lives in my subscriptions and is no longer selectable in the '/crates' page.

  • This will make is so you cannot subscribe to the same crate multiple times

Add Style Survey Component

As a developer I need to create a style survey component for first time users to select their style preferences.

Action: Users adds a style preference by selecting an image.

  • Should be a gallery view broken up with clear product categories and instructions to "select one"
  • Should select from options (will either be men or women depending on the crate they select)
  • Should load product images for selection on to page
  • Should be able to submit survey
  • On submit FE will send survey results to BE
  • BE will respond with a style summary
  • FE will display that summary to the User

Add Testing for StylePreferences Component

As a developer I would like to ensure my style-survey is full tested for:

All UI elements render to the screen
Conditional elements are or are NOT rendered appropriately
Submission events do occur
Post-submission messaging renders to screen
Errors are handled as expected

Update subscription success message with modal

As as a user upon completion of the style survey I would like to know that my survey was successfully submitted and get a message that communicates my results.

As a developer I'd like this to be a modal and take the users to their subscriptions page.

Re Routing

As a User,
When I click on + subscribe for the first time then I should be redirected to '/style-preferences' and not '/subscriptions'.

As a developer,

  • Create new Route in routes folder to render StylePreferences component with the path '/style-preferences'
  • Update the routing in Item.js to '/style-preferences'
  • Test it to make sure it's working

POST data

As a FE dev,
I should be able to post the surveyResults data then I should receive the style in the response and display that to the user.

Add Testing for Style Preferences Component

As a developer I would like to test my style preferences component to ensure that it performs as expected and loads the correct information dependent on the state.

All UI elements render to the screen
Conditional elements are or are NOT rendered appropriately
Submission events do occur
Post-submission messaging renders to screen
Errors are handled as expected
State is updated
Router or path is correct and renders expected elements

Style survey

As a user, when I am taken to '/style_preferences', I am presented with a style survey that consists of categories such as tops, bottoms, shoes, etc. I can click on the categories I like.

Improve styling on Survey

As a user,
On the survey:

  • clearly shows which image i have selected
  • images are centered
  • modal is displaying the correct style and button to subscriptions

Add Style Preferences Component

As a developer I would like to add a style preference component to hold/render my style survey component.
This would make it easy to render conditionally if dependent on the state.

  • First time user: Style-survey
  • Return user: Revisit style summary and see select products with prompt to retake survey
  • Troll user: style-survey with no or partial selections prompts error handling and non-submission

Add images to public/images folder for Survey

Images used for the Style Survey will live on the FE.

  • FE team needs to add images that correspond with the survey to the public/images folder.
  • Create a new folder within images to hold survey-images
  • Then each style survey should have these images imported and displayed to the user.

Style images

As a user, once I have selected the categories I like, I am presented with several images from each category with instructions to choose the images that best reflects my style.

  • Each image will need a style attached to it
  • Add style column to user table?

Add StyleCards

Component that handles creating each "style card" (the image of clothing that user can click on)

Set up

As a team member,

I should be able to:

  • Run localhost/3000 (web)
  • Run localhost/8000 (api)
  • Interact with the site
  • Interact with the code

Style summary generation

As a user, once I've selected images that match my style, I am given a summary of my style such as 'classic but edgy'.

  • Put styles into complementary and conflicting categories (i.e. conflicting categories would yield 'classic but edgy', while complementary would yield 'classic and modern', for example)

WireFrame for Style Surveys

FE team will need to put together a wireframe for how the page should look / render and how the user should be able to interact with it.

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.