{"id":18573203,"url":"https://github.com/harshitrv/proxy-server","last_synced_at":"2025-05-15T23:12:54.648Z","repository":{"id":132986847,"uuid":"586300633","full_name":"HarshitRV/proxy-server","owner":"HarshitRV","description":"API Proxy Server with Rate Limiting \u0026 Caching","archived":false,"fork":false,"pushed_at":"2023-01-07T16:47:00.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T14:44:45.454Z","etag":null,"topics":["express"],"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/HarshitRV.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":"2023-01-07T16:46:42.000Z","updated_at":"2023-01-07T16:47:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"231c4905-60e5-4f6b-8afe-ad34a1c1e0f9","html_url":"https://github.com/HarshitRV/proxy-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarshitRV%2Fproxy-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarshitRV%2Fproxy-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarshitRV%2Fproxy-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarshitRV%2Fproxy-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HarshitRV","download_url":"https://codeload.github.com/HarshitRV/proxy-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254436950,"owners_count":22070949,"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","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"],"created_at":"2024-11-06T23:08:24.719Z","updated_at":"2025-05-15T23:12:54.621Z","avatar_url":"https://github.com/HarshitRV.png","language":"JavaScript","readme":"# API Proxy Server with Rate Limiting \u0026 Caching\n### This is a API proxy server that can be used to proxy requests to an API, and add rate limiting and caching to the response.\n\n\u003chr\u003e\n\n## Setup\n1. Clone the repo\n2. Run `npm install`\n3. Create a env folder in the root directory\n4. Create a `dev.env` file in the env folder\n5. Get an API key from [Open Weather](https://openweathermap.org/api)\n6. Add the following to the dev.env file\n```\nPORT=3000\nWEATHER_API_KEY=YOUR_OPEN_WEATHER_API KEY\n```\n7. Run `npm run dev` to start the server\n\n\u003chr\u003e\n\n## Endpoints\n### GET /weather?city={city name}\n\noptional query parameters:\n- `city` - The name of the city to get the weather for\n\nexample: `GET /weather?city=London`\n\n\nThis endpoint will return the weather for the given city. The city can be passed in as a query parameter the response will be cached for 5 minutes and one can only send 100 requests under 10minutes.\n\n\u003chr\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshitrv%2Fproxy-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshitrv%2Fproxy-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshitrv%2Fproxy-server/lists"}