diff --git a/.gitignore b/.gitignore index 35d95b6..9714d0f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,47 @@ .DS_Store -node_modules/* -bin/* -obj/* \ No newline at end of file +**/node_modules/* +**/bin/* +**/obj/* + +# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files. + +# Compiled output +**/dist/* +**/tmp/* +**/out-tsc/* +**/bazel-out/* + +# Node +**/node_modules/* +npm-debug.log +yarn-error.log + +# IDEs and editors +**/.idea/* +**/.project/* +**/.classpath/* +**/.c9/* +*.launch +*/.settings/** +*.sublime-workspace + +# Visual Studio Code +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +.history/* + +# Miscellaneous +/.angular/cache +.sass-cache/ +/connect.lock +/coverage +/libpeerconnection.log +testem.log +/typings + +# System files +.DS_Store +Thumbs.db diff --git a/source/ticket-api/Program.cs b/source/ticket-api/Program.cs deleted file mode 100644 index ee9d65d..0000000 --- a/source/ticket-api/Program.cs +++ /dev/null @@ -1,41 +0,0 @@ -var builder = WebApplication.CreateBuilder(args); - -// Add services to the container. -// Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi -builder.Services.AddOpenApi(); - -var app = builder.Build(); - -// Configure the HTTP request pipeline. -if (app.Environment.IsDevelopment()) -{ - app.MapOpenApi(); -} - -app.UseHttpsRedirection(); - -var summaries = new[] -{ - "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" -}; - -app.MapGet("/weatherforecast", () => -{ - var forecast = Enumerable.Range(1, 5).Select(index => - new WeatherForecast - ( - DateOnly.FromDateTime(DateTime.Now.AddDays(index)), - Random.Shared.Next(-20, 55), - summaries[Random.Shared.Next(summaries.Length)] - )) - .ToArray(); - return forecast; -}) -.WithName("GetWeatherForecast"); - -app.Run(); - -record WeatherForecast(DateOnly Date, int TemperatureC, string? Summary) -{ - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); -} diff --git a/source/ticket-api/obj/project.assets.json b/source/ticket-api/obj/project.assets.json deleted file mode 100644 index eed0b7e..0000000 --- a/source/ticket-api/obj/project.assets.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "version": 3, - "targets": { - "net9.0": { - "Microsoft.AspNetCore.OpenApi/9.0.0": { - "type": "package", - "dependencies": { - "Microsoft.OpenApi": "1.6.17" - }, - "compile": { - "lib/net9.0/Microsoft.AspNetCore.OpenApi.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/net9.0/Microsoft.AspNetCore.OpenApi.dll": { - "related": ".xml" - } - }, - "frameworkReferences": [ - "Microsoft.AspNetCore.App" - ] - }, - "Microsoft.OpenApi/1.6.17": { - "type": "package", - "compile": { - "lib/netstandard2.0/Microsoft.OpenApi.dll": { - "related": ".pdb;.xml" - } - }, - "runtime": { - "lib/netstandard2.0/Microsoft.OpenApi.dll": { - "related": ".pdb;.xml" - } - } - } - } - }, - "libraries": { - "Microsoft.AspNetCore.OpenApi/9.0.0": { - "sha512": "FqUK5j1EOPNuFT7IafltZQ3cakqhSwVzH5ZW1MhZDe4pPXs9sJ2M5jom1Omsu+mwF2tNKKlRAzLRHQTZzbd+6Q==", - "type": "package", - "path": "microsoft.aspnetcore.openapi/9.0.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "Icon.png", - "PACKAGE.md", - "THIRD-PARTY-NOTICES.TXT", - "lib/net9.0/Microsoft.AspNetCore.OpenApi.dll", - "lib/net9.0/Microsoft.AspNetCore.OpenApi.xml", - "microsoft.aspnetcore.openapi.9.0.0.nupkg.sha512", - "microsoft.aspnetcore.openapi.nuspec" - ] - }, - "Microsoft.OpenApi/1.6.17": { - "sha512": "Le+kehlmrlQfuDFUt1zZ2dVwrhFQtKREdKBo+rexOwaCoYP0/qpgT9tLxCsZjsgR5Itk1UKPcbgO+FyaNid/bA==", - "type": "package", - "path": "microsoft.openapi/1.6.17", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "README.md", - "lib/netstandard2.0/Microsoft.OpenApi.dll", - "lib/netstandard2.0/Microsoft.OpenApi.pdb", - "lib/netstandard2.0/Microsoft.OpenApi.xml", - "microsoft.openapi.1.6.17.nupkg.sha512", - "microsoft.openapi.nuspec" - ] - } - }, - "projectFileDependencyGroups": { - "net9.0": [ - "Microsoft.AspNetCore.OpenApi >= 9.0.0" - ] - }, - "packageFolders": { - "/Users/tarawilson/.nuget/packages/": {} - }, - "project": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "/Users/tarawilson/Code/ticket-system/source/ticket-api/ticket-api.csproj", - "projectName": "ticket-api", - "projectPath": "/Users/tarawilson/Code/ticket-system/source/ticket-api/ticket-api.csproj", - "packagesPath": "/Users/tarawilson/.nuget/packages/", - "outputPath": "/Users/tarawilson/Code/ticket-system/source/ticket-api/obj/", - "projectStyle": "PackageReference", - "configFilePaths": [ - "/Users/tarawilson/.nuget/NuGet/NuGet.Config" - ], - "originalTargetFrameworks": [ - "net9.0" - ], - "sources": { - "/opt/homebrew/Cellar/dotnet/9.0.0/libexec/library-packs": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net9.0": { - "targetAlias": "net9.0", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - }, - "restoreAuditProperties": { - "enableAudit": "true", - "auditLevel": "low", - "auditMode": "all" - }, - "SdkAnalysisLevel": "9.0.100" - }, - "frameworks": { - "net9.0": { - "targetAlias": "net9.0", - "dependencies": { - "Microsoft.AspNetCore.OpenApi": { - "target": "Package", - "version": "[9.0.0, )" - } - }, - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.AspNetCore.App": { - "privateAssets": "none" - }, - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "/opt/homebrew/Cellar/dotnet/9.0.0/libexec/sdk/9.0.100/PortableRuntimeIdentifierGraph.json" - } - } - } -} \ No newline at end of file diff --git a/source/ticket-api/obj/project.nuget.cache b/source/ticket-api/obj/project.nuget.cache deleted file mode 100644 index 6a4eb53..0000000 --- a/source/ticket-api/obj/project.nuget.cache +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 2, - "dgSpecHash": "P7FXp9VfOMk=", - "success": true, - "projectFilePath": "/Users/tarawilson/Code/ticket-system/source/ticket-api/ticket-api.csproj", - "expectedPackageFiles": [ - "/Users/tarawilson/.nuget/packages/microsoft.aspnetcore.openapi/9.0.0/microsoft.aspnetcore.openapi.9.0.0.nupkg.sha512", - "/Users/tarawilson/.nuget/packages/microsoft.openapi/1.6.17/microsoft.openapi.1.6.17.nupkg.sha512" - ], - "logs": [] -} \ No newline at end of file diff --git a/source/ticket-api/obj/ticket-api.csproj.nuget.dgspec.json b/source/ticket-api/obj/ticket-api.csproj.nuget.dgspec.json deleted file mode 100644 index 6fd7b54..0000000 --- a/source/ticket-api/obj/ticket-api.csproj.nuget.dgspec.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "format": 1, - "restore": { - "/Users/tarawilson/Code/ticket-system/source/ticket-api/ticket-api.csproj": {} - }, - "projects": { - "/Users/tarawilson/Code/ticket-system/source/ticket-api/ticket-api.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "/Users/tarawilson/Code/ticket-system/source/ticket-api/ticket-api.csproj", - "projectName": "ticket-api", - "projectPath": "/Users/tarawilson/Code/ticket-system/source/ticket-api/ticket-api.csproj", - "packagesPath": "/Users/tarawilson/.nuget/packages/", - "outputPath": "/Users/tarawilson/Code/ticket-system/source/ticket-api/obj/", - "projectStyle": "PackageReference", - "configFilePaths": [ - "/Users/tarawilson/.nuget/NuGet/NuGet.Config" - ], - "originalTargetFrameworks": [ - "net9.0" - ], - "sources": { - "/opt/homebrew/Cellar/dotnet/9.0.0/libexec/library-packs": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net9.0": { - "targetAlias": "net9.0", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - }, - "restoreAuditProperties": { - "enableAudit": "true", - "auditLevel": "low", - "auditMode": "all" - }, - "SdkAnalysisLevel": "9.0.100" - }, - "frameworks": { - "net9.0": { - "targetAlias": "net9.0", - "dependencies": { - "Microsoft.AspNetCore.OpenApi": { - "target": "Package", - "version": "[9.0.0, )" - } - }, - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.AspNetCore.App": { - "privateAssets": "none" - }, - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "/opt/homebrew/Cellar/dotnet/9.0.0/libexec/sdk/9.0.100/PortableRuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/source/ticket-api/obj/ticket-api.csproj.nuget.g.props b/source/ticket-api/obj/ticket-api.csproj.nuget.g.props deleted file mode 100644 index a6e5374..0000000 --- a/source/ticket-api/obj/ticket-api.csproj.nuget.g.props +++ /dev/null @@ -1,15 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - /Users/tarawilson/.nuget/packages/ - /Users/tarawilson/.nuget/packages/ - PackageReference - 6.12.0 - - - - - \ No newline at end of file diff --git a/source/ticket-api/obj/ticket-api.csproj.nuget.g.targets b/source/ticket-api/obj/ticket-api.csproj.nuget.g.targets deleted file mode 100644 index 3dc06ef..0000000 --- a/source/ticket-api/obj/ticket-api.csproj.nuget.g.targets +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/source/ticket-api/ticket-api.csproj b/source/ticket-api/ticket-api.csproj deleted file mode 100644 index af0c075..0000000 --- a/source/ticket-api/ticket-api.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - net9.0 - enable - enable - ticket_api - - - - - - - diff --git a/source/ticket-api/ticket-api.http b/source/ticket-api/ticket-api.http deleted file mode 100644 index 2606251..0000000 --- a/source/ticket-api/ticket-api.http +++ /dev/null @@ -1,6 +0,0 @@ -@ticket_api_HostAddress = http://localhost:5118 - -GET {{ticket_api_HostAddress}}/weatherforecast/ -Accept: application/json - -### diff --git a/source/ticket-ui/.gitignore b/source/ticket-ui/.gitignore deleted file mode 100644 index cc7b141..0000000 --- a/source/ticket-ui/.gitignore +++ /dev/null @@ -1,42 +0,0 @@ -# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files. - -# Compiled output -/dist -/tmp -/out-tsc -/bazel-out - -# Node -/node_modules -npm-debug.log -yarn-error.log - -# IDEs and editors -.idea/ -.project -.classpath -.c9/ -*.launch -.settings/ -*.sublime-workspace - -# Visual Studio Code -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -.history/* - -# Miscellaneous -/.angular/cache -.sass-cache/ -/connect.lock -/coverage -/libpeerconnection.log -testem.log -/typings - -# System files -.DS_Store -Thumbs.db diff --git a/source/ticketAPI/api/Controllers/WeatherForecastController.cs b/source/ticketAPI/api/Controllers/WeatherForecastController.cs new file mode 100644 index 0000000..bea88b5 --- /dev/null +++ b/source/ticketAPI/api/Controllers/WeatherForecastController.cs @@ -0,0 +1,32 @@ +using Microsoft.AspNetCore.Mvc; + +namespace api.Controllers; + +[ApiController] +[Route("[controller]")] +public class WeatherForecastController : ControllerBase +{ + private static readonly string[] Summaries = new[] + { + "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" + }; + + private readonly ILogger _logger; + + public WeatherForecastController(ILogger logger) + { + _logger = logger; + } + + [HttpGet] + public IEnumerable Get() + { + return Enumerable.Range(1, 5).Select(index => new WeatherForecast + { + Date = DateOnly.FromDateTime(DateTime.Now.AddDays(index)), + TemperatureC = Random.Shared.Next(-20, 55), + Summary = Summaries[Random.Shared.Next(Summaries.Length)] + }) + .ToArray(); + } +} \ No newline at end of file diff --git a/source/ticketAPI/api/Program.cs b/source/ticketAPI/api/Program.cs new file mode 100644 index 0000000..8a07408 --- /dev/null +++ b/source/ticketAPI/api/Program.cs @@ -0,0 +1,17 @@ +var builder = WebApplication.CreateBuilder(args); + +// Add services to the container. + +builder.Services.AddControllers(); + +var app = builder.Build(); + +// Configure the HTTP request pipeline. + +app.UseHttpsRedirection(); + +app.UseAuthorization(); + +app.MapControllers(); + +app.Run(); \ No newline at end of file diff --git a/source/ticket-api/Properties/launchSettings.json b/source/ticketAPI/api/Properties/launchSettings.json similarity index 80% rename from source/ticket-api/Properties/launchSettings.json rename to source/ticketAPI/api/Properties/launchSettings.json index a3258f4..3909867 100644 --- a/source/ticket-api/Properties/launchSettings.json +++ b/source/ticketAPI/api/Properties/launchSettings.json @@ -5,7 +5,7 @@ "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": false, - "applicationUrl": "http://localhost:5118", + "applicationUrl": "http://localhost:5168", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } @@ -14,7 +14,7 @@ "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": false, - "applicationUrl": "https://localhost:7060;http://localhost:5118", + "applicationUrl": "https://localhost:7252;http://localhost:5168", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/source/ticketAPI/api/WeatherForecast.cs b/source/ticketAPI/api/WeatherForecast.cs new file mode 100644 index 0000000..c2faad5 --- /dev/null +++ b/source/ticketAPI/api/WeatherForecast.cs @@ -0,0 +1,12 @@ +namespace api; + +public class WeatherForecast +{ + public DateOnly Date { get; set; } + + public int TemperatureC { get; set; } + + public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); + + public string? Summary { get; set; } +} \ No newline at end of file diff --git a/source/ticketAPI/api/api.csproj b/source/ticketAPI/api/api.csproj new file mode 100644 index 0000000..5a25aeb --- /dev/null +++ b/source/ticketAPI/api/api.csproj @@ -0,0 +1,9 @@ + + + + net9.0 + enable + enable + + + diff --git a/source/ticketAPI/api/api.http b/source/ticketAPI/api/api.http new file mode 100644 index 0000000..fcb8e35 --- /dev/null +++ b/source/ticketAPI/api/api.http @@ -0,0 +1,6 @@ +@api_HostAddress = http://localhost:5168 + +GET {{api_HostAddress}}/weatherforecast/ +Accept: application/json + +### diff --git a/source/ticket-api/appsettings.Development.json b/source/ticketAPI/api/appsettings.Development.json similarity index 100% rename from source/ticket-api/appsettings.Development.json rename to source/ticketAPI/api/appsettings.Development.json diff --git a/source/ticket-api/appsettings.json b/source/ticketAPI/api/appsettings.json similarity index 100% rename from source/ticket-api/appsettings.json rename to source/ticketAPI/api/appsettings.json diff --git a/source/ticketAPI/data/data.csproj b/source/ticketAPI/data/data.csproj new file mode 100644 index 0000000..17b910f --- /dev/null +++ b/source/ticketAPI/data/data.csproj @@ -0,0 +1,9 @@ + + + + net9.0 + enable + enable + + + diff --git a/source/ticketAPI/models/models.csproj b/source/ticketAPI/models/models.csproj new file mode 100644 index 0000000..17b910f --- /dev/null +++ b/source/ticketAPI/models/models.csproj @@ -0,0 +1,9 @@ + + + + net9.0 + enable + enable + + + diff --git a/source/ticketAPI/ticketAPI.sln b/source/ticketAPI/ticketAPI.sln new file mode 100644 index 0000000..eab13a7 --- /dev/null +++ b/source/ticketAPI/ticketAPI.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "api", "api\api.csproj", "{B6356579-0415-44D3-859C-523EAEC62CAE}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "models", "models\models.csproj", "{151732EB-34AB-4ADE-B795-18D53E81354F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "data", "data\data.csproj", "{BE208249-FBAF-43F9-AE23-916A480668D1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B6356579-0415-44D3-859C-523EAEC62CAE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B6356579-0415-44D3-859C-523EAEC62CAE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B6356579-0415-44D3-859C-523EAEC62CAE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B6356579-0415-44D3-859C-523EAEC62CAE}.Release|Any CPU.Build.0 = Release|Any CPU + {151732EB-34AB-4ADE-B795-18D53E81354F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {151732EB-34AB-4ADE-B795-18D53E81354F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {151732EB-34AB-4ADE-B795-18D53E81354F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {151732EB-34AB-4ADE-B795-18D53E81354F}.Release|Any CPU.Build.0 = Release|Any CPU + {BE208249-FBAF-43F9-AE23-916A480668D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BE208249-FBAF-43F9-AE23-916A480668D1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BE208249-FBAF-43F9-AE23-916A480668D1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BE208249-FBAF-43F9-AE23-916A480668D1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/source/ticket-ui/.editorconfig b/source/ticketUI/.editorconfig similarity index 100% rename from source/ticket-ui/.editorconfig rename to source/ticketUI/.editorconfig diff --git a/source/ticket-ui/.vscode/extensions.json b/source/ticketUI/.vscode/extensions.json similarity index 100% rename from source/ticket-ui/.vscode/extensions.json rename to source/ticketUI/.vscode/extensions.json diff --git a/source/ticket-ui/.vscode/launch.json b/source/ticketUI/.vscode/launch.json similarity index 100% rename from source/ticket-ui/.vscode/launch.json rename to source/ticketUI/.vscode/launch.json diff --git a/source/ticket-ui/.vscode/tasks.json b/source/ticketUI/.vscode/tasks.json similarity index 100% rename from source/ticket-ui/.vscode/tasks.json rename to source/ticketUI/.vscode/tasks.json diff --git a/source/ticket-ui/README.md b/source/ticketUI/README.md similarity index 99% rename from source/ticket-ui/README.md rename to source/ticketUI/README.md index b2d4eb3..2b4d74a 100644 --- a/source/ticket-ui/README.md +++ b/source/ticketUI/README.md @@ -1,4 +1,4 @@ -# TicketUi +# TicketUI This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.0.2. diff --git a/source/ticket-ui/angular.json b/source/ticketUI/angular.json similarity index 95% rename from source/ticket-ui/angular.json rename to source/ticketUI/angular.json index 5947e6e..6514799 100644 --- a/source/ticket-ui/angular.json +++ b/source/ticketUI/angular.json @@ -3,7 +3,7 @@ "version": 1, "newProjectRoot": "projects", "projects": { - "ticket-ui": { + "ticketUI": { "projectType": "application", "schematics": { "@schematics/angular:component": { @@ -64,10 +64,10 @@ "builder": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { - "buildTarget": "ticket-ui:build:production" + "buildTarget": "ticketUI:build:production" }, "development": { - "buildTarget": "ticket-ui:build:development" + "buildTarget": "ticketUI:build:development" } }, "defaultConfiguration": "development" diff --git a/source/ticket-ui/package.json b/source/ticketUI/package.json similarity index 100% rename from source/ticket-ui/package.json rename to source/ticketUI/package.json diff --git a/source/ticket-ui/public/favicon.ico b/source/ticketUI/public/favicon.ico similarity index 100% rename from source/ticket-ui/public/favicon.ico rename to source/ticketUI/public/favicon.ico diff --git a/source/ticket-ui/src/app/app.component.html b/source/ticketUI/src/app/app.component.html similarity index 100% rename from source/ticket-ui/src/app/app.component.html rename to source/ticketUI/src/app/app.component.html diff --git a/source/ticket-ui/src/app/app.component.scss b/source/ticketUI/src/app/app.component.scss similarity index 100% rename from source/ticket-ui/src/app/app.component.scss rename to source/ticketUI/src/app/app.component.scss diff --git a/source/ticket-ui/src/app/app.component.spec.ts b/source/ticketUI/src/app/app.component.spec.ts similarity index 87% rename from source/ticket-ui/src/app/app.component.spec.ts rename to source/ticketUI/src/app/app.component.spec.ts index aff48a0..ec9b684 100644 --- a/source/ticket-ui/src/app/app.component.spec.ts +++ b/source/ticketUI/src/app/app.component.spec.ts @@ -14,16 +14,16 @@ describe('AppComponent', () => { expect(app).toBeTruthy(); }); - it(`should have the 'ticket-ui' title`, () => { + it(`should have the 'ticketUI' title`, () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.componentInstance; - expect(app.title).toEqual('ticket-ui'); + expect(app.title).toEqual('ticketUI'); }); it('should render title', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); const compiled = fixture.nativeElement as HTMLElement; - expect(compiled.querySelector('h1')?.textContent).toContain('Hello, ticket-ui'); + expect(compiled.querySelector('h1')?.textContent).toContain('Hello, ticketUI'); }); }); diff --git a/source/ticket-ui/src/app/app.component.ts b/source/ticketUI/src/app/app.component.ts similarity index 91% rename from source/ticket-ui/src/app/app.component.ts rename to source/ticketUI/src/app/app.component.ts index 8897e7a..b8abe42 100644 --- a/source/ticket-ui/src/app/app.component.ts +++ b/source/ticketUI/src/app/app.component.ts @@ -8,5 +8,5 @@ import { RouterOutlet } from '@angular/router'; styleUrl: './app.component.scss' }) export class AppComponent { - title = 'ticket-ui'; + title = 'ticketUI'; } diff --git a/source/ticket-ui/src/app/app.config.ts b/source/ticketUI/src/app/app.config.ts similarity index 100% rename from source/ticket-ui/src/app/app.config.ts rename to source/ticketUI/src/app/app.config.ts diff --git a/source/ticket-ui/src/app/app.routes.ts b/source/ticketUI/src/app/app.routes.ts similarity index 100% rename from source/ticket-ui/src/app/app.routes.ts rename to source/ticketUI/src/app/app.routes.ts diff --git a/source/ticket-ui/src/index.html b/source/ticketUI/src/index.html similarity index 91% rename from source/ticket-ui/src/index.html rename to source/ticketUI/src/index.html index 9c5c11f..42af5ad 100644 --- a/source/ticket-ui/src/index.html +++ b/source/ticketUI/src/index.html @@ -2,7 +2,7 @@ - TicketUi + TicketUI diff --git a/source/ticket-ui/src/main.ts b/source/ticketUI/src/main.ts similarity index 100% rename from source/ticket-ui/src/main.ts rename to source/ticketUI/src/main.ts diff --git a/source/ticket-ui/src/styles.scss b/source/ticketUI/src/styles.scss similarity index 100% rename from source/ticket-ui/src/styles.scss rename to source/ticketUI/src/styles.scss diff --git a/source/ticket-ui/tsconfig.app.json b/source/ticketUI/tsconfig.app.json similarity index 100% rename from source/ticket-ui/tsconfig.app.json rename to source/ticketUI/tsconfig.app.json diff --git a/source/ticket-ui/tsconfig.json b/source/ticketUI/tsconfig.json similarity index 100% rename from source/ticket-ui/tsconfig.json rename to source/ticketUI/tsconfig.json diff --git a/source/ticket-ui/tsconfig.spec.json b/source/ticketUI/tsconfig.spec.json similarity index 100% rename from source/ticket-ui/tsconfig.spec.json rename to source/ticketUI/tsconfig.spec.json diff --git a/source/ticket-ui/yarn.lock b/source/ticketUI/yarn.lock similarity index 100% rename from source/ticket-ui/yarn.lock rename to source/ticketUI/yarn.lock