Skip to content

czaaru/elevators-front

Repository files navigation

Elevators Front Build Status

Heroku preview

NOTE: If it does not work at first, retry - heroku might be starting up.

Table of Contents

Core Concepts

Elevators Front is a visual interface for Elevators API. It supports adding up to 16 elevators and allows calling a pickup from a floor, moving a elevator step forward and resetting simulation to its initial state.

Getting started

Set node version and install dependencies.

nvm use
yarn

To start this app locally run the following command and open your web browser at http://localhost:3000.

yarn start

The test is configured with Jest. To start testing, run the command below.

yarn test

NOTE: To run with local version of backend replace BACKEND_URL property inside of src/config.ts.