{"id":20846933,"url":"https://github.com/amiraflak/database-lab","last_synced_at":"2026-05-09T07:32:27.462Z","repository":{"id":174291683,"uuid":"641865372","full_name":"AmirAflak/Database-Lab","owner":"AmirAflak","description":"Database Lab - Spring 2023","archived":false,"fork":false,"pushed_at":"2023-09-29T15:36:49.000Z","size":572,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T05:37:19.187Z","etag":null,"topics":["database","mssql","sql","t-sql"],"latest_commit_sha":null,"homepage":"","language":"Python","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/AmirAflak.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-05-17T10:24:09.000Z","updated_at":"2024-09-06T20:00:33.000Z","dependencies_parsed_at":"2024-11-18T02:18:35.589Z","dependency_job_id":"55618d4b-b8ea-48e8-bd93-69869aa5d570","html_url":"https://github.com/AmirAflak/Database-Lab","commit_stats":null,"previous_names":["amiraflak/url-shortener","amiraflak/database-lab"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirAflak%2FDatabase-Lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirAflak%2FDatabase-Lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirAflak%2FDatabase-Lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirAflak%2FDatabase-Lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmirAflak","download_url":"https://codeload.github.com/AmirAflak/Database-Lab/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243213858,"owners_count":20254879,"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","mssql","sql","t-sql"],"created_at":"2024-11-18T02:18:30.581Z","updated_at":"2025-12-26T07:57:14.106Z","avatar_url":"https://github.com/AmirAflak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## URL Shortener\nThis is a URL shortener project built with Microsoft SQL Server, Python, and Tableau. It allows you to create short URLs and store them in a database. The project includes SQL stored procedures to manage the database, a Python script to interact with the database, and Tableau for visualizing the URLs stored in the database.\n\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"[https://github.com/AmirAflak/url-shortener\"\u003e\n    \u003cimg src=\"images/url-shortener-dashboard.png\" alt=\"Logo\" width=\"600\" height=\"300\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cbr /\u003e \n\n## Features\n* Generate short URLs for your long URLs.\n* Store URLs in a Microsoft SQL Server database.\n* Automatically delete expired URLs using Job Agents.\n* Interact with the database using a Python script and pyodbc.\n* Visualize the URLs using Tableau.\n\n## Installation \n1. Clone the repo\n   ```sh\n   git clone https://github.com/AmirAflak/url-shortener.git\n   ```\n2. Navigate into the project directory:\n   ```sh\n   cd url-shortener\n   ```\n3. Install the project dependencies:\n   ```sh\n   pip install -r requirements.txt\n   ```\n4. Set up the SQL database:\n* Execute the SQL scripts inside `queries` directory to create the necessary table and stored procedures.\n5. Run the Python script:\n  ```sh\n   python main.py\n  ```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famiraflak%2Fdatabase-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famiraflak%2Fdatabase-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famiraflak%2Fdatabase-lab/lists"}