Code Monkey home page Code Monkey logo

carepatron's Introduction

Answering questions on the Wiki:

If time wasn't a constraint what else would you have done?

  • To understand more about the React MUI library

How was this test overall? I.e too hard, too easy, how long it took, etc

  • For me its easy, it took me half a day to implement the Requirements needed for the test
  • The only challenge for me is the usage of the React MUI library, as i need to understand how theming works here, how the styles and components are implemented

How close to the designs is your submission?

  • Probably i would say 85-90%

If you needed to change something in the future (size/color of buttons), how easy would it be?

  • It would be pretty easy, as we just need to adjust it in our theme object

How does this look on different devices?

  • Added responsiveness on this to display properly on small resolutions
  • Added the <CSSBaseline> which is to normalize the styles across other browsers

What if a customer has thousands of records?

  • Then we need to update the backend API to support pagination and implement the pagination

How is state managed as the codebase grows?

  • Currently we use context for this, which is alright based on the requirements and size of the app, but we need to use a global state management here like redux or zustand in the future if the codebase grows and there's alot of data accessing between siblings.

How can we support multiple countries?

  • We use react-intl library to handle different languages on our text

How can you ensure the app behaves as you intend it to?

  • We add unit test and component test

How intuitive is the behavior of the app?

  • I've added some UX on this:
    • on creating new client, we show a snackbar telling users that its a success operation
    • if the required field is not inputted, we display a proper error message on the UI
    • in searching, we see the results in real-time. Though if the API is properly implemented, then we move the searching logic to the backend and add a loading state while searching
    • if there's an error in the API when we create a client, we catch the error

Added Libraries

  • Added uuid library to generate the ID of the client to be sent to the API
  • Added react-hook-form to handle the input form validation
  • Added prettier for code formatter

carepatron's People

Contributors

davidpene avatar johnfrades avatar julian-robinson avatar

Watchers

 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.