{"id":26159865,"url":"https://github.com/waltermillan/collatzconjecture","last_synced_at":"2026-04-29T21:05:04.466Z","repository":{"id":281401345,"uuid":"945163970","full_name":"waltermillan/CollatzConjecture","owner":"waltermillan","description":"This conjecture was enunciated by the German mathematician Lothar Collatz in 1937, and consists of applying operations to a positive integer following these two conditions: If the number is even, it is divided by 2. If the number is odd, it is multiplied by 3 and 1 is added to the result.","archived":false,"fork":false,"pushed_at":"2026-01-21T18:07:11.000Z","size":686,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-22T06:22:45.697Z","etag":null,"topics":["angular-cli","csharp","css","html","netcore-webapi","typescript"],"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/waltermillan.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":"2025-03-08T20:00:35.000Z","updated_at":"2026-01-21T18:07:15.000Z","dependencies_parsed_at":"2025-03-08T21:30:15.748Z","dependency_job_id":"7664ee2d-781c-467b-b51d-b8a9516b91aa","html_url":"https://github.com/waltermillan/CollatzConjecture","commit_stats":null,"previous_names":["waltermillan/collatzconjecture"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/waltermillan/CollatzConjecture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waltermillan%2FCollatzConjecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waltermillan%2FCollatzConjecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waltermillan%2FCollatzConjecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waltermillan%2FCollatzConjecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waltermillan","download_url":"https://codeload.github.com/waltermillan/CollatzConjecture/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waltermillan%2FCollatzConjecture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32443596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"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":["angular-cli","csharp","css","html","netcore-webapi","typescript"],"created_at":"2025-03-11T11:36:39.777Z","updated_at":"2026-04-29T21:05:04.460Z","avatar_url":"https://github.com/waltermillan.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📍 CollatzConjecture Project\n\n- Given a positive integer, we seek to generate all the numbers in the Collatz series until reaching the sequence: 4, 2, 1.\n- Display historical query information stored in MongoDB.\n\n---\n\n## 📅 Changelog\n\n- **21/01/2026**:\n  - **Full Stack**: The application was adapted to handle large numbers safely and accurately, respecting the limitations of each platform and ensuring consistent results between frontend and backend..\n- **02/04/2025**:\n  - **Full Stack**: Added history tracking functionality. Fixed minor bugs.\n- **01/04/2025**:\n  - **Backend**: Added connection to MongoDB database. Integrated Serilog. \n  - **Frontend**: Added graphical libraries: `@swimlane/ngx-charts`, `d3`, `@angular/cdk`, `@angular/animations`.\n- **08/03/2025**:\n  - **Backend/Frontend**: Initial upload of code including entities, interfaces, models, and services. Removed `frontend/.vscode` directory.\n\n---\n\n## 🎯 Objective\n\nPractice .NET (C#), Design Patterns, and Onion Architecture.\n\n### Technologies:\n\n- **.NET (C#)** and **SQL Server**\n- **Angular (TypeScript)**\n- **Design Patterns**\n- **Onion Architecture**\n\n---\n\n## 🚀 Features\n\n### 🔧 Backend\n\nImplements common design patterns including BaseEntity, Repository, UnitOfWork, and Factory (for task instance creation).\n\n- Based on **Onion Architecture**\n- Applies key **Design Patterns**:\n  - `BaseEntity`\n  - `UnitOfWork`\n  - `Repository` (for data access)\n  - `DTO` (Data Transfer Object)\n\n- **Key Libraries**:\n  - **Logging**:\n    - `Serilog`\n    - `Serilog.Settings.Configuration`\n    - `Serilog.Sinks.Console`\n  - **ORM**:\n    - `Microsoft.EntityFrameworkCore`\n    - `Microsoft.EntityFrameworkCore.Design`\n    - `Microsoft.EntityFrameworkCore.SqlServer`\n    - `Microsoft.EntityFrameworkCore.Tools`\n    - `MongoDB.Driver` (for connecting to MongoDB)\n  - **UI**:\n    - `@swimlane/ngx-charts` 18.2.14 (for line charts)\n    - `@angular/animations` 18.2.14 (for UI transitions)\n\n---\n\n### 💻 Frontend\n\n- Built with **Angular 18.0.2 / 18.2.14**\n- Features:\n  - Reactive Forms\n  - `AuthService` and HTTP Interceptors\n  - Modular architecture\n  - Service and model generation\n  - Chart visualization using `@swimlane/ngx-charts`\n\n---\n\n### 🗄️ Database\n\n- Uses **MongoDB**, deployed with **Docker Desktop**\n- Includes:\n  - Entity-Relationship diagram (based on SQL Server schema design)\n  - Sample data files (`.json`)\n  - **DDL scripts** for schema definition\n  - **DML scripts** for sample data insertion\n\n---\n\n## 🧪 Installation\n\n### ✅ Prerequisites\n\nEnsure the following tools are installed:\n\n- [.NET SDK 9.0.200](https://dotnet.microsoft.com/)\n- [SQL Express](https://www.microsoft.com/es-es/sql-server/sql-server-downloads)\n- [Node.js + npm](https://nodejs.org/) (for the frontend)\n- [Postman 11.44.3](https://www.postman.com/downloads/)\n- [MongoDB Compass 1.46.1](https://www.mongodb.com/try/download/compass)\n\n---\n\n### 🔧 Setup Steps\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/waltermillan/CollatzConjecture.git\n    ```\n\n2. Follow the setup video guide:\n    - [Version 1 - Display Version](https://youtu.be/jPAvHBNRJhk)\n\n3. Complete the remaining setup steps as outlined in the project documentation.\n\n---\n\n## 📄 License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaltermillan%2Fcollatzconjecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaltermillan%2Fcollatzconjecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaltermillan%2Fcollatzconjecture/lists"}