{"id":15762092,"url":"https://github.com/harshkapadia2/cors","last_synced_at":"2026-01-20T13:01:24.327Z","repository":{"id":39699986,"uuid":"499653227","full_name":"HarshKapadia2/cors","owner":"HarshKapadia2","description":"A simple demo of a few scenarios that use CORS.","archived":false,"fork":false,"pushed_at":"2023-02-12T05:01:16.000Z","size":776,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-11T11:27:15.863Z","etag":null,"topics":["cors"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/HarshKapadia2.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-03T21:13:46.000Z","updated_at":"2022-06-04T16:04:29.000Z","dependencies_parsed_at":"2024-10-25T10:17:30.999Z","dependency_job_id":"896f6c7f-d21e-4d75-9a59-8941edb99710","html_url":"https://github.com/HarshKapadia2/cors","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"f74ab14aed901042688e2c7a31af085bebb90006"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HarshKapadia2/cors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarshKapadia2%2Fcors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarshKapadia2%2Fcors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarshKapadia2%2Fcors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarshKapadia2%2Fcors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HarshKapadia2","download_url":"https://codeload.github.com/HarshKapadia2/cors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarshKapadia2%2Fcors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cors"],"created_at":"2024-10-04T11:06:44.867Z","updated_at":"2026-01-20T13:01:24.309Z","avatar_url":"https://github.com/HarshKapadia2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CORS\n\nA simple demo of a few scenarios that use [Cross Origin Resource Sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS).\n\n\u003e This is a part of [my talk on CORS](https://talks.harshkapadia.me/cors).\n\n## Usage\n\n### Client Setup\n\n-   Serve `client/index.html` on port 3000 (`http://localhost:3000`).\n    -   The [`serve` package](https://www.npmjs.com/package/serve) can be used.\n\n### Server Setup\n\n-   In `server` run `npm install` to install all dependencies.\n-   Run the server on port 5000 (`http://localhost:5000`) by running `npm run start` in the `server` directory.\n\n### Proxy Server Setup\n\n-   In `proxy-server` run `npm install` to install all dependencies.\n-   Run the server on port 8000 (`http://localhost:8000`) by running `npm run start` in the `proxy-server` directory.\n\n## Resources\n\n-   My talk on CORS: [talks.harshkapadia.me/cors](https://talks.harshkapadia.me/cors)\n-   My resources: [dev.harshkapadia.me/resources#cors](https://dev.harshkapadia.me/resources#cors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshkapadia2%2Fcors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshkapadia2%2Fcors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshkapadia2%2Fcors/lists"}