BetterStack is a web application that allows you to monitor the uptime and response time of your websites. It provides a simple and intuitive interface for managing your websites and tracking their performance.
- Monitor multiple websites
- Track uptime and response time
- View website statistics
- Add and manage websites
- Customize the dashboard layout
- Supports multiple regions
To get started with BetterStack, follow these steps:
- Clone the repository:
git clone https://github.com/chayan/betterstack.git- Install dependencies:
cd betterstack
npm install- Create a
.envfile in the root directory and add the following variables:
DATABASE_URL=postgresql://user:password@localhost:5432/betterstack
JWT_SECRET=your_secret_key
REGION_NAME=us-east
WORKER_ID=1Replace DATABASE_URL with the connection string to your PostgreSQL database. Replace JWT_SECRET with a secret key for your application. Replace REGION_NAME with the name of the region you want to monitor. Replace WORKER_ID with a unique identifier for your worker.
- Start the application:
npm run dev- Open your browser and navigate to
http://localhost:3000to access the dashboard.
Contributions are welcome! If you have any suggestions or improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.