This is a tiny Expo React Native / Vite React app that simulates the behavior of an elevator.
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).
Dark | Light |
---|---|
This project uses many great open-source tools, including but not limited to:
- Favicon: "Cityscape At Dusk" from https://twemoji.twitter.com - LICENSE