{"id":20270649,"url":"https://github.com/sararasoulian/dotnet-webapi-blazor-sample","last_synced_at":"2025-07-24T08:11:05.292Z","repository":{"id":239361530,"uuid":"797395989","full_name":"SaraRasoulian/DotNet-WebAPI-Blazor-Sample","owner":"SaraRasoulian","description":"💎 A full-stack application built using ASP.NET Core Web API and Blazor Web Assembly","archived":false,"fork":false,"pushed_at":"2024-06-24T17:20:38.000Z","size":239,"stargazers_count":26,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T04:14:08.116Z","etag":null,"topics":["bdd","blazor-webassembly","clean-architecture","clean-code","cqrs","cqrs-pattern","ddd","docker","docker-compose","dotnet8","entity-framework-core","fullstack-development","postgresql","restful-api","spa","tdd"],"latest_commit_sha":null,"homepage":"","language":"C#","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/SaraRasoulian.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":"2024-05-07T18:41:58.000Z","updated_at":"2025-03-14T21:41:16.000Z","dependencies_parsed_at":"2024-05-11T20:31:51.770Z","dependency_job_id":"8cb46b30-8438-4b59-a267-2d1af54e7ff8","html_url":"https://github.com/SaraRasoulian/DotNet-WebAPI-Blazor-Sample","commit_stats":null,"previous_names":["sararasoulian/dotnet-webapi-blazor-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SaraRasoulian/DotNet-WebAPI-Blazor-Sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaraRasoulian%2FDotNet-WebAPI-Blazor-Sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaraRasoulian%2FDotNet-WebAPI-Blazor-Sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaraRasoulian%2FDotNet-WebAPI-Blazor-Sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaraRasoulian%2FDotNet-WebAPI-Blazor-Sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaraRasoulian","download_url":"https://codeload.github.com/SaraRasoulian/DotNet-WebAPI-Blazor-Sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaraRasoulian%2FDotNet-WebAPI-Blazor-Sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266813462,"owners_count":23988545,"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-07-24T02:00:09.469Z","response_time":99,"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":["bdd","blazor-webassembly","clean-architecture","clean-code","cqrs","cqrs-pattern","ddd","docker","docker-compose","dotnet8","entity-framework-core","fullstack-development","postgresql","restful-api","spa","tdd"],"created_at":"2024-11-14T12:32:14.580Z","updated_at":"2025-07-24T08:11:05.263Z","avatar_url":"https://github.com/SaraRasoulian.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Student Management Application\nA sample full-stack application with a backend __ASP.NET Core Web API__ project and a frontend __Blazor Web Assembly__ project.\n\n![Student-M](https://github.com/SaraRasoulian/DotNet-WebAPI-Blazor-Sample/assets/51083712/6a1cb0b0-6de0-4fd8-91fc-02a3ce6bba04)\n\n\n## Technology Stack\n  -\tASP.NET Core Web API -v8\n  - Entity Framework Core -v8\n  - DDD (Domain-Driven Design)\n  - TDD (Test-Driven Development)\n  - BDD (Behavior-driven Development)\n  - Clean Architecture\n  - Clean Code\n  - Repository Design Pattern\n  - CQRS Design Pattern\n  - Mediator Design pattern\n  - PostgreSQL Database\n  - Blazor WebAssembly -v8\n  - Bootstrap -v5\n  - Docker\n\n#### Nuget Packages\n  - __xUnit__ for unit, integration and acceptance testing\n  - __Testcontainers__ for integration and acceptance testing\n  - __SpecFlow__ for acceptance testing\n  - __NSubstitute__ for mocking\n  - __Bogus__ for fake data generating  \n  - __MediatR__ for implementing mediator pattern\n  - __FluentValidation__ for server-side validation\n  - __Mapster__ for object mapping\n  - __Blazor.Bootstrap__ for implementing user-interface\n\n\nThis repository is intended for demonstrating best practices in software development. In real-world applications, these practices should be selected based on the specific requirements of each project.\n\n\n      \n## Run with Docker\n\n#### 1. Start with Docker compose\n\nRun the following command in project directory:\n\n```\ndocker-compose up -d\n```\n\nDocker compose in this application includes 4 services:\n\n- __Web API application__ will be listening at `http://localhost:5000`\n\n- __Blazor webAssembly application__ will be listening at `http://localhost:8080`\n\n- __Postgres database__ will be listening at `http://localhost:5433`\n\n- __PgAdmin4 web interface__ will be listening at `http://localhost:8000`\n\n\n#### 2. Run the migrations\n\nOpen `StudentManagement.Server.sln` file in visual studio, then in package manager console tab, run:\n\n```\nupdate-database\n```\n\nThis command will generate the database schema in postgres container.\n\n\n---\n\nMake sure Docker engine is running, before running integration and acceptance tests.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsararasoulian%2Fdotnet-webapi-blazor-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsararasoulian%2Fdotnet-webapi-blazor-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsararasoulian%2Fdotnet-webapi-blazor-sample/lists"}