Skip to content

RokasBakunas/server-uptime

Repository files navigation

serverTop is a tool that allows users to check the status of servers in real-time. It also has the capability to store the history of server statuses.

Main Features: Server Status Checking: The tool can check the status of a server based on its IP address and port. Server Status Recording: The tool can record the status information of servers in the database in real-time.

Web Interface: The tool provides a web interface where users can view the status of all servers. Server Addition: Users can add servers they wish to monitor via an API.

Dependencies: express: For setting up the server. mongoose: For interfacing with the MongoDB database. body-parser: For parsing request bodies. net: For checking server statuses. async: For asynchronous programming.

Usage Instructions: Ensure you have Node.js and MongoDB installed on your system. Download this project and navigate to its directory in the command line.

Install all the required modules using the command: npm install. Create a .env file in the project directory with the following fields: MONGODB_URI: Your MongoDB connection URL.

Run the application using the command: node index.js.

Navigate to http://localhost:3000/ in your browser to view server statuses. To add new servers, send a POST request to http://localhost:3000/addServers with a list of servers in JSON format.

About

Game server top site / uptime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published