{"id":16255800,"url":"https://github.com/tomazjunior/node-webhook","last_synced_at":"2026-01-19T23:02:24.232Z","repository":{"id":44221088,"uuid":"141484841","full_name":"TomazJunior/node-webhook","owner":"TomazJunior","description":"webHook node.js project","archived":false,"fork":false,"pushed_at":"2022-12-07T21:30:10.000Z","size":239,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T23:12:49.287Z","etag":null,"topics":["child-process","mongodb","nodejs","request","webhook"],"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/TomazJunior.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":"audit-resolv.json","citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-18T20:09:53.000Z","updated_at":"2019-08-12T21:59:58.000Z","dependencies_parsed_at":"2023-01-23T20:25:12.251Z","dependency_job_id":null,"html_url":"https://github.com/TomazJunior/node-webhook","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/TomazJunior%2Fnode-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomazJunior%2Fnode-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomazJunior%2Fnode-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomazJunior%2Fnode-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TomazJunior","download_url":"https://codeload.github.com/TomazJunior/node-webhook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247733435,"owners_count":20987063,"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":["child-process","mongodb","nodejs","request","webhook"],"created_at":"2024-10-10T15:43:50.950Z","updated_at":"2026-01-19T23:02:24.226Z","avatar_url":"https://github.com/TomazJunior.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-webhook [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/feross/standard) [![Coverage Status](https://coveralls.io/repos/github/TomazJunior/node-webhook/badge.svg?branch=master)](https://coveralls.io/github/TomazJunior/node-webhook?branch=master)\n\nA simple webhook service, which will send a HTTP request based on the webhook's body and also store its result in mongodb.\n\n\n## Getting Started\n\n### With docker\n```\ndocker-compose up\n```\n### Without docker\n#### Prerequisites\n\n- MongoDB https://docs.mongodb.com/manual/installation/\n- NodeJS https://nodejs.org/en/\n\n```\nnpm install\nnpm start\n```\n\n### API examples\n\nThe node-webhook is usefull if you need to track and log HTTP requests.\n\n- GET /webhook Return all requests\n\n- GET /webhook/{id} Return a specific request\n\n- GET /about Return README.md content\n\n- POST /webhook Handle the webhook and returns the request id\n  - e.g.:\n  \n  ```\n  header: Content-Type = application/json\n  body : {\n    \"port\": 443,\n    \"protocol\": \"https:\",\n    \"host\": \"github.com\",\n    \"path\": \"/TomazJunior/node-webhook\"\n  }\n  response : {\n    \"id\": \"5b4fa8cd822fce0fb1102ecf\",\n    \"status\": \"pending\"\n  }\n  ```\n\n## Running the tests\n\n```\nnpm run test\n```\nIt uses StandardJS, mocha, chai, sinon and nyc.\n\n## Author\n\n* **Tomaz Junior** - [github](https://github.com/TomazJunior)\n\nSee also the list of [contributors](https://github.com/TomazJunior/node-webhook/contributors) who participated in this project.\n\n## Next steps\n\n- [x] Implement unit tests\n- [x] Dockerize it\n- [ ] Turn it into a node module\n\n## Keywords\n- Child Processes\n- Requests\n- MongoDB\n- Async/Await\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomazjunior%2Fnode-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomazjunior%2Fnode-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomazjunior%2Fnode-webhook/lists"}