{"id":19429593,"url":"https://github.com/codersuresh/url-shortener","last_synced_at":"2026-01-05T02:05:57.297Z","repository":{"id":180306536,"uuid":"662897359","full_name":"coderSuresh/url-shortener","owner":"coderSuresh","description":"A functional URL shortener in Nextjs","archived":false,"fork":false,"pushed_at":"2024-07-23T04:19:32.000Z","size":1175,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T15:12:22.686Z","etag":null,"topics":["api","nextjs","tailwindcss","tinyurl-api","typescript"],"latest_commit_sha":null,"homepage":"https://url-shortener-codersuresh.vercel.app","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/coderSuresh.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-07-06T06:02:15.000Z","updated_at":"2024-07-23T04:19:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"646299f5-3887-4d54-9a92-95972e472f1f","html_url":"https://github.com/coderSuresh/url-shortener","commit_stats":null,"previous_names":["codersuresh/url-shortener"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderSuresh%2Furl-shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderSuresh%2Furl-shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderSuresh%2Furl-shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderSuresh%2Furl-shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderSuresh","download_url":"https://codeload.github.com/coderSuresh/url-shortener/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244974891,"owners_count":20541203,"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":["api","nextjs","tailwindcss","tinyurl-api","typescript"],"created_at":"2024-11-10T14:19:58.540Z","updated_at":"2026-01-05T02:05:57.265Z","avatar_url":"https://github.com/coderSuresh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - Shortly URL shortening API Challenge solution\n\nThis is a solution to the [Shortly URL shortening API Challenge challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/url-shortening-api-landing-page-2ce3ob-G). Frontend Mentor challenges help you improve your coding skills by building realistic projects. \n\n## Table of contents\n\n- [Overview](#overview)\n  - [The challenge](#the-challenge)\n    - [Extra](#extra)\n  - [Screenshot](#screenshot)\n  - [Links](#links)\n- [My process](#my-process)\n  - [Built with](#built-with)\n  - [What I learned](#what-i-learned)\n- [Author](#author)\n\n\n## Overview\n\n### The challenge\n\nUsers should be able to:\n\n- View the optimal layout for the site depending on their device's screen size\n- Shorten any valid URL\n- See a list of their shortened links, even after refreshing the browser\n- Copy the shortened link to their clipboard in a single click\n- Receive an error message when the `form` is submitted if:\n  - The `input` field is empty\n  - A valid URL is not entered\n  - Any error from the server should be displayed\n\n#### Extra\nAdded functionality to delete the links from the local storage.\n\n### Screenshot\n\n![Design preview for the Shortly URL shortening API coding challenge](./design/desktop-design.jpg)\n\n### Links\n\n- Solution URL: [https://github.com/coderSuresh/url-shortner](https://github.com/coderSuresh/url-shortner)\n- Live Site URL: [https://url-shortener-codersuresh.vercel.app](https://url-shortener-codersuresh.vercel.app)\n\n## My process\n\n### Built with\n\n- Next.js\n- Tailwind CSS\n\n### What I learned\n\nI learned how to use Next.js and Tailwind CSS. I also learned how to use the API and how to use the local storage.\n\nI learned the following things from this project:\n\n- How to make a functional website using Next.js and Tailwind CSS.\n- `overflow-wrap: break-word;` property to break the long words.\n- How to use the local storage.\n- How to use the API with Next.js.\n\n## Author\n\n- Frontend Mentor - [@coderSuresh](https://www.frontendmentor.io/profile/codersuresh)\n- Linkedin - [@coderSuresh](https://www.linkedin.com/in/coderSuresh)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodersuresh%2Furl-shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodersuresh%2Furl-shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodersuresh%2Furl-shortener/lists"}