{"id":17892090,"url":"https://github.com/ppseprus/endpoint-validator","last_synced_at":"2026-01-21T17:36:31.684Z","repository":{"id":47801616,"uuid":"61891182","full_name":"ppseprus/endpoint-validator","owner":"ppseprus","description":"Lightweight Endpoint Validator","archived":false,"fork":false,"pushed_at":"2023-08-02T09:52:49.000Z","size":134,"stargazers_count":0,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T03:16:07.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ppseprus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-24T14:45:15.000Z","updated_at":"2023-07-26T19:23:02.000Z","dependencies_parsed_at":"2024-10-28T15:36:30.228Z","dependency_job_id":null,"html_url":"https://github.com/ppseprus/endpoint-validator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppseprus%2Fendpoint-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppseprus%2Fendpoint-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppseprus%2Fendpoint-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppseprus%2Fendpoint-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppseprus","download_url":"https://codeload.github.com/ppseprus/endpoint-validator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247776186,"owners_count":20994053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T14:29:52.100Z","updated_at":"2026-01-21T17:36:31.643Z","avatar_url":"https://github.com/ppseprus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Endpoint Validator\r\nEndpoint Validator is a simple and lightweight tool for checking URL statuses and validating both JSON and XML response schemas.\r\n\r\nWith this tool the developer can monitor endpoint health, which is useful when the Back End is a 3rd party support over which the developer has no or little control.\r\n\r\nThe tool uses the npm [Request](https://github.com/request/request) module.\r\n\r\n## Features\r\n- HTTP and HTTPS requests\r\n- Status Code check on given URL\r\n- JSON and XML parsing (jxon used for the latter)\r\n- Schema validation on received response (using Yup)\r\n- Relay URL health data to other services (see below)\r\n\r\n## Services\r\n- _monitoring.js_: is a dead simple server plugin that uses the `http` module of Node.js to display the latest health check data in the browser\r\n- _slack.js_: is a simple Slack Bot that sends messages to a given webhook if the URL responds with a bad HTTP status code or if the response data structure does not match a given schema\r\n\r\n## Install\r\nFork this repository and simply run `npm i`.\r\n\r\n## Usage\r\nAfter adding the URLs with their proper schema to the _endpoints.js_ file, just run the following\r\n\r\n\tnpm start\r\n\r\nOr use the Monitoring service and see the details in your browser\r\n\r\n\tnpm start monitoring\r\n\r\n![monitoring service](/../screenshots/screenshots/endpoint-validator-monitoring.png?raw=true)\r\n\r\nOr use the _slack_ service and get notified in Slack\r\n\r\n\tnpm start slack\r\n\r\nOr use them both\r\n\r\n\tnpm start monitoring slack\r\n\r\nOr write your own services...\r\n\r\n\r\nBy default `SERVER_LOGGING` option is set to be `true`, so all logs will appear on the console as well.\r\n\r\n## Recommended Reading\r\nTo write ever better schemas, one should definitely read the documentation for Yup.\r\n\r\nhttps://github.com/jquense/yup\r\n\r\n## Note \u0026 Disclaimer\r\nThe approach I took with this project might not be optimal or even good, but as my first Node.js project, I wanted to \"play\" a bit. I wanted to better understand modules and what I could do with them.\r\n\r\nSo.. Have fun!\r\n\r\n## License\r\nThe MIT License (MIT)\r\nCopyright (c) 2016 Peter Seprus\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppseprus%2Fendpoint-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppseprus%2Fendpoint-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppseprus%2Fendpoint-validator/lists"}