Finished the project.

This commit is contained in:
Batuhan Berk Başoğlu 2024-02-09 00:19:21 -05:00
parent 753967d4f5
commit b5dcb71080
35 changed files with 130 additions and 139 deletions

View file

@ -9,7 +9,7 @@ using TodoApi.Models;
namespace TodoApi.Controllers
{
[Route("api/[controller]")]
[Route("api/[controller]/posts")]
[ApiController]
public class TodoItemsController : ControllerBase
{

10
README.md Normal file
View file

@ -0,0 +1,10 @@
# .NET Web API with Angular
This is a .NET backend server connected to a Angular front end. It retrieves api from https://api.hatchways.io/assessment/blog/posts?tag=tech using GET method from REST API. Angular and .NET connected in simplest way possible since VS Code doesn´t provide a template for .NET and Angular synchronisation. Angular could be removed to compile only .NET using swagger. For the sake of not breaking the code no changes will be made but controllers from Web API are still there in case.
# Usage
Execute "dotnet run --launch-profile https"
# Authors
- Batuhan Basoglu

Binary file not shown.

Binary file not shown.

View file

@ -1 +1 @@
{"ContentRoots":["/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/"],"Root":{"Children":{"favicon.ico":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"favicon.ico"},"Patterns":null},"index.html":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"index.html"},"Patterns":null},"main-6RBWMYLE.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"main-6RBWMYLE.js"},"Patterns":null},"polyfills-RX4V3J3S.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"polyfills-RX4V3J3S.js"},"Patterns":null},"styles-5INURTSO.css":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"styles-5INURTSO.css"},"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}}
{"ContentRoots":["/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/"],"Root":{"Children":{"favicon.ico":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"favicon.ico"},"Patterns":null},"index.html":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"index.html"},"Patterns":null},"main-DASB26HH.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"main-DASB26HH.js"},"Patterns":null},"polyfills-RX4V3J3S.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"polyfills-RX4V3J3S.js"},"Patterns":null},"styles-5INURTSO.css":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"styles-5INURTSO.css"},"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}}

File diff suppressed because one or more lines are too long

View file

