- Run
git clone https://github.com/barthola/monitoring-stats-app.git
- Navigate to the cloned repo directory through command line
- Run
npm i
(if prompted, runnpm fund
) - Run
npm run start
to start localhost at 8080
Postman can be used to test the API by sending requests to http://localhost:8080/search
with the following parameters:
Specify date range using keywords or in EPOCH time format to query data
Parameters:
day Values from [ today, yesterday ]
------------------ OR -----------------
start Valid start EPOCH time
end Valid end EPOCH time