{"id":19099706,"url":"https://github.com/kdcllc/aspnetcore-angular-realworld-example-app","last_synced_at":"2025-04-30T16:22:20.786Z","repository":{"id":96458503,"uuid":"131873030","full_name":"kdcllc/aspnetcore-angular-realworld-example-app","owner":"kdcllc","description":"Asp.net core application using SPA JavascriptServices to serve Angular5+ app","archived":false,"fork":false,"pushed_at":"2018-11-05T15:57:56.000Z","size":304,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T05:15:41.792Z","etag":null,"topics":["angular5","aspnetcore","hello-world","javascriptservices","jwt","jwt-authentication","realworld"],"latest_commit_sha":null,"homepage":null,"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/kdcllc.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":"2018-05-02T15:47:31.000Z","updated_at":"2024-04-10T07:48:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"bfc9f73a-b150-497b-a2f1-fa006797077f","html_url":"https://github.com/kdcllc/aspnetcore-angular-realworld-example-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdcllc%2Faspnetcore-angular-realworld-example-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdcllc%2Faspnetcore-angular-realworld-example-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdcllc%2Faspnetcore-angular-realworld-example-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdcllc%2Faspnetcore-angular-realworld-example-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kdcllc","download_url":"https://codeload.github.com/kdcllc/aspnetcore-angular-realworld-example-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251740052,"owners_count":21635967,"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":["angular5","aspnetcore","hello-world","javascriptservices","jwt","jwt-authentication","realworld"],"created_at":"2024-11-09T03:52:13.045Z","updated_at":"2025-04-30T16:22:20.780Z","avatar_url":"https://github.com/kdcllc.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![RealWorld Example App](logo.png)\n\u003e ### ASP.NET Core codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld-example-apps) spec and API.\n\n\n### [RealWorld](https://github.com/gothinkster/realworld)\n\nThis codebase was created to demonstrate a fully fledged fullstack application built with ASP.NET Core (with Feature orientation) including CRUD operations, authentication, routing, pagination, and more.\n\nWe've gone to great lengths to adhere to the ASP.NET Core community styleguides \u0026 best practices.\n\nFor more information on how to this works with other frontends/backends, head over to the [RealWorld](https://github.com/gothinkster/realworld) repo.\n\n## How it works\n\nThis is using ASP.NET Core with:\n\n- CQRS and [MediatR](https://github.com/jbogard/MediatR)\n    - [Simplifying Development and Separating Concerns with MediatR](https://blogs.msdn.microsoft.com/cdndevs/2016/01/26/simplifying-development-and-separating-concerns-with-mediatr/)\n    - [CQRS with MediatR and AutoMapper](https://lostechies.com/jimmybogard/2015/05/05/cqrs-with-mediatr-and-automapper/)\n    - [Thin Controllers with CQRS and MediatR](https://codeopinion.com/thin-controllers-cqrs-mediatr/)\n- [AutoMapper](http://automapper.org)\n- [Fluent Validation](https://github.com/JeremySkinner/FluentValidation)\n- Feature folders and vertical slices\n- [Entity Framework Core](https://docs.microsoft.com/en-us/ef/) on SQLite for demo purposes.  Can easily be anything else EF Core supports.  Open to porting to other ORMs/DBs.\n- Built-in Swagger via [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore)\n- [Cake](http://cakebuild.net/) for building!\n- JWT authentication using [ASP.NET Core JWT Bearer Authentication](https://github.com/aspnet/Security/tree/dev/src/Microsoft.AspNetCore.Authentication.JwtBearer).\n- [Microsoft ASP.NET Core JavaScript Services](https://github.com/aspnet/JavaScriptServices)\n\n\nThis basic server-side architecture is based on this reference architecture: [https://github.com/jbogard/ContosoUniversityCore](https://github.com/jbogard/ContosoUniversityCore)\n\n\n**Angular General functionality:**\n\n- Authenticate users via JWT (login/signup pages + logout button on settings page)\n- CRU* users (sign up \u0026 settings page - no deleting required)\n- CRUD Articles\n- CR*D Comments on articles (no updating required)\n- GET and display paginated lists of articles\n- Favorite articles\n- Follow other users\n\n**The general page breakdown looks like this:**\n\n- Home page (URL: /#/ )\n    - List of tags\n    - List of articles pulled from either Feed, Global, or by Tag\n    - Pagination for list of articles\n- Sign in/Sign up pages (URL: /#/login, /#/register )\n    - Uses JWT (store the token in localStorage)\n    - Authentication can be easily switched to session/cookie based\n- Settings page (URL: /#/settings )\n- Editor page to create/edit articles (URL: /#/editor, /#/editor/article-slug-here )\n- Article page (URL: /#/article/article-slug-here )\n    - Delete article button (only shown to article's author)\n    - Render markdown from server client side\n    - Comments section at bottom of page\n    - Delete comment button (only shown to comment's author)\n- Profile page (URL: /#/profile/:username, /#/profile/:username/favorites )\n    - Show basic user info\n    - List of articles populated from author's created articles or author's favorites articles\n\n## Getting started\n\nInstall the .NET Core SDK and lots of documentation: [https://www.microsoft.com/net/download/core](https://www.microsoft.com/net/download/core)\n\nDocumentation for ASP.NET Core: [https://docs.microsoft.com/en-us/aspnet/core/](https://docs.microsoft.com/en-us/aspnet/core/)\n\nSwagger URL:\n` http://localhost:5000/swagger `\n\nAngular SPA URL:\n` http://localhost:5000/spa `\n\n## Docker support\nTo build container run the following command from the root of the project where `.sln` file is located:\n```\n    docker build . -f \"src\\Dockerfile\" -t \"conduit:latest\"\n\n    OR\n\n```\nTo run this container\n```\n    docker run --rm -it -p 5000:5000 conduit:latest\n```\n\n### Docker-compose\n```\n    docker-compose -f docker-compose.vscode.yml up -d --build\n\n```\n\n```\n    docker-compose -f docker-compose.vscode.yml down\n```\n\n## Azure deployed instance\n\n[http://conduit2.azurewebsites.net/](http://conduit2.azurewebsites.net/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdcllc%2Faspnetcore-angular-realworld-example-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdcllc%2Faspnetcore-angular-realworld-example-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdcllc%2Faspnetcore-angular-realworld-example-app/lists"}