{"id":20239590,"url":"https://github.com/profjordanov/jj-online-store","last_synced_at":"2025-10-16T05:06:22.703Z","repository":{"id":84416691,"uuid":"148189966","full_name":"profjordanov/JJ-Online-Store","owner":"profjordanov","description":"A sample online store app with Microsoft .NET Core Stack.","archived":false,"fork":false,"pushed_at":"2023-07-13T21:34:51.000Z","size":12952,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T20:06:56.053Z","etag":null,"topics":["asp-net-core","asp-net-core-mvc","css","either","entity-framework-core","html","javascript","jquery","razor","sql-server"],"latest_commit_sha":null,"homepage":"https://softunikum.azurewebsites.net/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/profjordanov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-09-10T17:03:20.000Z","updated_at":"2024-09-06T18:59:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ff86b43-4c19-4f4b-9963-a0e123ec7b44","html_url":"https://github.com/profjordanov/JJ-Online-Store","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/profjordanov/JJ-Online-Store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profjordanov%2FJJ-Online-Store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profjordanov%2FJJ-Online-Store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profjordanov%2FJJ-Online-Store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profjordanov%2FJJ-Online-Store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/profjordanov","download_url":"https://codeload.github.com/profjordanov/JJ-Online-Store/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profjordanov%2FJJ-Online-Store/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268257303,"owners_count":24221058,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["asp-net-core","asp-net-core-mvc","css","either","entity-framework-core","html","javascript","jquery","razor","sql-server"],"created_at":"2024-11-14T08:39:46.971Z","updated_at":"2025-10-16T05:06:17.650Z","avatar_url":"https://github.com/profjordanov.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JJ Online Store\nA product catalog website with custom design.\n\n# Features\n\nWhat's special about this specific implementation is that it employs a different approach on error handling and propagation. It uses the **Maybe** and **Either** monads to enable very explicit function declarations and allow us to abstract the conditionals and validations into the type itself.\n\nThis allows you to do cool stuff like:\n\n```csharp\npublic Task\u003cOption\u003cUserServiceModel, Error\u003e\u003e LoginAsync(CredentialsModel model) =\u003e\n    GetUser(u =\u003e u.Email == model.Email)\n        .FilterAsync(user =\u003e UserManager.CheckPasswordAsync(user, model.Password), \"Invalid credentials.\".ToError())\n        .MapAsync(async user =\u003e\n        {\n            var result = Mapper.Map\u003cUserServiceModel\u003e(user);\n            await SignInManager.SignInAsync(user, isPersistent: false);\n            return result;\n        });\n```\n\nYou can read more about **Maybe** and **Either** [here](https://devadventures.net/2018/04/17/forget-object-reference-not-set-to-an-instance-of-an-object-functional-adventures-in-c/) and [here](https://devadventures.net/2018/09/20/real-life-examples-of-functional-c-sharp-either/).\n\n## Architecture:\n- [x] AutoMapper\n- [x] EntityFramework Core with SQL Server and ASP.NET Identity\n- [x] File logging with Serilog\n- [x] Neat folder structure\n\n```\n├───Web\n│   ├───JjOnlineStore.Web\n│   └───JjOnlineStore.Web.Infrastructure\n├───Services\n│   ├───JjOnlineStore.Services.Business\n│   ├───JjOnlineStore.Services.Data\n│   └───JjOnlineStore.Services.Core\n├───Data\n│   ├───JjOnlineStore.Data.EF\n│   ├───JjOnlineStore.Data.Entities\n│   └───JjOnlineStore.Data\n├───JjOnlineStore.Common\n├───JjOnlineStore.Extensions\n└───Tests\n    └───JjOnlineStore.Tests\n```\n- [x] Thin Controllers\n\n```csharp\n/// POST: /Account/Login\n/// \u003csummary\u003e\n/// Login.\n/// \u003c/summary\u003e\n[HttpPost]\npublic async Task\u003cIActionResult\u003e Login(CredentialsModel model)\n    =\u003e (await _usersService.LoginAsync(model))\n        .Match(RedirectToLocal, ErrorLogin);\n```\n\n- [x] Database Transactions\n- [x] Database Triggers\n- [x] Using Azure Websites and Azure Blob Storage\n- [x] Integrated Azure Enterprise Productivity Chatbot\n- [x] Integrated Azure SendGrid Email Service\n\n![alt text](https://raw.githubusercontent.com/profjordanov/JJ-Online-Store/master/Resources/azure-poratal.PNG)\n\n### User Interface and User Experience (UI \u0026 UX)\n- [x] Mobile-First Responsive Design\n- [x] Using custom web design \n- [x] Followed the best practices for high-quality HTML and CSS: good formatting, good code structure, consistent naming, semantic HTML, correct usage of classes, etc.\n- [x] Works correctly in the latest HTML5-compatible browsers: Chrome, Firefox, Edge, Opera, Safari \n- [x] Preloader\n\n### Test Suite\n- [x] xUnit\n- [x] Autofixture\n- [x] Moq\n- [x] Shouldly\n- [x] Arrange Act Assert Pattern\n\n \n## Achievements\n\n- Excellent grade in C# MVC Frameworks - ASP.NET Core course with trainer : Nikolai Kostov.\n\n![alt text](https://raw.githubusercontent.com/profjordanov/JJ-Online-Store/master/Resources/Softuni_Certificate.jpeg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofjordanov%2Fjj-online-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofjordanov%2Fjj-online-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofjordanov%2Fjj-online-store/lists"}