https://github.com/unicarmen/evilcorp2000
Product-Management C# + ASP.NET Core + Razor Pages Learning Project - EvilCorp2000
https://github.com/unicarmen/evilcorp2000
aspdotnetcore csharp razor-pages
Last synced: over 1 year ago
JSON representation
Product-Management C# + ASP.NET Core + Razor Pages Learning Project - EvilCorp2000
- Host: GitHub
- URL: https://github.com/unicarmen/evilcorp2000
- Owner: UniCarmen
- Created: 2024-10-25T05:33:40.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-12T16:10:22.000Z (over 1 year ago)
- Last Synced: 2025-03-12T17:24:32.377Z (over 1 year ago)
- Topics: aspdotnetcore, csharp, razor-pages
- Language: C#
- Homepage:
- Size: 11.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Product-Management C# + ASP.NET Core + Razor Pages Learning Project - EvilCorp2000 (not code reviewed yet)
I 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?
And 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.
The documentation is accessible under /docs/architecture.md
### Product Management (refactoring is planned, but it works in the current state)
Since I don't use JS, a big challenge here is that the product overview opens in a modal written in a partial.
* Enter, view, delete and change products (name, description, categories, price, amount on stock) with UI Validation
* Add and delete product discounts
* Product + Discount Backend Validation
* 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)
* Implementation of Identity - Log In, Log Out with different Roles and authorizations, ErrorPages
### Programming concepts included
* Data is stored in a MS SQL Server DB
* 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)
* Errorlogging with Serilog in Console (Debug), File (Warning) and Db (Error)
* Unit Tests
### Planned next
* Assess, what can be refactored
* Refactoring of current code
* UI Improvements
### Planned in the future
* Add, alter, delete(?) Categories
* Sorting Product List
* Add Shop: MainPage, Product Pages
* Add Paging in ProductManagement and ShoppingSite
* Make UI more appealing
* Customize Currency?
* Produktstate as a Property of Product: aktiv / inaktiv?
* Change Discounts??
* Restoration of deleted Discounts / Products - Event Sourcing??
* Completely Change the New/Alter-Product-Views because it's causing to many problems: These should not be partials / modals
### Known Problems
* 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
* Invisible Modal after "exiting" the Modal with Esc-Button - could be resolved by getting rid of the modals