{"id":16413262,"url":"https://github.com/pwnsoni/urlshortnerapi","last_synced_at":"2025-02-24T07:41:22.350Z","repository":{"id":164761489,"uuid":"321900222","full_name":"pwnsoni/URLshortnerAPI","owner":"pwnsoni","description":"A simple url shortner api","archived":false,"fork":false,"pushed_at":"2021-01-16T14:57:18.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T09:28:29.924Z","etag":null,"topics":["express","lambda","mongodbatlas","serverless"],"latest_commit_sha":null,"homepage":"https://82y5ite0i3.execute-api.us-east-1.amazonaws.com/prod/api","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/pwnsoni.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":"2020-12-16T07:15:20.000Z","updated_at":"2024-06-05T10:30:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"128bd61b-953f-4360-bbcb-499e7014c76e","html_url":"https://github.com/pwnsoni/URLshortnerAPI","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/pwnsoni%2FURLshortnerAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwnsoni%2FURLshortnerAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwnsoni%2FURLshortnerAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwnsoni%2FURLshortnerAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwnsoni","download_url":"https://codeload.github.com/pwnsoni/URLshortnerAPI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240441423,"owners_count":19801787,"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","lambda","mongodbatlas","serverless"],"created_at":"2024-10-11T06:50:59.747Z","updated_at":"2025-02-24T07:41:22.324Z","avatar_url":"https://github.com/pwnsoni.png","language":"JavaScript","readme":"# URLshortner\nA simple url shortner Api\n\n## Deployed on AWS lambda using serverless framework\nSingle command deployment \n\n## Tools Used\nExpress\n\nMondoDB Atlas \n\nAWS lambda \n\nServerless\n\n## Path\n\nURL:  https://82y5ite0i3.execute-api.us-east-1.amazonaws.com/prod/api\n\nExpected Output : {\"statusCode\":200,\"message\":\"Ok\"}\n\n----------------------------------------------------------------------------------------------------\n\nPath: https://82y5ite0i3.execute-api.us-east-1.amazonaws.com/prod/api/shorten\n\nMethod : post\n\nBody: {url: www.url.com}\n\nExpected Output: {\n    \"status\": 201,\n    \"result\": {\n        \"_id\": \"5fe16af639a3660008cfee3c\",\n        \"origninalUrl\": \"www.url.com\",\n        \"shortenedUrl\": \"kiz81sdv.2zl\",\n        \"createdAt\": \"2020-12-22T03:41:42.983Z\",\n        \"__v\": 0\n    }\n}\n\n----------------------------------------------------------------------------------------------------\n\nPath: https://82y5ite0i3.execute-api.us-east-1.amazonaws.com/prod/api/\u003cshortUrlReturned\u003e\n\nMethod : get\n\nExpected Output :{\n    status: 201,\n    error: null,\n    result: [{\n        _id: \"5fe16af639a3660008cfee3c\",\n        origninalUrl: \"www.url.com\",\n        shortenedUrl: \"kiz81sdv.2zl\",\n        createdAt: \"2020-12-22T03:41:42.983Z\",\n        __v: 0\n        }]\n    }\n\nExample : https://82y5ite0i3.execute-api.us-east-1.amazonaws.com/prod/api/kiz81sdv.2zl\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwnsoni%2Furlshortnerapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwnsoni%2Furlshortnerapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwnsoni%2Furlshortnerapi/lists"}