{"id":41375140,"url":"https://github.com/thinkful-ed/starter-cors-back-end","last_synced_at":"2026-01-23T10:03:47.677Z","repository":{"id":37998989,"uuid":"318630938","full_name":"Thinkful-Ed/starter-cors-back-end","owner":"Thinkful-Ed","description":"Connecting It all: CORS starter back-end project","archived":false,"fork":false,"pushed_at":"2023-01-31T16:53:09.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":414,"subscribers_count":9,"default_branch":"main","last_synced_at":"2023-05-09T21:10:35.951Z","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/Thinkful-Ed.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":"2020-12-04T20:44:19.000Z","updated_at":"2023-01-31T16:48:56.000Z","dependencies_parsed_at":"2023-02-16T21:10:21.723Z","dependency_job_id":null,"html_url":"https://github.com/Thinkful-Ed/starter-cors-back-end","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/Thinkful-Ed/starter-cors-back-end","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thinkful-Ed%2Fstarter-cors-back-end","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thinkful-Ed%2Fstarter-cors-back-end/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thinkful-Ed%2Fstarter-cors-back-end/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thinkful-Ed%2Fstarter-cors-back-end/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thinkful-Ed","download_url":"https://codeload.github.com/Thinkful-Ed/starter-cors-back-end/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thinkful-Ed%2Fstarter-cors-back-end/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28687414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"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":[],"created_at":"2026-01-23T10:01:54.898Z","updated_at":"2026-01-23T10:03:47.672Z","avatar_url":"https://github.com/Thinkful-Ed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CORS Back-End Starter Project\n\nThis project serves as a foundation for handling Cross-Origin Resource Sharing (CORS) issues when building back-end applications. It demonstrates how to configure a Node.js server to allow or restrict access to external APIs from different origins.\n\n## Features\n- Configurable CORS settings\n- Basic server setup for API requests\n\n## Installation\n\n1. Clone or fork this repository:\n   ```bash\n   git clone https://github.com/Thinkful-Ed/starter-cors-back-end.git\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd starter-cors-back-end\n   ```\n3. Install dependencies:\n   ```bash\n   npm install\n   ```\n4. Start the server:\n   ```bash\n   npm start\n   ```\n\n   To run in development mode (with auto-reload):\n   ```bash\n   npm run start:dev\n   ```\n\n5. Set the `PORT` environment variable if needed. The default is `5555`.\n\n## Usage\nThe application starts a server on the specified port, allowing requests from different origins based on CORS configuration. This starter code helps with setting up an API backend that interacts with various front-end clients.\n\n## Technologies\n- **Node.js**: JavaScript runtime for building server-side applications.\n- **Express**: Web framework for managing server routes and middleware.\n- **CORS**: Configurable middleware for handling cross-origin requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkful-ed%2Fstarter-cors-back-end","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkful-ed%2Fstarter-cors-back-end","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkful-ed%2Fstarter-cors-back-end/lists"}