@ -6,7 +6,7 @@
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="styles-5INURTSO.css"></head>
<body><!--nghm-->
<app-root _nghost-ng-c1513193873 ng-version="17.1.3" ngh="0" ng-server-context="ssg"><main _ngcontent-ng-c1513193873 class="main"><h1 _ngcontent-ng-c1513193873>To-do CRUD</h1><h3 _ngcontent-ng-c1513193873>Add</h3><form _ngcontent-ng-c1513193873 action="javascript:void(0);" method="POST" onsubmit="addItem()"><input _ngcontent-ng-c1513193873 type="text" id="add-name" placeholder="New to-do"><input _ngcontent-ng-c1513193873 type="submit" value="Add"></form><div _ngcontent-ng-c1513193873 id="editForm"><h3 _ngcontent-ng-c1513193873>Edit</h3><form _ngcontent-ng-c1513193873 action="javascript:void(0);" onsubmit="updateItem()"><input _ngcontent-ng-c1513193873 type="hidden" id="edit-id"><input _ngcontent-ng-c1513193873 type="checkbox" id="edit-isComplete"><input _ngcontent-ng-c1513193873 type="text" id="edit-name"><input _ngcontent-ng-c1513193873 type="submit" value="Save"><a _ngcontent-ng-c1513193873 onclick="closeInput()" aria-label="Close"></a></form></div><p _ngcontent-ng-c1513193873 id="counter"></p><table _ngcontent-ng-c1513193873><tr _ngcontent-ng-c1513193873><th _ngcontent-ng-c1513193873>Is Complete?</th><th _ngcontent-ng-c1513193873>Name</th><th _ngcontent-ng-c1513193873></th><th _ngcontent-ng-c1513193873></th></tr><tbody _ngcontent-ng-c1513193873 id="todos"></tbody></table></main><router-outlet _ngcontent-ng-c1513193873></router-outlet><!----></app-root>
<script src="polyfills-RX4V3J3S.js" type="module"></script><script src="main-6RBWMYLE.js" type="module"></script>
<app-root _nghost-ng-c3526056911 ng-version="17.1.3" ngh="0" ng-server-context="ssg"><main _ngcontent-ng-c3526056911 class="main"><h1 _ngcontent-ng-c3526056911>Calling the API using Angular</h1><h3 _ngcontent-ng-c3526056911>Get the Posts</h3><p _ngcontent-ng-c3526056911>Click to this button to receive all the API data.</p><a _ngcontent-ng-c3526056911 href="javascript:void(0)" role="button" class="btn btn-lg btn-primary"> Get the Posts </a></main><router-outlet _ngcontent-ng-c3526056911></router-outlet><!----></app-root>
<script src="polyfills-RX4V3J3S.js" type="module"></script><script src="main-DASB26HH.js" type="module"></script>
<script id="ng-state" type="application/json">{"__nghData__":[{"c":{"28":[]}}]}</script></body></html>
<script id="ng-state" type="application/json">{"__nghData__":[{"c":{"9":[]}}]}</script></body></html>

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
import './polyfills.server.mjs';
import{a as p,b as t,c as e,d as i,e as o,f as d,m as a,o as l,p as s,s as c,w as u,z as f}from"./chunk-LGZFYCZH.mjs";var v=(()=>{let n=class n{constructor(){this.title="my-app"}};n.\u0275fac=function(m){return new(m||n)},n.\u0275cmp=p({type:n,selectors:[["app-root"]],standalone:!0,features:[d],decls:29,vars:0,consts:[[1,"main"],["action","javascript:void(0);","method","POST","onsubmit","addItem()"],["type","text","id","add-name","placeholder","New to-do"],["type","submit","value","Add"],["id","editForm"],["action","javascript:void(0);","onsubmit","updateItem()"],["type","hidden","id","edit-id"],["type","checkbox","id","edit-isComplete"],["type","text","id","edit-name"],["type","submit","value","Save"],["onclick","closeInput()","aria-label","Close"],["id","counter"],["id","todos"]],template:function(m,g){m&1&&(t(0,"main",0)(1,"h1"),o(2,"To-do CRUD"),e(),t(3,"h3"),o(4,"Add"),e(),t(5,"form",1),i(6,"input",2)(7,"input",3),e(),t(8,"div",4)(9,"h3"),o(10,"Edit"),e(),t(11,"form",5),i(12,"input",6)(13,"input",7)(14,"input",8)(15,"input",9),t(16,"a",10),o(17,"\u2716"),e()()(),i(18,"p",11),t(19,"table")(20,"tr")(21,"th"),o(22,"Is Complete?"),e(),t(23,"th"),o(24,"Name"),e(),i(25,"th")(26,"th"),e(),i(27,"tbody",12),e()(),i(28,"router-outlet"))},dependencies:[u]});let r=n;return r})();var x=[];var h={providers:[f(x),s()]};var S={providers:[c()]},y=a(h,S);var b=()=>l(v,y),U=b;export{U as a};

File diff suppressed because one or more lines are too long

View file

@ -9,5 +9,5 @@
<link rel="stylesheet" href="styles-5INURTSO.css"></head>
<body>
<app-root></app-root>
<script src="polyfills-RX4V3J3S.js" type="module"></script><script src="main-6RBWMYLE.js" type="module"></script></body>
<script src="polyfills-RX4V3J3S.js" type="module"></script><script src="main-DASB26HH.js" type="module"></script></body>
</html>

View file

@ -1,2 +1,2 @@
import './polyfills.server.mjs';
import{a}from"./chunk-EPF7UM6E.mjs";import"./chunk-LGZFYCZH.mjs";import"./chunk-VVCT4QZE.mjs";export{a as default};
import{a}from"./chunk-PZASK5JP.mjs";import"./chunk-4R55AP5V.mjs";import"./chunk-VVCT4QZE.mjs";export{a as default};

View file

