Git Product home page Git Product logo

case_study's Introduction

Available Scripts

In the project directory, you can run:

npm install

Will install the dependencies

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information. You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Approach and remarks

Time spent: 4.5h

The app is deployed and available here https://jolly-feynman-3836df.netlify.com

The app Store is divided into 2 pieces of State:

  • the People Slice which is used to query the teams and users and will store the returned values
  • the Schemes Slice which is used to manipulate the Validation Schemes data and persist/retrieve the values into locale storage

This is what is functionnal in this version:

  • A User can see the list of existing teams with the first 3 users being displayed
  • Clicking on a Team displays the list of threeshold steps for that team. A Threeshold is made of a From value, a To value and has an approver
  • A user can add one or more new steps and save them. It will be persisted to locale storage
  • Only a pseudo-valid step can be created (must have a "from", "to" and an approver )
  • A user can edit an existing step and save to persist

A list of things that are not supported in this version:

  • A user cannot delete an existing step.
  • No additionnal checks are made when creating a step to make sure the data is valid ("From" must be smaller than "To", the approver isn't already on another step...)
  • The list of approvers aren't displayed on the Homepage
  • I didn't have enough time to write more tests to check the application behaviour more deeply

Misc

  • It seems like two teams can have the same ID. Right now both Sales & Operations redirect to Sales

case_study's People

Contributors

deonclem avatar

Watchers

James Cloos 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.