{"id":39618607,"url":"https://github.com/nkilm/riddles-api","last_synced_at":"2026-01-18T08:22:15.265Z","repository":{"id":54013299,"uuid":"487545580","full_name":"nkilm/riddles-api","owner":"nkilm","description":"An API which returns a riddle each time a call is made.","archived":false,"fork":false,"pushed_at":"2023-03-05T17:27:04.000Z","size":98,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-05-02T15:30:16.745Z","etag":null,"topics":["express","rest-api","vercel"],"latest_commit_sha":null,"homepage":"https://riddles-api.vercel.app","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nkilm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-01T13:31:39.000Z","updated_at":"2023-04-25T15:31:01.000Z","dependencies_parsed_at":"2023-01-30T19:01:17.582Z","dependency_job_id":null,"html_url":"https://github.com/nkilm/riddles-api","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/nkilm/riddles-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkilm%2Friddles-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkilm%2Friddles-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkilm%2Friddles-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkilm%2Friddles-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nkilm","download_url":"https://codeload.github.com/nkilm/riddles-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkilm%2Friddles-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["express","rest-api","vercel"],"created_at":"2026-01-18T08:22:15.012Z","updated_at":"2026-01-18T08:22:15.249Z","avatar_url":"https://github.com/nkilm.png","language":"CSS","readme":"# Riddles REST API\r\n\r\n\u003eAPI - [https://riddles-api.vercel.app/random](https://riddles-api.vercel.app/random)\r\n\r\n## Development - How to setup locally?\r\n\r\n- **With Docker** - Easy way\r\n```bash\r\ndocker build -t riddles-api .\r\n```\r\n```bash\r\ndocker run -it -p 9090:9090 riddles-api\r\n```\r\n\r\n- **Without Docker**\r\n\r\n1. Check if `node` is installed\r\n```bash\r\nnode -v\r\n\r\n# if this throws error, then install nodejs\r\n# link - https://nodejs.org/en/download/\r\n```\r\n2.  After cloning the repository, `cd` to project folder\r\n```bash\r\nnpm install \r\n```\r\n3. After all packages are installed, start the server\r\n```bash\r\nnpm start\r\n\r\n# or\r\nnodemon server.js\r\n```\r\n\r\n## Usage\r\n![ss of response from the API](./screenshot/sample.png)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkilm%2Friddles-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnkilm%2Friddles-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkilm%2Friddles-api/lists"}