{"id":24292318,"url":"https://github.com/shaaanuu/solar-system-api","last_synced_at":"2026-04-16T17:38:59.311Z","repository":{"id":262980980,"uuid":"888965762","full_name":"shaaanuu/solar-system-api","owner":"shaaanuu","description":"Some solar system planets and its things....","archived":false,"fork":false,"pushed_at":"2024-11-15T11:27:43.000Z","size":704,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-05T11:57:44.734Z","etag":null,"topics":["api","planets","solar-system","vercel"],"latest_commit_sha":null,"homepage":"https://solarsystem-api.vercel.app/api/planets","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/shaaanuu.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}},"created_at":"2024-11-15T10:50:20.000Z","updated_at":"2025-01-02T14:22:14.000Z","dependencies_parsed_at":"2024-11-15T12:27:47.098Z","dependency_job_id":null,"html_url":"https://github.com/shaaanuu/solar-system-api","commit_stats":null,"previous_names":["shaaanuu/node-hosting-test","shaaanuu/solar-system-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shaaanuu/solar-system-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaaanuu%2Fsolar-system-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaaanuu%2Fsolar-system-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaaanuu%2Fsolar-system-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaaanuu%2Fsolar-system-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaaanuu","download_url":"https://codeload.github.com/shaaanuu/solar-system-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaaanuu%2Fsolar-system-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31897860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T17:33:00.867Z","status":"ssl_error","status_checked_at":"2026-04-16T17:32:57.401Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["api","planets","solar-system","vercel"],"created_at":"2025-01-16T15:15:49.325Z","updated_at":"2026-04-16T17:38:59.275Z","avatar_url":"https://github.com/shaaanuu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node Hosting Testing 🚀\n\nThis is a simple Node.js project that serves as an API to provide information about planets 🌍 in our solar system. The API is hosted and deployed using [Vercel](https://vercel.com). 🌐\n\n## API Endpoints 🛸\n\n### `GET /api/planets` 🌌\n\nReturns a list of all planets in our solar system with detailed information.\n\n#### Example Response:\n\n```json\n[\n  {\n    \"id\": 1,\n    \"name\": \"Mercury\",\n    \"type\": \"Rocky\",\n    \"diameter\": 4879,\n    \"distanceFromSun\": 57910000,\n    \"moons\": 0,\n    \"description\": \"The smallest planet in our solar system, closest to the Sun. ☀️\"\n  },\n]\n```\n\n\n### `GET /api/planets/:id` 🌠\n\nReturns information about a specific planet by its ID.\n\n#### Example Response (for `GET /api/planets/1`):\n\n```json\n{\n  \"id\": 1,\n  \"name\": \"Mercury\",\n  \"type\": \"Rocky\",\n  \"diameter\": 4879,\n  \"distanceFromSun\": 57910000,\n  \"moons\": 0,\n  \"description\": \"The smallest planet in our solar system, closest to the Sun. ☀️\"\n}\n```\n\n#### Error Response (if planet is not found):\n\n```json\n{\n  \"message\": \"Planet not found 😞\"\n}\n```\n\n## Setup and Installation 🛠️\n\nTo run this project locally:\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/shaaanuu/node-hosting-test.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd node-hosting-testing\n   ```\n\n3. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n4. Start the local server:\n\n   ```bash\n   node api/index.js\n   ```\n\n   The app will run on `http://localhost:3000`. 🌍\n\n## Deployment 🚀\n\nThis project is deployed on [Vercel](https://vercel.com). Every time you push code to the repository, Vercel automatically redeploys the project with the latest changes.\n\n## License 📄\n\nThis project is open-source and available under the [MIT License](LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaaanuu%2Fsolar-system-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaaanuu%2Fsolar-system-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaaanuu%2Fsolar-system-api/lists"}