{"id":20885491,"url":"https://github.com/marekzelinka/url-shortener","last_synced_at":"2026-04-07T08:01:50.990Z","repository":{"id":258538973,"uuid":"874014824","full_name":"marekzelinka/url-shortener","owner":"marekzelinka","description":"URL shortener","archived":false,"fork":false,"pushed_at":"2024-10-17T09:57:18.000Z","size":240,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T20:11:02.004Z","etag":null,"topics":["docker","docker-compose","fastify","nodejs","postgresql"],"latest_commit_sha":null,"homepage":"","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/marekzelinka.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-10-17T05:38:50.000Z","updated_at":"2024-10-20T09:59:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"13797c2d-49d3-45c3-b603-13b112acc7cd","html_url":"https://github.com/marekzelinka/url-shortener","commit_stats":null,"previous_names":["marekzelinka/url-shortener"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marekzelinka/url-shortener","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marekzelinka%2Furl-shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marekzelinka%2Furl-shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marekzelinka%2Furl-shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marekzelinka%2Furl-shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marekzelinka","download_url":"https://codeload.github.com/marekzelinka/url-shortener/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marekzelinka%2Furl-shortener/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["docker","docker-compose","fastify","nodejs","postgresql"],"created_at":"2024-11-18T08:13:39.260Z","updated_at":"2026-04-07T08:01:50.972Z","avatar_url":"https://github.com/marekzelinka.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL Shortener\n\nThis URL shortener application is built with Node.js, Fastify and PostgreSQL. It serves as a demo on how to use docker and docker compose to run a production build of a Full-stack web app.\n\n![URL Shortener Application](screenshot.png)\n\n## 🟢 Prerequisites\n\n- Prior Node.js development experience.\n- Familiarity with the Linux command-line.\n- Access to a Linux machine with\n  [Docker Engine](https://docs.docker.com/engine/install/) installed.\n\n## Getting started\n\n\n- Clone this repo to your machine:\n\n```bash\ngit clone https://github.com/marekzelinka/url-shortener\n```\n\n- Execute the command below to start the production server:\n\n```bash\ndocker compose up --build\n```\n\n- Visit http://localhost:5000 in your browser.\n\n## How to use\n\n- Enter a URL into the input field and click **Shorten!**. The shortened URL\n  will be displayed on the page.\n- Click the **Visit** button to open the shortened URL in a new tab. It should\n  redirect you to the original URL.\n\n## Credits\n\n- **Tutorial**:\n[A Comprehensive Guide to Dockerizing Node.js Applications](https://betterstack.com/community/guides/scaling-nodejs/dockerize-nodejs/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarekzelinka%2Furl-shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarekzelinka%2Furl-shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarekzelinka%2Furl-shortener/lists"}