{"id":13330546,"url":"https://github.com/rakesh-kumar-t/AngularDotnetCore","last_synced_at":"2025-03-11T02:32:54.806Z","repository":{"id":41852783,"uuid":"430782560","full_name":"rakesh-kumar-t/AngularDotnetCore","owner":"rakesh-kumar-t","description":"Web Application with Angular and .NET Core(5.0)","archived":false,"fork":false,"pushed_at":"2022-07-07T14:54:11.000Z","size":675,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-29T20:01:15.928Z","etag":null,"topics":["angular","angular-api","angular-app","angular-material","angularapp","angularmaterial","dotnet","dotnet-core","entity-framework","entity-framework-core","sql-server","sqlserver","swagger","swagger-ui","web-api","web-api-core","webapi","webapi-core"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/rakesh-kumar-t.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}},"created_at":"2021-11-22T16:26:11.000Z","updated_at":"2024-07-29T20:01:15.929Z","dependencies_parsed_at":"2022-08-11T19:30:53.144Z","dependency_job_id":null,"html_url":"https://github.com/rakesh-kumar-t/AngularDotnetCore","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/rakesh-kumar-t%2FAngularDotnetCore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakesh-kumar-t%2FAngularDotnetCore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakesh-kumar-t%2FAngularDotnetCore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakesh-kumar-t%2FAngularDotnetCore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rakesh-kumar-t","download_url":"https://codeload.github.com/rakesh-kumar-t/AngularDotnetCore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242959605,"owners_count":20213015,"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":["angular","angular-api","angular-app","angular-material","angularapp","angularmaterial","dotnet","dotnet-core","entity-framework","entity-framework-core","sql-server","sqlserver","swagger","swagger-ui","web-api","web-api-core","webapi","webapi-core"],"created_at":"2024-07-29T19:01:23.458Z","updated_at":"2025-03-11T02:32:54.799Z","avatar_url":"https://github.com/rakesh-kumar-t.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular - .NET Core APP\n\n\u003e Angular v13\n\n\u003e .Net 5.0\n\u003e \n![.NET Build](https://github.com/rakesh-kumar-t/AngularDotnetCore/actions/workflows/dotnet.yml/badge.svg)\n![Angular Build](https://github.com/rakesh-kumar-t/AngularDotnetCore/actions/workflows/angular.yml/badge.svg)\n\n\n### Angular app with dotnet core web api and mssql as backend (Code first approach)\n##### Some major Components Used\n\u003e Angular Material\n\n\u003e Swagger UI\n\n\u003e ngx-toastr\n\n##### _points to note_\n\n- Migration Commands (in Nuget console)\n  - `add migration \u003cname\u003e`\n  - `update-database`\n- Use inbuilt Swagger or else postman and use the APIs to add some dummy data to table\n- Run the WebAPI first(recommeneded to run from visual studio)\n- Then run the angular app\n\n  - `npm i`\n  - `ng serve`\n\n- If converting to db first approach\n  - SQL Commands for creating the tables are provided in dbcommands folder\n\n### Known Errors\n\n- If any error pops up regarding namespaces, add the reference to the DataAccess project or dll from the webapi project\n- If angular app is giving any compilation error, run npm i again\n\n#### Extras\n\n- If you are planning on a db first approach to modify the project\n  - Command for creating models from db\n    - `scaffold-dbcontext \"Data Source=.;Initial Catalog=CompanyDB; Integrated Security=true\" Microsoft.EntityFrameworkCore.SqlServer -outputdir Models`\n\n# Creator\n* [Rakesh Kumar T](https://github.com/rakesh-kumar-t)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakesh-kumar-t%2FAngularDotnetCore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frakesh-kumar-t%2FAngularDotnetCore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakesh-kumar-t%2FAngularDotnetCore/lists"}