{"id":21203983,"url":"https://github.com/dev-adnani/url-shortner-backend","last_synced_at":"2026-04-13T03:01:41.431Z","repository":{"id":167726406,"uuid":"438775679","full_name":"Dev-Adnani/Url-Shortner-Backend","owner":"Dev-Adnani","description":"URL-Shortner enables you to shorten long-url from important locations on Instagram, Facebook, YouTube, Twitter, Linked In, and the Internet","archived":false,"fork":false,"pushed_at":"2021-12-16T15:15:04.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T15:16:01.493Z","etag":null,"topics":["api-documentation","api-server","backend","backend-api","expressjs","mongodb","mongodb-express-nodejs","node","nodejs","postgresql","rest-api-documentation","server","typeorm","typescript"],"latest_commit_sha":null,"homepage":"","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/Dev-Adnani.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-15T21:18:06.000Z","updated_at":"2023-03-04T18:01:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2d26e1a-302a-4de6-aace-cd870b26824f","html_url":"https://github.com/Dev-Adnani/Url-Shortner-Backend","commit_stats":null,"previous_names":["dev-adnani/url-shortner-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev-Adnani%2FUrl-Shortner-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev-Adnani%2FUrl-Shortner-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev-Adnani%2FUrl-Shortner-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev-Adnani%2FUrl-Shortner-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dev-Adnani","download_url":"https://codeload.github.com/Dev-Adnani/Url-Shortner-Backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243658206,"owners_count":20326464,"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-documentation","api-server","backend","backend-api","expressjs","mongodb","mongodb-express-nodejs","node","nodejs","postgresql","rest-api-documentation","server","typeorm","typescript"],"created_at":"2024-11-20T20:28:24.514Z","updated_at":"2026-04-13T03:01:41.328Z","avatar_url":"https://github.com/Dev-Adnani.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Url Shortner\n\n\n- URL-Shortner enables you to shorten long-url from important locations on Instagram, Facebook, YouTube, Twitter, Linked In, and the Internet. \n- Just paste the long URL and click the shorten URL button. On the next screen, copy the shortened URL and submit it to the website. \n- The shortened URL can be used for distribution, registration, notification, website, discussion, text and various fields.\n\n## Tech Stack\n\n**Client:** [Flutter](https://github.com/Dev-Adnani/Url-Shortner-App)\n\n**Server:** Node, Express , TypeScript\n\n**Database:** MongoDB\n\n\n\n## Environment Variables\n\nTo run this project, you will need to add the following environment variables to your .env file\n\n`MONGODB_URL`\n\n\n\n## Run Locally\n\nClone the project\n\n```bash\n  git clone https://github.com/Dev-Adnani/Url-Shortner-Backend\n\n```\n\nGo to the project directory\n\n```bash\n  cd Url-Shortner-Backend\n```\n\nInstall dependencies\n\n```bash\n  npm install\n```\n\nStart the server\n\n```bash\n  npm run dev\n```\n\n\n## Demo\n\nhttps://urlshortner.devadnani.com\n\n\n## API Reference\n\n#### Generate Short Url\n\n```http\n  POST /random\n```\n\n| Parameter     | Type     | Description                |\n| :--------     | :------- | :------------------------- |\n| `destination` | `string` | **Required**. Long Url     |\n\n#### Generates a short url with custom name \n\n```http\n  POST /custom\n```\n\n| Parameter | Type     | Description                        |\n| :-------- | :------- | :--------------------------------  |\n| `destination` | `string` | **Required**. Long Url         |\n| `customText` | `string` | **Required**. Short Code        |\n\n```http\n  GET /:shortId\n```\nWill Redirect Your To Url If It Exists\n\n\n\n## Support / Feedback\n\nIf you have any feedback or need any Support, please reach out to us at devadnani26@gmail.com\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-adnani%2Furl-shortner-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-adnani%2Furl-shortner-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-adnani%2Furl-shortner-backend/lists"}