Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

umihnea/poller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

poller

Prototype for an (Internet) service availability monitor. Composed of a Vert.x Java backend service spawning a pool of polling verticles and a rudimentary React front-end (with Redux as state manager).

Requirements

  1. Node.js v14.19.1, yarn (v1.22.18) package manager
  2. Java 17 (I used OpenJDK 17.0.2)
  3. MySQL 8.0.28

Installation

  1. Clone this git repository.
  2. Install front-end dependencies.
$ cd frontend && yarn
  1. The server needs a connection to a MySQL database. The credentials for this connections are to be provided through the .env file.
$ cd backend/src/main/resources
$ cp .example.env .env
  1. Edit the file with your editor of choice and provide the database credentials.
  2. The MySQL database itself can be initialized by running the contents of the backend/initial.sql file.
  3. Install the backend requirements.
$ cd backend
$ ./mvnw clean install
$ ./mvnw compile

Usage

  1. Run the Vert.x server at localhost:8080.
$ ./mvnw exec:java
  1. Launch the React server at localhost:3000.
$ yarn start

About

Online service availability monitor with Java Vertx-based backend and React front-end

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors