Skip to content

pradeepbgs/uptime-bot-be

Repository files navigation

UptimeBot Backend Service

This repository contains the backend service for UptimeBot, built with Bun.js and TypeScript. It leverages Redis for data storage and BullMQ for robust job queuing, enabling efficient and reliable uptime monitoring.

Technologies Used

Bun.js: A fast all-in-one JavaScript runtime.

Redis: An in-memory data structure store, used for both data persistence and as a message broker for BullMQ.

BullMQ: A powerful, fast, and reliable queue system based on Redis.

Installation

To get this project up and running on your local machine, follow these steps:

  1. Clone the Repository git clone https://github.com/pradeepbgs/uptime-backend.git

    cd uptimebot-backend

  2. cd uptimebot-backend

  3. bun install

  4. Environment Variables Setup

MONGODB_URL= JWT_SECRET=upbot

GOOGLE_CLIENT_ID=

ACCESS_TOKEN_SECRET=ACCESS_TOKEN_SECRET ACCESS_TOKEN_EXPIRY=5d REFRESH_TOKEN_SECRET=REFRESH_TOKEN_SECRET REFRESH_TOKEN_EXPIRY=15d

PORT=8000

MAIL_USER=[email protected] MAIL_PASS=

PRODUCTION=false APP_URL=http://13.203.175.105:3000

Note: Ensure your Redis server is running and accessible from where you are running this service.

Running the Service Once the dependencies are installed and the .env file is configured, you can start the backend service:

run - bun run index.ts

uptime-bot-be

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published