@ -1,2 +1,2 @@
import './polyfills.server.mjs';
import{g as f,h as g,i as h,j as p,k as y,l as C,q as E,r as w,t as N,u as A,v as I,x as P,y as S}from"./chunk-LGZFYCZH.mjs";import{i as l,j as d,k as u}from"./chunk-VVCT4QZE.mjs";function a(e,n,i,t=""){return d(this,null,function*(){for(let r of e){let{path:o,redirectTo:c,loadChildren:T,children:R}=r;if(o===void 0)continue;let s=x(t,o);if(c!==void 0){yield{route:s,success:!1,redirect:!0};continue}if(/[:*]/.test(o)){yield{route:s,success:!1,redirect:!1};continue}if(yield{route:s,success:!0,redirect:!1},R?.length&&(yield*u(a(R,n,i,s))),T){let m=yield new l(P(r,n,i).toPromise());if(m){let{routes:_,injector:L=i}=m;yield*u(a(_,n,L,s))}}}})}function v(e,n){return d(this,null,function*(){let i=y(C,"server",[{provide:E,useValue:{document:n,url:""}},{provide:f,useFactory:()=>{class t extends f{ignoredLogs=new Set(["Angular is running in development mode."]);log(o){this.ignoredLogs.has(o)||super.log(o)}}return new t}},...w])();try{let t;V(e)?t=yield new l(e()):t=(yield new l(i.bootstrapModule(e))).injector.get(h),yield new l(p(t));let r=t.injector,o=r.get(S);if(o.config.length===0)yield{route:"",success:!0,redirect:!1};else{let c=r.get(g);yield*u(a(o.config,c,r))}}finally{i.destroy()}})}function V(e){return typeof e=="function"&&!("\u0275mod"in e)}function x(...e){return e.filter(Boolean).join("/")}export{v as extractRoutes,I as renderApplication,A as renderModule,f as \u0275Console,N as \u0275SERVER_CONTEXT};
import{B as P,C as S,i as f,j as g,k as h,l as p,m as y,n as C,u as E,v as w,x as N,y as A,z as I}from"./chunk-4R55AP5V.mjs";import{i as l,j as d,k as u}from"./chunk-VVCT4QZE.mjs";function a(e,n,i,t=""){return d(this,null,function*(){for(let r of e){let{path:o,redirectTo:c,loadChildren:T,children:R}=r;if(o===void 0)continue;let s=x(t,o);if(c!==void 0){yield{route:s,success:!1,redirect:!0};continue}if(/[:*]/.test(o)){yield{route:s,success:!1,redirect:!1};continue}if(yield{route:s,success:!0,redirect:!1},R?.length&&(yield*u(a(R,n,i,s))),T){let m=yield new l(P(r,n,i).toPromise());if(m){let{routes:_,injector:L=i}=m;yield*u(a(_,n,L,s))}}}})}function v(e,n){return d(this,null,function*(){let i=y(C,"server",[{provide:E,useValue:{document:n,url:""}},{provide:f,useFactory:()=>{class t extends f{ignoredLogs=new Set(["Angular is running in development mode."]);log(o){this.ignoredLogs.has(o)||super.log(o)}}return new t}},...w])();try{let t;V(e)?t=yield new l(e()):t=(yield new l(i.bootstrapModule(e))).injector.get(h),yield new l(p(t));let r=t.injector,o=r.get(S);if(o.config.length===0)yield{route:"",success:!0,redirect:!1};else{let c=r.get(g);yield*u(a(o.config,c,r))}}finally{i.destroy()}})}function V(e){return typeof e=="function"&&!("\u0275mod"in e)}function x(...e){return e.filter(Boolean).join("/")}export{v as extractRoutes,I as renderApplication,A as renderModule,f as \u0275Console,N as \u0275SERVER_CONTEXT};

File diff suppressed because one or more lines are too long

View file

