Skip to content

roryschadler/ElevatorApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elevator App

Dockerized React App modeling a basic Elevator.

To build, run docker build -t elevator . from the repository root. To run the container, run docker run -it --rm -v "$(pwd):/app" -v /app/node_modules -p 3001:3000 -e CHOKIDAR_USEPOLLING=true elevator from the repository root.

Access the app at http://localhost:3001. The elevator takes 10 seconds at each floor stop, and 5 seconds to travel between floors. Click on the Floor buttons to summon the elevator to that floor, and click on the Car buttons to move to that floor. Open your browser's console to see a textual output of the elevator's movements, or just look at the Elevator Location in the Control Panel tab.

About

Dockerized React App modeling a basic Elevator

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors