Giter Site home page Giter Site logo

bike24-frontend-challenge's Introduction

setup

install

npm i

run app

  • npm run dev
  • app is visible on http://localhost/5173

run unit tests

npm run test

run e2e tests

npm run test:e2e

 

 

 

Greetings and welcome to the Bike24 Frontend challenge

UI example

   

The rules

  • You have one week to complete the task at your own pace

  • Please avoid a single commit at the end, we are also interested in the commit history :)

  • The visualization above is just a suggestion, it's up to you to implement it according to your imagination

  • Try to work through the tasks in their order and refine the final result with each new requirement

  • You can use libraries, but maybe we ask why exactly this one

  • Provide your code as a runnable application in the repository

  • Typescript is mandatory

Hint: You will find the products in the data folder

   

The task

Try to imagine a wild product owner approaching you and wanting to improve the shopping experience for our customers. The following requirements are specified

  • As a customer I want to be able to select products from the drop down list.

  • As a customer I would like to be able to see the prices in the drop down list.

  • As a customer I would like to be able to determine the quantity of the product before I add it to the shopping cart.

  • As a customer I would like to be informed when I exceed the maximum number of products and be prevented from entering more than this number

  • As a customer I would like to see the total for the selected product before I add it to the shopping cart

  • As a customer I want to be able to see all my products in the shopping cart

  • As a customer I want to be able to see the total of the shopping cart at any time

  • As a customer I want to be able to remove products from the shopping cart

  • As a customer I would like to be able to delete the entire shopping cart at once

  • As a customer I want to be able to see how many shopping cart items I can add (max 10 items, not product amount combined)

  • As a customer I would like to be informed when I have reached the limit

  • As a customer I want to see a graphical overlay when I confirm the purchase to know that my order was successful

   

Extended scope

  • As a customer I want to be able to select the quantity of products with a slider

  • As a customer I want to be able to see the quantity selected with the slider also in the input field

  • As a customer I want to see the new total for the selected quantity only after a few milliseconds

     

Good luck

bike24-frontend-challenge's People

Contributors

chargome avatar

Watchers

 avatar

bike24-frontend-challenge's Issues

Clarify price situation

I have two questions regarding the price:

  1. I haven't found the currency in which the price is defined
  2. I am not sure if there should be a price calculation with the provided tax rate – for now I'll handle the calculation in a util function which can be updated later on

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.