@ -2808,6 +2808,19 @@
"linux"
]
},
"node_modules/@rollup/rollup-linux-x64-musl": {
"version": "4.9.6",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.9.6.tgz",
"integrity": "sha512-ch7M+9Tr5R4FK40FHQk8VnML0Szi2KRujUgHXd/HjuH9ifH72GUmw6lStZBo3c3GB82vHa0ZoUfjfcM7JiiMrQ==",
"cpu": [
"x64"
],
"dev": true,
"optional": true,
"os": [
"linux"
]
},
"node_modules/@schematics/angular": {
"version": "17.1.3",
"resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-17.1.3.tgz",

View file

@ -1,38 +1,10 @@
<main class="main">
<h1>To-do CRUD</h1>
<h3>Add</h3>
<form action="javascript:void(0);" method="POST" onsubmit="addItem()">
<input type="text" id="add-name" placeholder="New to-do">
<input type="submit" value="Add">
</form>
<div id="editForm">
<h3>Edit</h3>
<form action="javascript:void(0);" onsubmit="updateItem()">
<input type="hidden" id="edit-id">
<input type="checkbox" id="edit-isComplete">
<input type="text" id="edit-name">
<input type="submit" value="Save">
<a onclick="closeInput()" aria-label="Close">&#10006;</a>
</form>
</div>
<p id="counter"></p>
<table>
<tr>
<th>Is Complete?</th>
<th>Name</th>
<th></th>
<th></th>
</tr>
<tbody id="todos"></tbody>
</table>
<script src="js/site.js" asp-append-version="true"></script>
<script type="text/javascript">
getItems();
</script>
<h1>Calling the API using Angular</h1>
<h3>Get the Posts</h3>
<p>Click to this button to receive all the API data.</p>
<a (click)="loadPosts()" class="btn btn-lg btn-primary" href="javascript:void(0)" role="button">
Get the Posts
</a>
</main>

View file

@ -1,13 +1,23 @@
import { Component } from '@angular/core';
import { HttpClient, HttpClientModule } from '@angular/common/http';
import { RouterOutlet } from '@angular/router';
@Component({
selector: 'app-root',
standalone: true,
imports: [RouterOutlet],
imports: [RouterOutlet, HttpClientModule],
templateUrl: './app.component.html',
styleUrl: './app.component.css'
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'my-app';
}
constructor(private http: HttpClient) {
}
loadPosts() {
this.http.get("https://api.hatchways.io/assessment/blog/posts?tag=tech").subscribe((response)=>{
alert(JSON.stringify(response));
})
}
}

View file

@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("TodoApi")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+48dcb2e38f43af8925b7032be7e5c54ddce517b6")]
[assembly: System.Reflection.AssemblyProductAttribute("TodoApi")]
[assembly: System.Reflection.AssemblyTitleAttribute("TodoApi")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View file

@ -1 +1 @@
20c843ad297ffa9756f7d7b03d339975150e78044dac196ad5c689fa13c39bc2
581374b91827dfbd23ec2f425ccf6c2c0c37cbefa99e502d9968b2b1df45c84b

View file

@ -17,11 +17,11 @@ build_property._SupportedPlatformList = Linux,macOS,Windows
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = TodoApi
build_property.RootNamespace = TodoApi
build_property.ProjectDir = /home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/
build_property.ProjectDir = /home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.RazorLangVersion = 8.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = /home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi
build_property.MSBuildProjectDirectory = /home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular
build_property._RazorSourceGeneratorDebug =

View file

@ -513,3 +513,41 @@ C:/Users/batuh/Desktop/Technical-Assessment/Assessment/TodoApi/bin/Debug/net8.0/
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/bin/Debug/net8.0/my-app/tsconfig.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/bin/Debug/net8.0/my-app/tsconfig.spec.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/bin/Debug/net8.0/my-app/dist/my-app/prerendered-routes.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/appsettings.Development.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/appsettings.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/my-app/angular.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/my-app/package-lock.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/my-app/package.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/my-app/tsconfig.app.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/my-app/tsconfig.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/my-app/tsconfig.spec.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/package-lock.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/TodoApi.staticwebassets.runtime.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/TodoApi
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/TodoApi.deps.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/TodoApi.runtimeconfig.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/TodoApi.dll
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/TodoApi.pdb
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/TodoApi.csproj.AssemblyReference.cache
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/TodoApi.GeneratedMSBuildEditorConfig.editorconfig
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/TodoApi.AssemblyInfoInputs.cache
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/TodoApi.AssemblyInfo.cs
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/TodoApi.csproj.CoreCompileInputs.cache
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/TodoApi.MvcApplicationPartsAssemblyInfo.cs
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/TodoApi.MvcApplicationPartsAssemblyInfo.cache
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/TodoApi.sourcelink.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/staticwebassets.build.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/staticwebassets.development.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/staticwebassets/msbuild.TodoApi.Microsoft.AspNetCore.StaticWebAssets.props
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/staticwebassets/msbuild.build.TodoApi.props
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/staticwebassets/msbuild.buildMultiTargeting.TodoApi.props
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/staticwebassets/msbuild.buildTransitive.TodoApi.props
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/staticwebassets.pack.json
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/scopedcss/bundle/TodoApi.styles.css
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/TodoApi.csproj.CopyComplete
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/TodoApi.dll
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/refint/TodoApi.dll
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/TodoApi.pdb
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/TodoApi.genruntimeconfig.cache
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/Debug/net8.0/ref/TodoApi.dll
/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /bin/Debug/net8.0/my-app/dist/my-app/prerendered-routes.json

Binary file not shown.

View file

@ -1 +1 @@
bc52ec005196a27c019132306ebcd3c40cd7fd8dcdbb720c60f457b848e37656
da2de15441d2655a354dc31fcf6f5c2ededb787ced919db562366d3ad0238099

Binary file not shown.

View file

@ -0,0 +1 @@
{"documents":{"/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /*":"https://raw.githubusercontent.com/batuhan-basoglu/.NET-Web-API-w-Angular/48dcb2e38f43af8925b7032be7e5c54ddce517b6/*"}}

Binary file not shown.

Binary file not shown.

View file

@ -1,6 +1,6 @@
{
"Version": 1,
"Hash": "hajK4qTEqEbV0GiYABogdS1w8jwmGEZaSwwurfdJ37o=",
"Hash": "VpuLVdtSyM+jv5TnMgErZu8NUaJVL+0tZmLaxNl9VCc=",
"Source": "TodoApi",
"BasePath": "_content/TodoApi",
"Mode": "Default",
@ -10,17 +10,17 @@
{
"Name": "TodoApi/wwwroot",
"Source": "TodoApi",
"ContentRoot": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/",
"ContentRoot": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/",
"BasePath": "_content/TodoApi",
"Pattern": "**"
}
],
"Assets": [
{
"Identity": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/favicon.ico",
"Identity": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/favicon.ico",
"SourceId": "TodoApi",
"SourceType": "Discovered",
"ContentRoot": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/",
"ContentRoot": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/",
"BasePath": "_content/TodoApi",
"RelativePath": "favicon.ico",
"AssetKind": "All",
@ -36,10 +36,10 @@
"OriginalItemSpec": "wwwroot/favicon.ico"
},
{
"Identity": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/index.html",
"Identity": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/index.html",
"SourceId": "TodoApi",
"SourceType": "Discovered",
"ContentRoot": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/",
"ContentRoot": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/",
"BasePath": "_content/TodoApi",
"RelativePath": "index.html",
"AssetKind": "All",
@ -55,12 +55,12 @@
"OriginalItemSpec": "wwwroot/index.html"
},
{
"Identity": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/main-6RBWMYLE.js",
"Identity": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/main-DASB26HH.js",
"SourceId": "TodoApi",
"SourceType": "Discovered",
"ContentRoot": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/",
"ContentRoot": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/",
"BasePath": "_content/TodoApi",
"RelativePath": "main-6RBWMYLE.js",
"RelativePath": "main-DASB26HH.js",
"AssetKind": "All",
"AssetMode": "All",
"AssetRole": "Primary",
@ -71,13 +71,13 @@
"AssetTraitValue": "",
"CopyToOutputDirectory": "Never",
"CopyToPublishDirectory": "PreserveNewest",
"OriginalItemSpec": "wwwroot/main-6RBWMYLE.js"
"OriginalItemSpec": "wwwroot/main-DASB26HH.js"
},
{
"Identity": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/polyfills-RX4V3J3S.js",
"Identity": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/polyfills-RX4V3J3S.js",
"SourceId": "TodoApi",
"SourceType": "Discovered",
"ContentRoot": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/",
"ContentRoot": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/",
"BasePath": "_content/TodoApi",
"RelativePath": "polyfills-RX4V3J3S.js",
"AssetKind": "All",
@ -93,10 +93,10 @@
"OriginalItemSpec": "wwwroot/polyfills-RX4V3J3S.js"
},
{
"Identity": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/styles-5INURTSO.css",
"Identity": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/styles-5INURTSO.css",
"SourceId": "TodoApi",
"SourceType": "Discovered",
"ContentRoot": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/",
"ContentRoot": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/",
"BasePath": "_content/TodoApi",
"RelativePath": "styles-5INURTSO.css",
"AssetKind": "All",

View file

@ -1 +1 @@
{"ContentRoots":["/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/"],"Root":{"Children":{"favicon.ico":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"favicon.ico"},"Patterns":null},"index.html":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"index.html"},"Patterns":null},"main-6RBWMYLE.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"main-6RBWMYLE.js"},"Patterns":null},"polyfills-RX4V3J3S.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"polyfills-RX4V3J3S.js"},"Patterns":null},"styles-5INURTSO.css":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"styles-5INURTSO.css"},"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}}
{"ContentRoots":["/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/"],"Root":{"Children":{"favicon.ico":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"favicon.ico"},"Patterns":null},"index.html":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"index.html"},"Patterns":null},"main-DASB26HH.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"main-DASB26HH.js"},"Patterns":null},"polyfills-RX4V3J3S.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"polyfills-RX4V3J3S.js"},"Patterns":null},"styles-5INURTSO.css":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"styles-5INURTSO.css"},"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}}

