Giter Club home page Giter Club logo

testamardeep's Introduction

TypeScript Interview Exercise

To run:

yarn install
yarn start

Website runs at http://localhost:7000

Goal

The goal of this exercise is to allow a user to book a simple order from an order entry screen. The basic requirements are:

  1. When the user clicks the Book button, the screen transitions to show Booking In Progress.
  2. If the booking succeeds, show a Booking Success message.
  3. If the booking fails, show a Booking Failed message, along with the error message.

Codebase Overview

  • The codebase here is potentially something that a junior / less experienced developer may have worked on.
  • Refactoring is welcome - we will talk through any refactoring that you have made as part of reviewing the solution to the exercise.

Implementation Notes

  • The codebase is Typescript and React. Jest is used for tests.
  • State management is handled using a custom solution - there is no need to introduce redux or any other library as part of the solution.
  • The backend is stubbed out - there is no need to extend the stub service / implement a real backend

Constraints

  • No modifications to the current list of dependencies in package.json are permitted.

testamardeep's People

Contributors

thisisamardeep 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.