{"id":24189827,"url":"https://github.com/codedbystuart/hasuraactions","last_synced_at":"2026-05-25T04:02:38.416Z","repository":{"id":53000256,"uuid":"356547264","full_name":"codedbystuart/hasuraActions","owner":"codedbystuart","description":"Hasura Graphql custom business logic (Actions)","archived":false,"fork":false,"pushed_at":"2021-04-10T11:50:50.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-11T04:19:40.464Z","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/codedbystuart.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}},"created_at":"2021-04-10T10:28:01.000Z","updated_at":"2021-04-10T11:50:53.000Z","dependencies_parsed_at":"2022-09-08T03:22:31.941Z","dependency_job_id":null,"html_url":"https://github.com/codedbystuart/hasuraActions","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedbystuart%2FhasuraActions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedbystuart%2FhasuraActions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedbystuart%2FhasuraActions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedbystuart%2FhasuraActions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codedbystuart","download_url":"https://codeload.github.com/codedbystuart/hasuraActions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233757005,"owners_count":18725451,"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":"2025-01-13T14:31:04.033Z","updated_at":"2025-09-21T13:32:39.208Z","avatar_url":"https://github.com/codedbystuart.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hasura Actions to make Payments (Nodejs and Express)\n\nThis is a starter kit for `nodejs` with `express`. To get started:\n\nFirstly, [download the starter-kit](https://github.com/hasura/codegen-assets/raw/master/nodejs-express/nodejs-express.zip) and `cd` into it.\n\n```\nnpm ci\nnpm start\n```\n\n## Development\n\nThe entrypoint for the server lives in `src/server.js`.\n\nIf you wish to add a new route (say `/greet`) , you can add it directly in the `server.js` as:\n\n```js\napp.post('/greet', (req, res) =\u003e {\n  return res.json({\n    \"greeting\": \"have a nice day\"\n  });\n});\n```\n\n### Throwing errors\n\nYou can throw an error object or a list of error objects from your handler. The response must be 4xx and the error object must have a string field called `message`.\n\n```js\nretun res.status(400).json({\n  message: 'invalid email'\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedbystuart%2Fhasuraactions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedbystuart%2Fhasuraactions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedbystuart%2Fhasuraactions/lists"}