{"id":23110326,"url":"https://github.com/tadeubdev/url-shortener","last_synced_at":"2025-04-03T23:28:25.729Z","repository":{"id":95103331,"uuid":"441239246","full_name":"tadeubdev/url-shortener","owner":"tadeubdev","description":"A simple url shortener","archived":false,"fork":false,"pushed_at":"2021-12-23T17:01:36.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T11:26:26.028Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/tadeubdev.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":"2021-12-23T16:37:35.000Z","updated_at":"2021-12-23T17:01:39.000Z","dependencies_parsed_at":"2023-03-22T03:32:39.788Z","dependency_job_id":null,"html_url":"https://github.com/tadeubdev/url-shortener","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/tadeubdev%2Furl-shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadeubdev%2Furl-shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadeubdev%2Furl-shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadeubdev%2Furl-shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tadeubdev","download_url":"https://codeload.github.com/tadeubdev/url-shortener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247096178,"owners_count":20882895,"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":[],"created_at":"2024-12-17T01:48:46.827Z","updated_at":"2025-04-03T23:28:25.723Z","avatar_url":"https://github.com/tadeubdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"URL Shortener\n-----\n\nThis repository is part of the challenge [Encurtador de URLs](https://github.com/backend-br/desafios/tree/master/1%20-%20Easy/Encurtador%20de%20URL) by [backend-br](https://github.com/backend-br).\n\nThe challenge is to make a simple API in any language or any framework, that receive a url passed by a POST request and return this url shortened.\\\nAfter that, when someone acccess this shortened url, they need to be redirected to the primary url or to an 404 page.\\\nA shortened url can have a expiration time that can be defined for us.\n\n**e.g.:**\n\n```\n[POST] api/short\n{ url: 'http://google.com' }\nReturn: { newUrl: 'http://localhost/123asdf456' }\n\n[GET] http://localhost/123asdf456\nRedirect to: https://google.com\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftadeubdev%2Furl-shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftadeubdev%2Furl-shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftadeubdev%2Furl-shortener/lists"}