This project is a simple web application built with PHP and MySQL, designed to collect and display test results. It uses Docker for easy deployment and management.
- Collect test results via a web interface
- Store results in a MySQL database
- Display results in a user-friendly format
- Docker
-
Clone the repository:
git clone https://github.com/ethandudu/EzReport.git cd EzReport -
Build and run the Docker containers:
docker-compose up --build
-
Access the application in your web browser at
http://localhost:8080.
The database will be automatically initialized with the provided init.sql script when the MariaDB container starts.
-
To add a test result, you can use the web interface or send a GET request to the following endpoint:
http://localhost:8080/index.php?action=add&testName=yourTestName&value=yourValue
or as a POST request to
http://localhost:8080/index.phpwith the following parameters:action=addtestName=yourTestNamevalue=yourValue
An example PowerShell script (demo.ps1) is included to demonstrate how to send test results programmatically.
An opencollection file is also included to demonstrate how to send test results via Postman/Bruno.