{"id":23028593,"url":"https://github.com/harishforge/urlshortener-backend","last_synced_at":"2026-04-04T21:32:46.793Z","repository":{"id":266929230,"uuid":"899788576","full_name":"harish-govindasamy/urlshortener-backend","owner":"harish-govindasamy","description":"Create a Shorter URL for Given URL - BackEnd","archived":false,"fork":false,"pushed_at":"2024-12-07T03:12:25.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T10:46:01.731Z","etag":null,"topics":["database","dotenv","express","jsonwebtoken","mongoose","nodejs","nodemailer","validation"],"latest_commit_sha":null,"homepage":"https://urlshortener-mhsq.onrender.com/","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/harish-govindasamy.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":"2024-12-07T02:58:25.000Z","updated_at":"2024-12-07T03:12:29.000Z","dependencies_parsed_at":"2024-12-07T04:18:53.446Z","dependency_job_id":"b4d72e2b-eea6-41af-9601-c7dd4a596728","html_url":"https://github.com/harish-govindasamy/urlshortener-backend","commit_stats":null,"previous_names":["harish-govindasamy/urlshortener-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harish-govindasamy%2Furlshortener-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harish-govindasamy%2Furlshortener-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harish-govindasamy%2Furlshortener-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harish-govindasamy%2Furlshortener-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harish-govindasamy","download_url":"https://codeload.github.com/harish-govindasamy/urlshortener-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246885016,"owners_count":20849607,"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":["database","dotenv","express","jsonwebtoken","mongoose","nodejs","nodemailer","validation"],"created_at":"2024-12-15T14:11:48.262Z","updated_at":"2025-12-30T20:27:13.490Z","avatar_url":"https://github.com/harish-govindasamy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL Shortener Backend\n\n## Overview\n\n- SignUp check the existing database and update the new user\n  - By default inactive account is created and a activation link will be sent to the user email through node mailer\n- Login check the user data and allow the login\n- Endpoint to resend the activation email\n- Forgot Password creates a temporary token and send a mail to the user to update the password\n- Gets a Full URL from user and create a Hsort URL\n- when the Short URL is clicked it will Redirect the user to Full URL\n- Update the Short URL Count everytime the short url is clicked\n\n**Base URL**\n\nURL - https://urlshortener-mhsq.onrender.com/\n\n### POST\n\n**signup**\n`https://urlshortener-mhsq.onrender.com/signup/newuser`\nGet the user data and store it in the dataBase\nAutomatically send a email to the user for Authentication\n\n**_Request Format_**\n\n{\n\"email\": \"okok@gmail.com\",\n\"password\": \"example\"\n}\n\n### POST\n\n**login**\n`https://urlshortener-mhsq.onrender.com/login/user`\nGet the user data and check the user details in the database\n\n**_Request Format_**\n\n{\n\"email\": \"oki@gmail.com\",\n\"password\": \"example\"\n}\n\n### POST\n\n**forgot passoword**\n`https://urlshortener-mhsq.onrender.com/forgot`\nGet the user email and check the user details in the database and send a Password Reset link to the User email\n\n**_Request Format_**\n\n{\n\"email\": \"oki@gmail.com\"\n}\n\n### GET\n\n**verify reset page**\n`https://urlshortener-mhsq.onrender.com/reset/:id/:token`\nWhen the User click the password reset email it will check the data and allow the user to update the new password\n\n### PATCH\n\n**update new password**\n`https://urlshortener-mhsq.onrender.com/forgot`\n\n**_Request Format_**\n\n{\n\"newPassword\": \"123\",\n\"confirmPassword\": \"123\"\n}\n\n## Front End Live Site\n\n- [Live Site](https://urlshortener-frontend-1999.netlify.app/)\n\n## Live Site\n\n- [Live Site](https://urlshortener-mhsq.onrender.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharishforge%2Furlshortener-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharishforge%2Furlshortener-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharishforge%2Furlshortener-backend/lists"}