{"id":24464261,"url":"https://github.com/unicarmen/evilcorp2000","last_synced_at":"2025-03-14T11:16:27.864Z","repository":{"id":272621403,"uuid":"878285408","full_name":"UniCarmen/EvilCorp2000","owner":"UniCarmen","description":"Product-Management C# + ASP.NET Core + Razor Pages Learning Project - EvilCorp2000","archived":false,"fork":false,"pushed_at":"2025-03-12T16:10:22.000Z","size":11944,"stargazers_count":0,"open_issues_count":20,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T17:24:32.377Z","etag":null,"topics":["aspdotnetcore","csharp","razor-pages"],"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/UniCarmen.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-25T05:33:40.000Z","updated_at":"2025-03-12T16:10:26.000Z","dependencies_parsed_at":"2025-03-12T17:32:21.383Z","dependency_job_id":null,"html_url":"https://github.com/UniCarmen/EvilCorp2000","commit_stats":null,"previous_names":["unicarmen/evilcorp2000"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniCarmen%2FEvilCorp2000","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniCarmen%2FEvilCorp2000/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniCarmen%2FEvilCorp2000/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniCarmen%2FEvilCorp2000/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UniCarmen","download_url":"https://codeload.github.com/UniCarmen/EvilCorp2000/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243565416,"owners_count":20311705,"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":["aspdotnetcore","csharp","razor-pages"],"created_at":"2025-01-21T05:14:58.427Z","updated_at":"2025-03-14T11:16:27.781Z","avatar_url":"https://github.com/UniCarmen.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Product-Management C# + ASP.NET Core + Razor Pages Learning Project - EvilCorp2000 (not code reviewed yet)\n\nI was desperately in search of an idea for a project I could build. Of course a managing system would come to mind. But wouldn't it be boring to manage books or cakes or that ever ocurring stuff?\nAnd then I was inspired by a really, really old website (http://www.eviloverlord.com/lists/overlord.html) that has several Evil Overlord Lists that I found quite entertaining in my youth.\n\nThe documentation is accessible under /docs/architecture.md\n\n### Product Management (refactoring is planned, but it works in the current state)\nSince I don't use JS, a big challenge here is that the product overview opens in a modal written in  a partial.\n\n* Enter, view, delete and change products (name, description, categories, price, amount on stock) with UI Validation\n* Add and delete product discounts\n* Product + Discount Backend Validation\n* Saving and Loading Product Images (path is stored in DB, images in the project as an indermediate step to storing them in a blob storage)\n* Implementation of Identity - Log In, Log Out with different Roles and authorizations, ErrorPages\n\n### Programming concepts included \n* Data is stored in a MS SQL Server DB\n* Seperation of concerns (DAL, BL, UI): different projects (there is still a relic of which I wanted to take care and DTOs which are used in both UI and BL)\n* Errorlogging with Serilog in Console (Debug), File (Warning) and Db (Error)\n* Unit Tests\n\n### Planned next\n* Assess, what can be refactored\n* Refactoring of current code\n* UI Improvements\n\n### Planned in the future\n* Add, alter, delete(?) Categories\n* Sorting Product List\n* Add Shop: MainPage, Product Pages\n* Add Paging in ProductManagement and ShoppingSite\n* Make UI more appealing\n* Customize Currency?\n* Produktstate as a Property of Product: aktiv / inaktiv?\n* Change Discounts??\n* Restoration of deleted Discounts / Products - Event Sourcing??\n* Completely Change the New/Alter-Product-Views because it's causing to many problems: These should not be partials / modals\n\n\n### Known Problems\n* After entering a new Discount, the Modal is refreshed automatically but the fields are still filled - could be resolved by getting rid of the modals\n* Invisible Modal after \"exiting\" the Modal with Esc-Button - could be resolved by getting rid of the modals\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funicarmen%2Fevilcorp2000","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funicarmen%2Fevilcorp2000","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funicarmen%2Fevilcorp2000/lists"}