{"id":18581519,"url":"https://github.com/tonyh0401/nodejs-url-shortener-api","last_synced_at":"2026-04-17T01:32:07.322Z","repository":{"id":227691198,"uuid":"758924998","full_name":"TonyH0401/nodejs-url-shortener-api","owner":"TonyH0401","description":"A Simple Url Shortener API using NodeJS, ExpressJS and SQLite3","archived":false,"fork":false,"pushed_at":"2024-10-18T11:00:34.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-16T04:07:25.418Z","etag":null,"topics":["api-rest","expressjs","nodejs","sqlite3"],"latest_commit_sha":null,"homepage":"https://nodejs-url-shortener-api.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/TonyH0401.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,"zenodo":null}},"created_at":"2024-02-17T13:35:27.000Z","updated_at":"2024-10-18T11:00:38.000Z","dependencies_parsed_at":"2024-03-14T18:19:52.202Z","dependency_job_id":"dfa6eda1-d818-44ad-b08b-308ce1c95b85","html_url":"https://github.com/TonyH0401/nodejs-url-shortener-api","commit_stats":null,"previous_names":["tonyh0401/nodejs-url-shortener-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TonyH0401/nodejs-url-shortener-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonyH0401%2Fnodejs-url-shortener-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonyH0401%2Fnodejs-url-shortener-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonyH0401%2Fnodejs-url-shortener-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonyH0401%2Fnodejs-url-shortener-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TonyH0401","download_url":"https://codeload.github.com/TonyH0401/nodejs-url-shortener-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonyH0401%2Fnodejs-url-shortener-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31911464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-rest","expressjs","nodejs","sqlite3"],"created_at":"2024-11-07T00:05:52.056Z","updated_at":"2026-04-17T01:32:07.304Z","avatar_url":"https://github.com/TonyH0401.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple URL Shortener API\n\n## Description\n\nSimple URL Shortener API shortens URL links into smaller links for easy access. The shortened links **expired after 30 minutes**. The results after each processes are returned in JSON format, so I highly advice using tools like Postman to perform requests. \n\n## Tech\n\n- NodeJS\n- ExpressJS\n- SQLite\n\n## Installation\n\nThis project requires [Node.js](https://nodejs.org/) v10+ to run. Please install the dependencies brefore starting the server.\n\n```sh\ncd nodejs-url-shortener-api\nnpm i\nnpm start\n```\n\n## Environment Variables:\n\n```sh\nBE_PORT=\"\"\n```\n\n\n## Command\n\nCreate Shorten URL:\n\n```sh\nPOST /api/v1/urls\n{\n    \"originalUrl\": \"https://www.youtube.com/watch?v=dQw4w9WgXcQ\"\n}\n```\n\nAccess Shorten URL:\n\n```sh\nGET /api/v1/urls/access/\u003c\u003cshorten-id\u003e\u003e\n```\n\n## Website\n\nSimple URL Shortener API is deployed on [Render] and you can access the API by using this link \"nodejs-url-shortener-api.onrender.com\".\n\n**Status**: offline\n\n## License\n\nMIT\n\n**Free Software, Hell Yeah!**\n\n[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax)\n\n   [Render]: \u003chttps://render.com/\u003e\n   [git-repo-url]: \u003chttps://github.com/joemccann/dillinger.git\u003e\n   [john gruber]: \u003chttp://daringfireball.net\u003e\n   [df1]: \u003chttp://daringfireball.net/projects/markdown/\u003e\n   [markdown-it]: \u003chttps://github.com/markdown-it/markdown-it\u003e\n   [Ace Editor]: \u003chttp://ace.ajax.org\u003e\n   [node.js]: \u003chttp://nodejs.org\u003e\n   [Twitter Bootstrap]: \u003chttp://twitter.github.com/bootstrap/\u003e\n   [jQuery]: \u003chttp://jquery.com\u003e\n   [@tjholowaychuk]: \u003chttp://twitter.com/tjholowaychuk\u003e\n   [express]: \u003chttp://expressjs.com\u003e\n   [AngularJS]: \u003chttp://angularjs.org\u003e\n   [Gulp]: \u003chttp://gulpjs.com\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonyh0401%2Fnodejs-url-shortener-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonyh0401%2Fnodejs-url-shortener-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonyh0401%2Fnodejs-url-shortener-api/lists"}