View file

@ -1,23 +1,23 @@
{
"Files": [
{
"Id": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/favicon.ico",
"Id": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/favicon.ico",
"PackagePath": "staticwebassets/favicon.ico"
},
{
"Id": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/index.html",
"Id": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/index.html",
"PackagePath": "staticwebassets/index.html"
},
{
"Id": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/main-6RBWMYLE.js",
"PackagePath": "staticwebassets/main-6RBWMYLE.js"
"Id": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/main-DASB26HH.js",
"PackagePath": "staticwebassets/main-DASB26HH.js"
},
{
"Id": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/polyfills-RX4V3J3S.js",
"Id": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/polyfills-RX4V3J3S.js",
"PackagePath": "staticwebassets/polyfills-RX4V3J3S.js"
},
{
"Id": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/wwwroot/styles-5INURTSO.css",
"Id": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /wwwroot/styles-5INURTSO.css",
"PackagePath": "staticwebassets/styles-5INURTSO.css"
},
{

View file

@ -32,12 +32,12 @@
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\index.html))</OriginalItemSpec>
</StaticWebAsset>
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\main-6RBWMYLE.js))">
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\main-DASB26HH.js))">
<SourceType>Package</SourceType>
<SourceId>TodoApi</SourceId>
<ContentRoot>$(MSBuildThisFileDirectory)..\staticwebassets\</ContentRoot>
<BasePath>_content/TodoApi</BasePath>
<RelativePath>main-6RBWMYLE.js</RelativePath>
<RelativePath>main-DASB26HH.js</RelativePath>
<AssetKind>All</AssetKind>
<AssetMode>All</AssetMode>
<AssetRole>Primary</AssetRole>
@ -46,7 +46,7 @@
<AssetTraitValue></AssetTraitValue>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\main-6RBWMYLE.js))</OriginalItemSpec>
<OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\main-DASB26HH.js))</OriginalItemSpec>
</StaticWebAsset>
<StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\polyfills-RX4V3J3S.js))">
<SourceType>Package</SourceType>

