{"id":24760655,"url":"https://github.com/stefanerrorerko/neatpath-api","last_synced_at":"2025-03-23T11:45:43.461Z","repository":{"id":273306732,"uuid":"919136581","full_name":"StefanErrorerko/neatpath-api","owner":"StefanErrorerko","description":"ASP.NET API for URL Shortener Service 'NeatPath'","archived":false,"fork":false,"pushed_at":"2025-01-20T04:50:55.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T11:45:39.169Z","etag":null,"topics":["asp-net","csharp","rest-api","swagger-ui","url-shortener"],"latest_commit_sha":null,"homepage":"","language":"C#","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/StefanErrorerko.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":"2025-01-19T19:44:09.000Z","updated_at":"2025-01-22T10:50:33.000Z","dependencies_parsed_at":"2025-01-20T05:38:51.928Z","dependency_job_id":null,"html_url":"https://github.com/StefanErrorerko/neatpath-api","commit_stats":null,"previous_names":["stefanerrorerko/neatpath-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefanErrorerko%2Fneatpath-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefanErrorerko%2Fneatpath-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefanErrorerko%2Fneatpath-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefanErrorerko%2Fneatpath-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StefanErrorerko","download_url":"https://codeload.github.com/StefanErrorerko/neatpath-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245097845,"owners_count":20560317,"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":["asp-net","csharp","rest-api","swagger-ui","url-shortener"],"created_at":"2025-01-28T18:18:45.315Z","updated_at":"2025-03-23T11:45:43.439Z","avatar_url":"https://github.com/StefanErrorerko.png","language":"C#","readme":"# NeatPath API\n## Project Overview\nNeatPath is a URL shortening application built with React.js for the frontend and ASP.NET for the backend API. DB is located on MsSql.\n\n## About API\nAPI implements ASP.NET Core MVC pattern, follows REST API principles uses hashing and crypto algorithms inside. \n1. Password stored in DB as a hash. Hash is creating by BCrypt algorithm. It keeps user privacy information in safety.\n2. Short Url hashes are creating with MD5 and Base62 Encoding. Written by an article: https://blog.algomaster.io/p/design-a-url-shortener\n- MD5 Cryptographic Hashing: A URL starts processing by creating a unique digital fingerprint of your URL using the MD5 hashing algorithm, ensuring consistent and secure transformation\n- Efficient Compression: The system intelligently selects 6 bytes from the hash, compressing the fingerprint while maintaining uniqueness\n- Base62 Encoding:Then it converts the compressed hash into a readable format using numbers (0-9), lowercase (a-z), and uppercase (A-Z) letters, creating short, user-friendly URLs\n- Deterministic Processing: Finally, algorithm ensures that the same input URL always produces the same shortened link, preventing duplicates and maintaining consistency\n\n## UML \n![Діаграма без назви drawio](https://github.com/user-attachments/assets/7a922e25-558b-44e0-b283-9a0fd2e4f768)\n\n## Screenshots\n### API UI\n![image](https://github.com/user-attachments/assets/a195cd7f-47e6-4871-a80c-2d435d604d16)\n\n### Class Diagram\n![image](https://github.com/user-attachments/assets/e5cc267b-e7c8-4a96-b009-9cb7e9ee7708)\n![image](https://github.com/user-attachments/assets/3a0db000-536f-4081-9af5-732c31fbeffc)\n\n## URL Management\n- Shorten long URLs to compact, manageable links\n- View, add, and delete URL shortcuts\n- Role-based access control for URL operations\n\n## Backen Architecture\nFramework: ASP.NET MVC\nSwaggerUi, REST API\n\nStefan Muzyka\n2025\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanerrorerko%2Fneatpath-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanerrorerko%2Fneatpath-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanerrorerko%2Fneatpath-api/lists"}