Monitors the online status of a device and updates its status in a MongoDB database.
- Node.js
- Bun
- MongoDB
-
Clone the repository:
git clone https://github.com/loefey/heartbeat.git cd heartbeat -
Install dependencies:
bun install
-
Set your MongoDB URI in the
.envfile:MONGO_URI=your_mongodb_uri
Run the project:
bun run .