{"id":31818829,"url":"https://github.com/hackthacker/api","last_synced_at":"2026-02-17T03:07:56.491Z","repository":{"id":318036233,"uuid":"1069779494","full_name":"hackThacker/Api","owner":"hackThacker","description":"This repository provided using four different APIs: REST, GraphQL, SOAP, and JSON-RPC. This way, you can compare the design trade-offs, tools, and developer experience.This is about how this works in real life and how this works on a website showing this API.","archived":false,"fork":false,"pushed_at":"2025-10-04T16:02:39.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-04T18:08:28.452Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/hackThacker.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-04T15:56:23.000Z","updated_at":"2025-10-04T16:02:42.000Z","dependencies_parsed_at":"2025-10-04T18:08:31.051Z","dependency_job_id":"b6d47522-08fe-4489-8487-cbb32650c3a7","html_url":"https://github.com/hackThacker/Api","commit_stats":null,"previous_names":["hackthacker/api"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/hackThacker/Api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackThacker%2FApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackThacker%2FApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackThacker%2FApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackThacker%2FApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackThacker","download_url":"https://codeload.github.com/hackThacker/Api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackThacker%2FApi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007034,"owners_count":26084227,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-11T11:18:18.237Z","updated_at":"2025-10-11T11:18:20.962Z","avatar_url":"https://github.com/hackThacker.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup and Run (REST, GraphQL, RPC, SOAP) with index.html\n\n## Prerequisites\n- Node.js and npm installed\n- Your project folder contains:\n  - index.html\n  - graphql-server.js\n  - rest-server.js\n  - rpc-server.js\n  - soap-server.js\n\n## 1) Install dependencies\nOpen a terminal in your project folder and run:\n```bash\nnpm install express cors body-parser graphql express-graphql xml-js\n```\n\n## 2) Open index.html\n- Open index.html in your editor and/or browser.\n- Make sure any fetch/axios URLs in index.html match your local server ports and paths.\n\n## 3) Run all servers (use split terminals)\nOpen multiple terminals (or split a terminal) and run each server in its own terminal:\n\nGraphQL:\n```bash\nnode graphql-server.js\n```\n\nREST:\n```bash\nnode rest-server.js\n```\n\nRPC:\n```bash\nnode rpc-server.js\n```\n\nSOAP:\n```bash\nnode soap-server.js\n```\n\nTip (VS Code): Terminal \u003e Split Terminal to run each command side-by-side.\n\n## 4) Use the app\n- With all four servers running, refresh index.html in your browser.\n- The page should now load and interact with the APIs properly.\n\n## Notes\n- If you get “Cannot find module …”, ensure you ran the npm install command in the same folder as your server files.\n- If a port is already in use, stop the conflicting process or change the port in the corresponding server file.\n- Stop any server with Ctrl + C in its terminal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackthacker%2Fapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackthacker%2Fapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackthacker%2Fapi/lists"}