Skip to content

This is a tiny Expo React Native / Vite React app that simulates the behavior of an elevator.

License

Notifications You must be signed in to change notification settings

winterdouglas/elevator-react

Repository files navigation

elevator-react

This is a tiny Expo React Native / Vite React app that simulates the behavior of an elevator.

Deploy static content to Pages

Web app

Description

The projects are in a monorepo configured with turborepo and yarn workspaces, that enables sharing some code between web and mobile.

  • tsconfig (typescript base configs for react and react native apps)
  • eslint-config (common eslint configurations)
  • theme (eg.: colors and layout aspects)
  • elevator-core (the base logic for the elevator, fully implemented using hooks)

The apps uses some basic components and react hooks to create the elevator logic.

  • It's possible to change route when the elevator is already running.
  • The floor can only be called once, no matter if it's from "inside or outside" of the elevator.
  • It supports dark and light modes (respecting the system preference).

Screenshots

Dark Light
Screenshot of the app in dark mode Screenshot of the app in dark mode

About

This project uses many great open-source tools, including but not limited to:

About

This is a tiny Expo React Native / Vite React app that simulates the behavior of an elevator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published