Welcome to the Elevator Simulator, a dynamic simulation of elevator movements, complete with real-time updates and control panel interactions.
This project features a React front-end with Tailwind CSS, TypeScript, and Framer Motion, and a Node.js back-end powered by Express and MongoDB for managing elevator states. The simulator provides a visual representation of an elevator moving between floors, with smooth animations and real-time API interaction.
- Front-End: React, TypeScript, Tailwind CSS, Framer Motion
- Back-End: Node.js, Express, MongoDB, REST API
- Deployment: Front-end on Netlify, back-end on Render
- Interactive control panel for calling the elevator to specific floors.
- Real-time elevator movement and status updates.
- Responsive design for mobile and desktop.
- Visually appealing animations using Framer Motion.
- REST API for managing elevator states.
- Frontend: Elevator Simulator on Netlify
- Backend: Hosted on Render (see note below).
Note: The backend is hosted on a free-tier Render service. This means the server may take a few minutes to wake up when accessing the application for the first time.
Ensure you have the following installed:
git clone https://github.com/bhavyabhut/elevator-simulator.git
cd elevator-simulator
npm run install:server
npm run install:client
For the server to communicate with MongoDB, create a .env file in the server folder with the following content:
MONGO_URI=your_mongo_db_connection_string
PORT=your_port
npm run start:server:dev
npm run start:client
To build the project for production, run:
npm run build:server
npm run build:client