Skip to content

UptimeMon is a web application that monitors the availability of specified hosts using ping requests.

License

Notifications You must be signed in to change notification settings

Arteiii/uptimeMon

Repository files navigation

uptimeMon

UptimeMon is a web application that monitors the availability of specified hosts using ping requests.

Test Coverage Package version

Getting Started

Prerequisites

Make sure you have Docker installed on your machine.
Follow the official Docker installation guide: Install Docker

Clone Repository

git clone https://github.com/Arteiii/uptimeMon.git
cd uptimeMon

Note: Docker Compose is required to run this project. If you don't have Docker Compose installed, you can download it here.

Before beginning, ensure to configure the address of the API endpoint (the backend application) within the Nextjs config of the frontend (/frontend/next.config.js). Set the environment variable API_URL to match your backend URL.

Run Docker Compose

sudo docker-compose up --build

For more information about Docker usage, check the Docker Documentation.

This command sets up a MongoDB container and containers for the frontend and backend. The application will be available at http://localhost:5000.

Components

Frontend (Next.js)

The frontend is built with Next.js, a fast web development build tool. It provides a user interface to view the ping status of specified hosts.

Backend (FastAPI)

The backend of UptimeMon is powered by FastAPI, which comes with automatic API documentation.
You can explore and interact with the API directly from your browser.

Access API Documentation

Once the application is running, you can access the automatic API documentation at:

These interfaces provide a detailed overview of the available API endpoints, request parameters, and response structures.

Usage

Once the application is running, you can access the frontend at http://localhost:5000.
The user interface allows you to specify hosts and view their ping status.

Preview

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

About

UptimeMon is a web application that monitors the availability of specified hosts using ping requests.

Resources

License

Stars

Watchers

Forks