View file

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/TodoApi.csproj": {}
"/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /TodoApi.csproj": {}
},
"projects": {
"/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/TodoApi.csproj": {
"/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /TodoApi.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/TodoApi.csproj",
"projectUniqueName": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /TodoApi.csproj",
"projectName": "TodoApi",
"projectPath": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/TodoApi.csproj",
"projectPath": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /TodoApi.csproj",
"packagesPath": "/root/.nuget/packages/",
"outputPath": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/obj/",
"outputPath": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/root/.nuget/NuGet/NuGet.Config"

View file

@ -8151,11 +8151,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/TodoApi.csproj",
"projectUniqueName": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /TodoApi.csproj",
"projectName": "TodoApi",
"projectPath": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/TodoApi.csproj",
"projectPath": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /TodoApi.csproj",
"packagesPath": "/root/.nuget/packages/",
"outputPath": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/obj/",
"outputPath": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/root/.nuget/NuGet/NuGet.Config"

View file

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "3JFanmM5rDCXHXJkdnOzfCo08Cs/vXLB90uDFz470Rdtv7esfWMlxkQRGItJ3KpMk1jAAwBrLD2NTHVS7oMz1Q==",
"dgSpecHash": "/pABrzeZJ2lXWYqC3bjzrl1+8GLsd9selBcBMRbikKcEWGe4ZJ6PCkT9uYUEyDnIn5jrDyeAEldVECNAG6gA4Q==",
"success": true,
"projectFilePath": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/TodoApi/TodoApi.csproj",
"projectFilePath": "/home/arctichawk1/Desktop/Technical-Assessment/Assessment/DOTNET-Web-API-w-Angular /TodoApi.csproj",
"expectedPackageFiles": [
"/root/.nuget/packages/azure.core/1.25.0/azure.core.1.25.0.nupkg.sha512",
"/root/.nuget/packages/azure.identity/1.7.0/azure.identity.1.7.0.nupkg.sha512",