Initial Migration Done

This commit is contained in:
andrei-mihnea-cerbu
2024-04-04 16:28:11 +03:00
parent d43beb66b6
commit 041abb5900
130 changed files with 2274 additions and 146 deletions
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,24 @@
{ {
"Version": 1, "Version": 1,
"WorkspaceRootPath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\", "WorkspaceRootPath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\",
"Documents": [], "Documents": [
{
"AbsoluteMoniker": "D:0:0:{AE742B5B-E541-4355-AD47-F36DDFF5C42E}|API\\API.csproj|c:\\users\\andrei cerbu\\documents\\facultate\\cc-finalproj\\backend\\api\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}",
"RelativeMoniker": "D:0:0:{AE742B5B-E541-4355-AD47-F36DDFF5C42E}|API\\API.csproj|solutionrelative:api\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"
},
{
"AbsoluteMoniker": "D:0:0:{5E75761E-5C8B-488C-9C39-5D0E663258C5}|Infrastructure\\Infrastructure.csproj|c:\\users\\andrei cerbu\\documents\\facultate\\cc-finalproj\\backend\\infrastructure\\migrations\\healthcaremanagercontextmodelsnapshot.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{5E75761E-5C8B-488C-9C39-5D0E663258C5}|Infrastructure\\Infrastructure.csproj|solutionrelative:infrastructure\\migrations\\healthcaremanagercontextmodelsnapshot.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{5E75761E-5C8B-488C-9C39-5D0E663258C5}|Infrastructure\\Infrastructure.csproj|c:\\users\\andrei cerbu\\documents\\facultate\\cc-finalproj\\backend\\infrastructure\\designtimedbcontextfactory.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{5E75761E-5C8B-488C-9C39-5D0E663258C5}|Infrastructure\\Infrastructure.csproj|solutionrelative:infrastructure\\designtimedbcontextfactory.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{AE742B5B-E541-4355-AD47-F36DDFF5C42E}|API\\API.csproj|c:\\users\\andrei cerbu\\documents\\facultate\\cc-finalproj\\backend\\api\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{AE742B5B-E541-4355-AD47-F36DDFF5C42E}|API\\API.csproj|solutionrelative:api\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [ "DocumentGroupContainers": [
{ {
"Orientation": 0, "Orientation": 0,
@@ -9,11 +26,63 @@
"DocumentGroups": [ "DocumentGroups": [
{ {
"DockedWidth": 200, "DockedWidth": 200,
"SelectedChildIndex": -1, "SelectedChildIndex": 1,
"Children": [ "Children": [
{ {
"$type": "Bookmark", "$type": "Bookmark",
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}" "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "appsettings.json",
"DocumentMoniker": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\appsettings.json",
"RelativeDocumentMoniker": "API\\appsettings.json",
"ToolTip": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\appsettings.json",
"RelativeToolTip": "API\\appsettings.json",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAEAAAAOAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|",
"WhenOpened": "2024-04-04T13:17:34.971Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "HealthcareManagerContextModelSnapshot.cs",
"DocumentMoniker": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Infrastructure\\Migrations\\HealthcareManagerContextModelSnapshot.cs",
"RelativeDocumentMoniker": "Infrastructure\\Migrations\\HealthcareManagerContextModelSnapshot.cs",
"ToolTip": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Infrastructure\\Migrations\\HealthcareManagerContextModelSnapshot.cs",
"RelativeToolTip": "Infrastructure\\Migrations\\HealthcareManagerContextModelSnapshot.cs",
"ViewState": "AQIAABkAAAAAAAAAAAAQwCYAAAAAAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-04-04T13:17:14.791Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "Program.cs",
"DocumentMoniker": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\Program.cs",
"RelativeDocumentMoniker": "API\\Program.cs",
"ToolTip": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\Program.cs",
"RelativeToolTip": "API\\Program.cs",
"ViewState": "AQIAABkAAAAAAAAAAAAAACEAAAAAAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-04-04T13:04:43.995Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "DesignTimeDbContextFactory.cs",
"DocumentMoniker": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Infrastructure\\DesignTimeDbContextFactory.cs",
"RelativeDocumentMoniker": "Infrastructure\\DesignTimeDbContextFactory.cs",
"ToolTip": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\Infrastructure\\DesignTimeDbContextFactory.cs",
"RelativeToolTip": "Infrastructure\\DesignTimeDbContextFactory.cs",
"ViewState": "AQIAAAgAAAAAAAAAAAAAwBkAAAAJAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-04-04T13:04:09.702Z",
"EditorCaption": ""
} }
] ]
} }
+1 -1
View File
@@ -7,7 +7,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
+19
View File
@@ -1,4 +1,7 @@
using Infrastructure; using Infrastructure;
using Infrastructure.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
var builder = WebApplication.CreateBuilder(args); var builder = WebApplication.CreateBuilder(args);
@@ -22,4 +25,20 @@ app.UseAuthorization();
app.MapControllers(); app.MapControllers();
using (var scope = app.Services.CreateScope())
{
var services = scope.ServiceProvider;
var dbContext = services.GetRequiredService<HealthcareManagerContext>(); // Directly resolving your DbContext
EnsureDatabaseCreated(dbContext);
}
app.Run(); app.Run();
static void EnsureDatabaseCreated(HealthcareManagerContext dbContext)
{
// Checking for pending migrations is more efficient than applying migrations unconditionally
if (dbContext.Database.GetPendingMigrations().Any())
{
dbContext.Database.Migrate();
}
}
+1 -1
View File
@@ -6,7 +6,7 @@
} }
}, },
"ConnectionStrings": { "ConnectionStrings": {
"DefaultConnection": "YourConnectionStringHere" "HealthcareManagerDatabase": "Host=surus.db.elephantsql.com;Database=newbwuyu;Username=newbwuyu;Password=0end9Ixqo9PeTE4HVslX7_FVwruEhFf-;"
}, },
"AllowedHosts": "*" "AllowedHosts": "*"
} }
+465
View File
@@ -0,0 +1,465 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"API/1.0.0": {
"dependencies": {
"Application": "1.0.0",
"Infrastructure": "1.0.0",
"Swashbuckle.AspNetCore": "6.4.0"
},
"runtime": {
"API.dll": {}
}
},
"Microsoft.EntityFrameworkCore/8.0.0": {
"dependencies": {
"Microsoft.EntityFrameworkCore.Abstractions": "8.0.0",
"Microsoft.EntityFrameworkCore.Analyzers": "8.0.0",
"Microsoft.Extensions.Caching.Memory": "8.0.0",
"Microsoft.Extensions.Logging": "8.0.0"
},
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.dll": {
"assemblyVersion": "8.0.0.0",
"fileVersion": "8.0.23.53103"
}
}
},
"Microsoft.EntityFrameworkCore.Abstractions/8.0.0": {
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll": {
"assemblyVersion": "8.0.0.0",
"fileVersion": "8.0.23.53103"
}
}
},
"Microsoft.EntityFrameworkCore.Analyzers/8.0.0": {},
"Microsoft.EntityFrameworkCore.Relational/8.0.0": {
"dependencies": {
"Microsoft.EntityFrameworkCore": "8.0.0",
"Microsoft.Extensions.Configuration.Abstractions": "8.0.0"
},
"runtime": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Relational.dll": {
"assemblyVersion": "8.0.0.0",
"fileVersion": "8.0.23.53103"
}
}
},
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {},
"Microsoft.Extensions.Caching.Abstractions/8.0.0": {
"dependencies": {
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.Caching.Memory/8.0.0": {
"dependencies": {
"Microsoft.Extensions.Caching.Abstractions": "8.0.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0",
"Microsoft.Extensions.Logging.Abstractions": "8.0.0",
"Microsoft.Extensions.Options": "8.0.0",
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.Configuration/8.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "8.0.0",
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.Configuration.Abstractions/8.0.0": {
"dependencies": {
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.Configuration.FileExtensions/8.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration": "8.0.0",
"Microsoft.Extensions.Configuration.Abstractions": "8.0.0",
"Microsoft.Extensions.FileProviders.Abstractions": "8.0.0",
"Microsoft.Extensions.FileProviders.Physical": "8.0.0",
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.Configuration.Json/8.0.0": {
"dependencies": {
"Microsoft.Extensions.Configuration": "8.0.0",
"Microsoft.Extensions.Configuration.Abstractions": "8.0.0",
"Microsoft.Extensions.Configuration.FileExtensions": "8.0.0",
"Microsoft.Extensions.FileProviders.Abstractions": "8.0.0",
"System.Text.Json": "8.0.0"
}
},
"Microsoft.Extensions.DependencyInjection/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {},
"Microsoft.Extensions.FileProviders.Abstractions/8.0.0": {
"dependencies": {
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.FileProviders.Physical/8.0.0": {
"dependencies": {
"Microsoft.Extensions.FileProviders.Abstractions": "8.0.0",
"Microsoft.Extensions.FileSystemGlobbing": "8.0.0",
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.FileSystemGlobbing/8.0.0": {},
"Microsoft.Extensions.Logging/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "8.0.0",
"Microsoft.Extensions.Logging.Abstractions": "8.0.0",
"Microsoft.Extensions.Options": "8.0.0"
}
},
"Microsoft.Extensions.Logging.Abstractions/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
}
},
"Microsoft.Extensions.Options/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0",
"Microsoft.Extensions.Primitives": "8.0.0"
}
},
"Microsoft.Extensions.Primitives/8.0.0": {},
"Microsoft.OpenApi/1.2.3": {
"runtime": {
"lib/netstandard2.0/Microsoft.OpenApi.dll": {
"assemblyVersion": "1.2.3.0",
"fileVersion": "1.2.3.0"
}
}
},
"Npgsql/8.0.0": {
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "8.0.0"
},
"runtime": {
"lib/net8.0/Npgsql.dll": {
"assemblyVersion": "8.0.0.0",
"fileVersion": "8.0.0.0"
}
}
},
"Npgsql.EntityFrameworkCore.PostgreSQL/8.0.0": {
"dependencies": {
"Microsoft.EntityFrameworkCore": "8.0.0",
"Microsoft.EntityFrameworkCore.Abstractions": "8.0.0",
"Microsoft.EntityFrameworkCore.Relational": "8.0.0",
"Npgsql": "8.0.0"
},
"runtime": {
"lib/net8.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll": {
"assemblyVersion": "8.0.0.0",
"fileVersion": "8.0.0.0"
}
}
},
"Swashbuckle.AspNetCore/6.4.0": {
"dependencies": {
"Microsoft.Extensions.ApiDescription.Server": "6.0.5",
"Swashbuckle.AspNetCore.Swagger": "6.4.0",
"Swashbuckle.AspNetCore.SwaggerGen": "6.4.0",
"Swashbuckle.AspNetCore.SwaggerUI": "6.4.0"
}
},
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
"dependencies": {
"Microsoft.OpenApi": "1.2.3"
},
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
},
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
"dependencies": {
"Swashbuckle.AspNetCore.Swagger": "6.4.0"
},
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
},
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
"runtime": {
"lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": {
"assemblyVersion": "6.4.0.0",
"fileVersion": "6.4.0.0"
}
}
},
"System.Text.Encodings.Web/8.0.0": {},
"System.Text.Json/8.0.0": {
"dependencies": {
"System.Text.Encodings.Web": "8.0.0"
}
},
"Application/1.0.0": {
"dependencies": {
"Core": "1.0.0"
},
"runtime": {
"Application.dll": {}
}
},
"Core/1.0.0": {
"runtime": {
"Core.dll": {}
}
},
"Infrastructure/1.0.0": {
"dependencies": {
"Application": "1.0.0",
"Core": "1.0.0",
"Microsoft.Extensions.Configuration": "8.0.0",
"Microsoft.Extensions.Configuration.Json": "8.0.0",
"Npgsql.EntityFrameworkCore.PostgreSQL": "8.0.0"
},
"runtime": {
"Infrastructure.dll": {}
}
}
}
},
"libraries": {
"API/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.EntityFrameworkCore/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-SoODat83pGQUpWB9xULdMX6tuKpq/RTXDuJ2WeC1ldUKcKzLkaFJD1n+I0nOLY58odez/e7z8b6zdp235G/kyg==",
"path": "microsoft.entityframeworkcore/8.0.0",
"hashPath": "microsoft.entityframeworkcore.8.0.0.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VR22s3+zoqlVI7xauFKn1znSIFHO8xuILT+noSwS8bZCKcHz0ydkTDQMuaxSa5WBaQrZmwtTz9rmRvJ7X8mSPQ==",
"path": "microsoft.entityframeworkcore.abstractions/8.0.0",
"hashPath": "microsoft.entityframeworkcore.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.Analyzers/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ZXxEeLs2zoZ1TA+QoMMcw4f3Tirf8PzgdDax8RoWo0dxI2KmqiEGWYjhm2B/XyWfglc6+mNRyB8rZiQSmxCpeg==",
"path": "microsoft.entityframeworkcore.analyzers/8.0.0",
"hashPath": "microsoft.entityframeworkcore.analyzers.8.0.0.nupkg.sha512"
},
"Microsoft.EntityFrameworkCore.Relational/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-fFKkr24cYc7Zw5T6DC4tEyOEPgPbq23BBmym1r9kn4ET9F3HKaetpOeQtV2RryYyUxEeNkJuxgfiZHTisqZc+A==",
"path": "microsoft.entityframeworkcore.relational/8.0.0",
"hashPath": "microsoft.entityframeworkcore.relational.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.ApiDescription.Server/6.0.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Ckb5EDBUNJdFWyajfXzUIMRkhf52fHZOQuuZg/oiu8y7zDCVwD0iHhew6MnThjHmevanpxL3f5ci2TtHQEN6bw==",
"path": "microsoft.extensions.apidescription.server/6.0.5",
"hashPath": "microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512"
},
"Microsoft.Extensions.Caching.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3KuSxeHoNYdxVYfg2IRZCThcrlJ1XJqIXkAWikCsbm5C/bCjv7G0WoKDyuR98Q+T607QT2Zl5GsbGRkENcV2yQ==",
"path": "microsoft.extensions.caching.abstractions/8.0.0",
"hashPath": "microsoft.extensions.caching.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Caching.Memory/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-7pqivmrZDzo1ADPkRwjy+8jtRKWRCPag9qPI+p7sgu7Q4QreWhcvbiWXsbhP+yY8XSiDvZpu2/LWdBv7PnmOpQ==",
"path": "microsoft.extensions.caching.memory/8.0.0",
"hashPath": "microsoft.extensions.caching.memory.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-0J/9YNXTMWSZP2p2+nvl8p71zpSwokZXZuJW+VjdErkegAnFdO1XlqtA62SJtgVYHdKu3uPxJHcMR/r35HwFBA==",
"path": "microsoft.extensions.configuration/8.0.0",
"hashPath": "microsoft.extensions.configuration.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-3lE/iLSutpgX1CC0NOW70FJoGARRHbyKmG7dc0klnUZ9Dd9hS6N/POPWhKhMLCEuNN5nXEY5agmlFtH562vqhQ==",
"path": "microsoft.extensions.configuration.abstractions/8.0.0",
"hashPath": "microsoft.extensions.configuration.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.FileExtensions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-McP+Lz/EKwvtCv48z0YImw+L1gi1gy5rHhNaNIY2CrjloV+XY8gydT8DjMR6zWeL13AFK+DioVpppwAuO1Gi1w==",
"path": "microsoft.extensions.configuration.fileextensions/8.0.0",
"hashPath": "microsoft.extensions.configuration.fileextensions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.Json/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-C2wqUoh9OmRL1akaCcKSTmRU8z0kckfImG7zLNI8uyi47Lp+zd5LWAD17waPQEqCz3ioWOCrFUo+JJuoeZLOBw==",
"path": "microsoft.extensions.configuration.json/8.0.0",
"hashPath": "microsoft.extensions.configuration.json.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-V8S3bsm50ig6JSyrbcJJ8bW2b9QLGouz+G1miK3UTaOWmMtFwNNNzUf4AleyDWUmTrWMLNnFSLEQtxmxgNQnNQ==",
"path": "microsoft.extensions.dependencyinjection/8.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==",
"path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.FileProviders.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ZbaMlhJlpisjuWbvXr4LdAst/1XxH3vZ6A0BsgTphZ2L4PGuxRLz7Jr/S7mkAAnOn78Vu0fKhEgNF5JO3zfjqQ==",
"path": "microsoft.extensions.fileproviders.abstractions/8.0.0",
"hashPath": "microsoft.extensions.fileproviders.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.FileProviders.Physical/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-UboiXxpPUpwulHvIAVE36Knq0VSHaAmfrFkegLyBZeaADuKezJ/AIXYAW8F5GBlGk/VaibN2k/Zn1ca8YAfVdA==",
"path": "microsoft.extensions.fileproviders.physical/8.0.0",
"hashPath": "microsoft.extensions.fileproviders.physical.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.FileSystemGlobbing/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-OK+670i7esqlQrPjdIKRbsyMCe9g5kSLpRRQGSr4Q58AOYEe/hCnfLZprh7viNisSUUQZmMrbbuDaIrP+V1ebQ==",
"path": "microsoft.extensions.filesystemglobbing/8.0.0",
"hashPath": "microsoft.extensions.filesystemglobbing.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-tvRkov9tAJ3xP51LCv3FJ2zINmv1P8Hi8lhhtcKGqM+ImiTCC84uOPEI4z8Cdq2C3o9e+Aa0Gw0rmrsJD77W+w==",
"path": "microsoft.extensions.logging/8.0.0",
"hashPath": "microsoft.extensions.logging.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==",
"path": "microsoft.extensions.logging.abstractions/8.0.0",
"hashPath": "microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Options/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-JOVOfqpnqlVLUzINQ2fox8evY2SKLYJ3BV8QDe/Jyp21u1T7r45x/R/5QdteURMR5r01GxeJSBBUOCOyaNXA3g==",
"path": "microsoft.extensions.options/8.0.0",
"hashPath": "microsoft.extensions.options.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-bXJEZrW9ny8vjMF1JV253WeLhpEVzFo1lyaZu1vQ4ZxWUlVvknZ/+ftFgVheLubb4eZPSwwxBeqS1JkCOjxd8g==",
"path": "microsoft.extensions.primitives/8.0.0",
"hashPath": "microsoft.extensions.primitives.8.0.0.nupkg.sha512"
},
"Microsoft.OpenApi/1.2.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==",
"path": "microsoft.openapi/1.2.3",
"hashPath": "microsoft.openapi.1.2.3.nupkg.sha512"
},
"Npgsql/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Qiz74U+O7Mv4knrsXgKVYGJjgwoziK+aMFZqz7PtKR3vyGIhZA0tnW6HoUnL3X+YqtmVuhmoKkN8LDWEHMxPbw==",
"path": "npgsql/8.0.0",
"hashPath": "npgsql.8.0.0.nupkg.sha512"
},
"Npgsql.EntityFrameworkCore.PostgreSQL/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-GDXiMS9peEdjSCU/rfgyHruio7q6tYuywGaktqEi6UPQ6ILechp3fVVX+dHXkIXt4nklCBzYVWkzFrSL9ubKUA==",
"path": "npgsql.entityframeworkcore.postgresql/8.0.0",
"hashPath": "npgsql.entityframeworkcore.postgresql.8.0.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eUBr4TW0up6oKDA5Xwkul289uqSMgY0xGN4pnbOIBqCcN9VKGGaPvHX3vWaG/hvocfGDP+MGzMA0bBBKz2fkmQ==",
"path": "swashbuckle.aspnetcore/6.4.0",
"hashPath": "swashbuckle.aspnetcore.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.Swagger/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-nl4SBgGM+cmthUcpwO/w1lUjevdDHAqRvfUoe4Xp/Uvuzt9mzGUwyFCqa3ODBAcZYBiFoKvrYwz0rabslJvSmQ==",
"path": "swashbuckle.aspnetcore.swagger/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.SwaggerGen/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lXhcUBVqKrPFAQF7e/ZeDfb5PMgE8n5t6L5B6/BQSpiwxgHzmBcx8Msu42zLYFTvR5PIqE9Q9lZvSQAcwCxJjw==",
"path": "swashbuckle.aspnetcore.swaggergen/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512"
},
"Swashbuckle.AspNetCore.SwaggerUI/6.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-1Hh3atb3pi8c+v7n4/3N80Jj8RvLOXgWxzix6w3OZhB7zBGRwsy7FWr4e3hwgPweSBpwfElqj4V4nkjYabH9nQ==",
"path": "swashbuckle.aspnetcore.swaggerui/6.4.0",
"hashPath": "swashbuckle.aspnetcore.swaggerui.6.4.0.nupkg.sha512"
},
"System.Text.Encodings.Web/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==",
"path": "system.text.encodings.web/8.0.0",
"hashPath": "system.text.encodings.web.8.0.0.nupkg.sha512"
},
"System.Text.Json/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-OdrZO2WjkiEG6ajEFRABTRCi/wuXQPxeV6g8xvUJqdxMvvuCCEk86zPla8UiIQJz3durtUEbNyY/3lIhS0yZvQ==",
"path": "system.text.json/8.0.0",
"hashPath": "system.text.json.8.0.0.nupkg.sha512"
},
"Application/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Core/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Infrastructure/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,20 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "8.0.0"
}
],
"configProperties": {
"System.GC.Server": true,
"System.Reflection.NullabilityInfoContext.IsSupported": true,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}
@@ -0,0 +1,12 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"ConnectionStrings": {
"HealthcareManagerDatabase": "postgres://newbwuyu:0end9Ixqo9PeTE4HVslX7_FVwruEhFf-@surus.db.elephantsql.com/newbwuyu"
},
"AllowedHosts": "*"
}
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="GetEFProjectMetadata">
<MSBuild Condition=" '$(TargetFramework)' == '' "
Projects="$(MSBuildProjectFile)"
Targets="GetEFProjectMetadata"
Properties="TargetFramework=$(TargetFrameworks.Split(';')[0]);EFProjectMetadataFile=$(EFProjectMetadataFile)" />
<ItemGroup Condition=" '$(TargetFramework)' != '' ">
<EFProjectMetadata Include="AssemblyName: $(AssemblyName)" />
<EFProjectMetadata Include="Language: $(Language)" />
<EFProjectMetadata Include="OutputPath: $(OutputPath)" />
<EFProjectMetadata Include="Platform: $(Platform)" />
<EFProjectMetadata Include="PlatformTarget: $(PlatformTarget)" />
<EFProjectMetadata Include="ProjectAssetsFile: $(ProjectAssetsFile)" />
<EFProjectMetadata Include="ProjectDir: $(ProjectDir)" />
<EFProjectMetadata Include="RootNamespace: $(RootNamespace)" />
<EFProjectMetadata Include="RuntimeFrameworkVersion: $(RuntimeFrameworkVersion)" />
<EFProjectMetadata Include="TargetFileName: $(TargetFileName)" />
<EFProjectMetadata Include="TargetFrameworkMoniker: $(TargetFrameworkMoniker)" />
<EFProjectMetadata Include="Nullable: $(Nullable)" />
<EFProjectMetadata Include="TargetFramework: $(TargetFramework)" />
<EFProjectMetadata Include="TargetPlatformIdentifier: $(TargetPlatformIdentifier)" />
</ItemGroup>
<WriteLinesToFile Condition=" '$(TargetFramework)' != '' "
File="$(EFProjectMetadataFile)"
Lines="@(EFProjectMetadata)" />
</Target>
</Project>
+2 -6
View File
@@ -252,15 +252,11 @@
"net8.0": { "net8.0": {
"targetAlias": "net8.0", "targetAlias": "net8.0",
"dependencies": { "dependencies": {
"Microsoft.EntityFrameworkCore": {
"target": "Package",
"version": "[8.0.3, )"
},
"Microsoft.EntityFrameworkCore.Design": { "Microsoft.EntityFrameworkCore.Design": {
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive", "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
"suppressParent": "All", "suppressParent": "All",
"target": "Package", "target": "Package",
"version": "[8.0.3, )" "version": "[8.0.0, )"
}, },
"Microsoft.Extensions.Configuration": { "Microsoft.Extensions.Configuration": {
"target": "Package", "target": "Package",
@@ -272,7 +268,7 @@
}, },
"Npgsql.EntityFrameworkCore.PostgreSQL": { "Npgsql.EntityFrameworkCore.PostgreSQL": {
"target": "Package", "target": "Package",
"version": "[8.0.2, )" "version": "[8.0.0, )"
} }
}, },
"imports": [ "imports": [
+2 -2
View File
@@ -7,7 +7,7 @@
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Andrei Cerbu\.nuget\packages\</NuGetPackageFolders> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Andrei Cerbu\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.2</NuGetToolVersion> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.1</NuGetToolVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Andrei Cerbu\.nuget\packages\" /> <SourceRoot Include="C:\Users\Andrei Cerbu\.nuget\packages\" />
@@ -15,7 +15,7 @@
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.props" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.props')" /> <Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.props" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.props')" />
<Import Project="$(NuGetPackageRoot)swashbuckle.aspnetcore\6.4.0\build\Swashbuckle.AspNetCore.props" Condition="Exists('$(NuGetPackageRoot)swashbuckle.aspnetcore\6.4.0\build\Swashbuckle.AspNetCore.props')" /> <Import Project="$(NuGetPackageRoot)swashbuckle.aspnetcore\6.4.0\build\Swashbuckle.AspNetCore.props" Condition="Exists('$(NuGetPackageRoot)swashbuckle.aspnetcore\6.4.0\build\Swashbuckle.AspNetCore.props')" />
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore\8.0.3\buildTransitive\net8.0\Microsoft.EntityFrameworkCore.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore\8.0.3\buildTransitive\net8.0\Microsoft.EntityFrameworkCore.props')" /> <Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore\8.0.0\buildTransitive\net8.0\Microsoft.EntityFrameworkCore.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore\8.0.0\buildTransitive\net8.0\Microsoft.EntityFrameworkCore.props')" />
</ImportGroup> </ImportGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgMicrosoft_Extensions_ApiDescription_Server Condition=" '$(PkgMicrosoft_Extensions_ApiDescription_Server)' == '' ">C:\Users\Andrei Cerbu\.nuget\packages\microsoft.extensions.apidescription.server\6.0.5</PkgMicrosoft_Extensions_ApiDescription_Server> <PkgMicrosoft_Extensions_ApiDescription_Server Condition=" '$(PkgMicrosoft_Extensions_ApiDescription_Server)' == '' ">C:\Users\Andrei Cerbu\.nuget\packages\microsoft.extensions.apidescription.server\6.0.5</PkgMicrosoft_Extensions_ApiDescription_Server>
@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("API")] [assembly: System.Reflection.AssemblyCompanyAttribute("API")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4d0636f011171218e71de7958068580084af2dc2")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d43beb66b67a99dec457a2e0acdb5704c47f5a6a")]
[assembly: System.Reflection.AssemblyProductAttribute("API")] [assembly: System.Reflection.AssemblyProductAttribute("API")]
[assembly: System.Reflection.AssemblyTitleAttribute("API")] [assembly: System.Reflection.AssemblyTitleAttribute("API")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
48c41b3d7c79e749295d9ee1bb012a5727404bb4fab6cddf6f309df74c7d8f6e 1af46d652a8f19d4b84ffd2901bd6edcf2c105b410a76d1b5ff5054f2caeb363
@@ -0,0 +1,16 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Swashbuckle.AspNetCore.SwaggerGen")]
// Generated by the MSBuild WriteCodeFragment class.
Binary file not shown.
@@ -0,0 +1 @@
2981b4d3cbd86fe49a9730454697ba281d3abaaa2da237625d83bb45420669d4
@@ -0,0 +1,44 @@
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\appsettings.Development.json
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\appsettings.json
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\API.exe
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\API.deps.json
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\API.runtimeconfig.json
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\API.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\API.pdb
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Microsoft.EntityFrameworkCore.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Microsoft.EntityFrameworkCore.Abstractions.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Microsoft.EntityFrameworkCore.Relational.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Microsoft.OpenApi.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Npgsql.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Npgsql.EntityFrameworkCore.PostgreSQL.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Swashbuckle.AspNetCore.Swagger.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Swashbuckle.AspNetCore.SwaggerGen.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Swashbuckle.AspNetCore.SwaggerUI.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Application.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Core.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Infrastructure.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Application.pdb
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Infrastructure.pdb
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\bin\Debug\net8.0\Core.pdb
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.csproj.AssemblyReference.cache
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.AssemblyInfoInputs.cache
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.AssemblyInfo.cs
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.csproj.CoreCompileInputs.cache
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.MvcApplicationPartsAssemblyInfo.cs
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.MvcApplicationPartsAssemblyInfo.cache
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.sourcelink.json
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\staticwebassets.build.json
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\staticwebassets.development.json
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\staticwebassets\msbuild.API.Microsoft.AspNetCore.StaticWebAssets.props
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\staticwebassets\msbuild.build.API.props
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\staticwebassets\msbuild.buildMultiTargeting.API.props
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\staticwebassets\msbuild.buildTransitive.API.props
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\staticwebassets.pack.json
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\scopedcss\bundle\API.styles.css
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.csproj.Up2Date
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\refint\API.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.pdb
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\API.genruntimeconfig.cache
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\API\obj\Debug\net8.0\ref\API.dll
Binary file not shown.
@@ -0,0 +1 @@
cf7697bb57c8ed401672a12b2bb138875f61be594e170984d2a891dbe0535240
Binary file not shown.
@@ -0,0 +1 @@
{"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/d43beb66b67a99dec457a2e0acdb5704c47f5a6a/*"}}
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
{
"Version": 1,
"Hash": "bUm1vPqwZHJejLhtNIB7WgmMI8ngxypkYrDApg4MvgQ=",
"Source": "API",
"BasePath": "_content/API",
"Mode": "Default",
"ManifestType": "Build",
"ReferencedProjectsConfiguration": [],
"DiscoveryPatterns": [],
"Assets": []
}
@@ -0,0 +1,3 @@
<Project>
<Import Project="Microsoft.AspNetCore.StaticWebAssets.props" />
</Project>
@@ -0,0 +1,3 @@
<Project>
<Import Project="..\build\API.props" />
</Project>
@@ -0,0 +1,3 @@
<Project>
<Import Project="..\buildMultiTargeting\API.props" />
</Project>
+38 -42
View File
@@ -2,11 +2,11 @@
"version": 3, "version": 3,
"targets": { "targets": {
"net8.0": { "net8.0": {
"Microsoft.EntityFrameworkCore/8.0.3": { "Microsoft.EntityFrameworkCore/8.0.0": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
"Microsoft.EntityFrameworkCore.Abstractions": "8.0.3", "Microsoft.EntityFrameworkCore.Abstractions": "8.0.0",
"Microsoft.EntityFrameworkCore.Analyzers": "8.0.3", "Microsoft.EntityFrameworkCore.Analyzers": "8.0.0",
"Microsoft.Extensions.Caching.Memory": "8.0.0", "Microsoft.Extensions.Caching.Memory": "8.0.0",
"Microsoft.Extensions.Logging": "8.0.0" "Microsoft.Extensions.Logging": "8.0.0"
}, },
@@ -24,7 +24,7 @@
"buildTransitive/net8.0/Microsoft.EntityFrameworkCore.props": {} "buildTransitive/net8.0/Microsoft.EntityFrameworkCore.props": {}
} }
}, },
"Microsoft.EntityFrameworkCore.Abstractions/8.0.3": { "Microsoft.EntityFrameworkCore.Abstractions/8.0.0": {
"type": "package", "type": "package",
"compile": { "compile": {
"lib/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll": { "lib/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll": {
@@ -37,7 +37,7 @@
} }
} }
}, },
"Microsoft.EntityFrameworkCore.Analyzers/8.0.3": { "Microsoft.EntityFrameworkCore.Analyzers/8.0.0": {
"type": "package", "type": "package",
"compile": { "compile": {
"lib/netstandard2.0/_._": {} "lib/netstandard2.0/_._": {}
@@ -46,10 +46,10 @@
"lib/netstandard2.0/_._": {} "lib/netstandard2.0/_._": {}
} }
}, },
"Microsoft.EntityFrameworkCore.Relational/8.0.2": { "Microsoft.EntityFrameworkCore.Relational/8.0.0": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
"Microsoft.EntityFrameworkCore": "8.0.2", "Microsoft.EntityFrameworkCore": "8.0.0",
"Microsoft.Extensions.Configuration.Abstractions": "8.0.0" "Microsoft.Extensions.Configuration.Abstractions": "8.0.0"
}, },
"compile": { "compile": {
@@ -381,7 +381,7 @@
} }
} }
}, },
"Npgsql/8.0.2": { "Npgsql/8.0.0": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "8.0.0" "Microsoft.Extensions.Logging.Abstractions": "8.0.0"
@@ -397,13 +397,13 @@
} }
} }
}, },
"Npgsql.EntityFrameworkCore.PostgreSQL/8.0.2": { "Npgsql.EntityFrameworkCore.PostgreSQL/8.0.0": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
"Microsoft.EntityFrameworkCore": "8.0.2", "Microsoft.EntityFrameworkCore": "8.0.0",
"Microsoft.EntityFrameworkCore.Abstractions": "8.0.2", "Microsoft.EntityFrameworkCore.Abstractions": "8.0.0",
"Microsoft.EntityFrameworkCore.Relational": "8.0.2", "Microsoft.EntityFrameworkCore.Relational": "8.0.0",
"Npgsql": "8.0.2" "Npgsql": "8.0.0"
}, },
"compile": { "compile": {
"lib/net8.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll": { "lib/net8.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll": {
@@ -549,10 +549,9 @@
"dependencies": { "dependencies": {
"Application": "1.0.0", "Application": "1.0.0",
"Core": "1.0.0", "Core": "1.0.0",
"Microsoft.EntityFrameworkCore": "8.0.3",
"Microsoft.Extensions.Configuration": "8.0.0", "Microsoft.Extensions.Configuration": "8.0.0",
"Microsoft.Extensions.Configuration.Json": "8.0.0", "Microsoft.Extensions.Configuration.Json": "8.0.0",
"Npgsql.EntityFrameworkCore.PostgreSQL": "8.0.2" "Npgsql.EntityFrameworkCore.PostgreSQL": "8.0.0"
}, },
"compile": { "compile": {
"bin/placeholder/Infrastructure.dll": {} "bin/placeholder/Infrastructure.dll": {}
@@ -564,63 +563,60 @@
} }
}, },
"libraries": { "libraries": {
"Microsoft.EntityFrameworkCore/8.0.3": { "Microsoft.EntityFrameworkCore/8.0.0": {
"sha512": "QUPQbeq4yCjgIL/6PzkhfwhljXmai3CNOsErWFJ/WJ1Z41V8+At0Bi4PT8/2pX25kPgf83g0CUKIZd0QbeKT4A==", "sha512": "SoODat83pGQUpWB9xULdMX6tuKpq/RTXDuJ2WeC1ldUKcKzLkaFJD1n+I0nOLY58odez/e7z8b6zdp235G/kyg==",
"type": "package", "type": "package",
"path": "microsoft.entityframeworkcore/8.0.3", "path": "microsoft.entityframeworkcore/8.0.0",
"files": [ "files": [
".nupkg.metadata", ".nupkg.metadata",
".signature.p7s", ".signature.p7s",
"Icon.png", "Icon.png",
"PACKAGE.md",
"buildTransitive/net8.0/Microsoft.EntityFrameworkCore.props", "buildTransitive/net8.0/Microsoft.EntityFrameworkCore.props",
"lib/net8.0/Microsoft.EntityFrameworkCore.dll", "lib/net8.0/Microsoft.EntityFrameworkCore.dll",
"lib/net8.0/Microsoft.EntityFrameworkCore.xml", "lib/net8.0/Microsoft.EntityFrameworkCore.xml",
"microsoft.entityframeworkcore.8.0.3.nupkg.sha512", "microsoft.entityframeworkcore.8.0.0.nupkg.sha512",
"microsoft.entityframeworkcore.nuspec" "microsoft.entityframeworkcore.nuspec"
] ]
}, },
"Microsoft.EntityFrameworkCore.Abstractions/8.0.3": { "Microsoft.EntityFrameworkCore.Abstractions/8.0.0": {
"sha512": "cW+SKdx34wZ25ZVKCpk/6+6z27wrZlQ1qXyx7UWpy34s9CyAojH0QiYlV/2owNOGSAH67rm+LxAjUOicsqlGzQ==", "sha512": "VR22s3+zoqlVI7xauFKn1znSIFHO8xuILT+noSwS8bZCKcHz0ydkTDQMuaxSa5WBaQrZmwtTz9rmRvJ7X8mSPQ==",
"type": "package", "type": "package",
"path": "microsoft.entityframeworkcore.abstractions/8.0.3", "path": "microsoft.entityframeworkcore.abstractions/8.0.0",
"files": [ "files": [
".nupkg.metadata", ".nupkg.metadata",
".signature.p7s", ".signature.p7s",
"Icon.png", "Icon.png",
"PACKAGE.md",
"lib/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll", "lib/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll",
"lib/net8.0/Microsoft.EntityFrameworkCore.Abstractions.xml", "lib/net8.0/Microsoft.EntityFrameworkCore.Abstractions.xml",
"microsoft.entityframeworkcore.abstractions.8.0.3.nupkg.sha512", "microsoft.entityframeworkcore.abstractions.8.0.0.nupkg.sha512",
"microsoft.entityframeworkcore.abstractions.nuspec" "microsoft.entityframeworkcore.abstractions.nuspec"
] ]
}, },
"Microsoft.EntityFrameworkCore.Analyzers/8.0.3": { "Microsoft.EntityFrameworkCore.Analyzers/8.0.0": {
"sha512": "3csRAzz5O5Gn+GQBMyLn26OICtEo2/U2iDDygQhKb3LnC78bAUvutkMqvb0Ek5A6uHrBcZQrKQJfkgfnRT5XZw==", "sha512": "ZXxEeLs2zoZ1TA+QoMMcw4f3Tirf8PzgdDax8RoWo0dxI2KmqiEGWYjhm2B/XyWfglc6+mNRyB8rZiQSmxCpeg==",
"type": "package", "type": "package",
"path": "microsoft.entityframeworkcore.analyzers/8.0.3", "path": "microsoft.entityframeworkcore.analyzers/8.0.0",
"files": [ "files": [
".nupkg.metadata", ".nupkg.metadata",
".signature.p7s", ".signature.p7s",
"Icon.png", "Icon.png",
"analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll", "analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll",
"docs/PACKAGE.md",
"lib/netstandard2.0/_._", "lib/netstandard2.0/_._",
"microsoft.entityframeworkcore.analyzers.8.0.3.nupkg.sha512", "microsoft.entityframeworkcore.analyzers.8.0.0.nupkg.sha512",
"microsoft.entityframeworkcore.analyzers.nuspec" "microsoft.entityframeworkcore.analyzers.nuspec"
] ]
}, },
"Microsoft.EntityFrameworkCore.Relational/8.0.2": { "Microsoft.EntityFrameworkCore.Relational/8.0.0": {
"sha512": "NoGfcq2OPw0z8XAPf74YFwGlTKjedWdsIEJqq4SvKcPjcu+B+/XDDNrDRxTvILfz4Ug8POSF49s1jz1JvUqTAg==", "sha512": "fFKkr24cYc7Zw5T6DC4tEyOEPgPbq23BBmym1r9kn4ET9F3HKaetpOeQtV2RryYyUxEeNkJuxgfiZHTisqZc+A==",
"type": "package", "type": "package",
"path": "microsoft.entityframeworkcore.relational/8.0.2", "path": "microsoft.entityframeworkcore.relational/8.0.0",
"files": [ "files": [
".nupkg.metadata", ".nupkg.metadata",
".signature.p7s", ".signature.p7s",
"Icon.png", "Icon.png",
"lib/net8.0/Microsoft.EntityFrameworkCore.Relational.dll", "lib/net8.0/Microsoft.EntityFrameworkCore.Relational.dll",
"lib/net8.0/Microsoft.EntityFrameworkCore.Relational.xml", "lib/net8.0/Microsoft.EntityFrameworkCore.Relational.xml",
"microsoft.entityframeworkcore.relational.8.0.2.nupkg.sha512", "microsoft.entityframeworkcore.relational.8.0.0.nupkg.sha512",
"microsoft.entityframeworkcore.relational.nuspec" "microsoft.entityframeworkcore.relational.nuspec"
] ]
}, },
@@ -1388,10 +1384,10 @@
"microsoft.openapi.nuspec" "microsoft.openapi.nuspec"
] ]
}, },
"Npgsql/8.0.2": { "Npgsql/8.0.0": {
"sha512": "MuJzLoWCaQhQAR3oh66YR0Ir6mxuezncGX3f8wxvAc21g0+9HICktJQlqMoODhxztZKXE5k9GxRxqUAN+vPb4g==", "sha512": "Qiz74U+O7Mv4knrsXgKVYGJjgwoziK+aMFZqz7PtKR3vyGIhZA0tnW6HoUnL3X+YqtmVuhmoKkN8LDWEHMxPbw==",
"type": "package", "type": "package",
"path": "npgsql/8.0.2", "path": "npgsql/8.0.0",
"files": [ "files": [
".nupkg.metadata", ".nupkg.metadata",
".signature.p7s", ".signature.p7s",
@@ -1406,22 +1402,22 @@
"lib/netstandard2.0/Npgsql.xml", "lib/netstandard2.0/Npgsql.xml",
"lib/netstandard2.1/Npgsql.dll", "lib/netstandard2.1/Npgsql.dll",
"lib/netstandard2.1/Npgsql.xml", "lib/netstandard2.1/Npgsql.xml",
"npgsql.8.0.2.nupkg.sha512", "npgsql.8.0.0.nupkg.sha512",
"npgsql.nuspec", "npgsql.nuspec",
"postgresql.png" "postgresql.png"
] ]
}, },
"Npgsql.EntityFrameworkCore.PostgreSQL/8.0.2": { "Npgsql.EntityFrameworkCore.PostgreSQL/8.0.0": {
"sha512": "eoZPynwkZTWFTgnocvXORuCL2yFZtscrUdqVhjxiRULpC7BMg9zhLM5oDZAU5PoX1PgN77hmkKE4a3PQiHqh7Q==", "sha512": "GDXiMS9peEdjSCU/rfgyHruio7q6tYuywGaktqEi6UPQ6ILechp3fVVX+dHXkIXt4nklCBzYVWkzFrSL9ubKUA==",
"type": "package", "type": "package",
"path": "npgsql.entityframeworkcore.postgresql/8.0.2", "path": "npgsql.entityframeworkcore.postgresql/8.0.0",
"files": [ "files": [
".nupkg.metadata", ".nupkg.metadata",
".signature.p7s", ".signature.p7s",
"README.md", "README.md",
"lib/net8.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll", "lib/net8.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll",
"lib/net8.0/Npgsql.EntityFrameworkCore.PostgreSQL.xml", "lib/net8.0/Npgsql.EntityFrameworkCore.PostgreSQL.xml",
"npgsql.entityframeworkcore.postgresql.8.0.2.nupkg.sha512", "npgsql.entityframeworkcore.postgresql.8.0.0.nupkg.sha512",
"npgsql.entityframeworkcore.postgresql.nuspec", "npgsql.entityframeworkcore.postgresql.nuspec",
"postgresql.png" "postgresql.png"
] ]
+7 -7
View File
@@ -1,13 +1,13 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "izFOfAOiKMzpzv6PzWIKYL5dikWrky/uoOmAP3vJBkmgcdfoJAiwXVUR3U6FSkgunEU4TY9TA5JNFXI2y36XMA==", "dgSpecHash": "htsCoS1jyVZF6ruH6RVHm5zESuWTVDG0dZQ/C3fB+TimAVamUVCCMBZsemvtPY6KfeU9nJjZ6fdFt3hqDpUE0Q==",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\API.csproj", "projectFilePath": "C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\backend\\API\\API.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.entityframeworkcore\\8.0.3\\microsoft.entityframeworkcore.8.0.3.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.entityframeworkcore\\8.0.0\\microsoft.entityframeworkcore.8.0.0.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\8.0.3\\microsoft.entityframeworkcore.abstractions.8.0.3.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\8.0.0\\microsoft.entityframeworkcore.abstractions.8.0.0.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\8.0.3\\microsoft.entityframeworkcore.analyzers.8.0.3.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\8.0.0\\microsoft.entityframeworkcore.analyzers.8.0.0.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\8.0.2\\microsoft.entityframeworkcore.relational.8.0.2.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\8.0.0\\microsoft.entityframeworkcore.relational.8.0.0.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.extensions.apidescription.server\\6.0.5\\microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.extensions.apidescription.server\\6.0.5\\microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\8.0.0\\microsoft.extensions.caching.abstractions.8.0.0.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\8.0.0\\microsoft.extensions.caching.abstractions.8.0.0.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.extensions.caching.memory\\8.0.0\\microsoft.extensions.caching.memory.8.0.0.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.extensions.caching.memory\\8.0.0\\microsoft.extensions.caching.memory.8.0.0.nupkg.sha512",
@@ -25,8 +25,8 @@
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.extensions.options\\8.0.0\\microsoft.extensions.options.8.0.0.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.extensions.options\\8.0.0\\microsoft.extensions.options.8.0.0.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.extensions.primitives\\8.0.0\\microsoft.extensions.primitives.8.0.0.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.extensions.primitives\\8.0.0\\microsoft.extensions.primitives.8.0.0.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.openapi\\1.2.3\\microsoft.openapi.1.2.3.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\microsoft.openapi\\1.2.3\\microsoft.openapi.1.2.3.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\npgsql\\8.0.2\\npgsql.8.0.2.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\npgsql\\8.0.0\\npgsql.8.0.0.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\npgsql.entityframeworkcore.postgresql\\8.0.2\\npgsql.entityframeworkcore.postgresql.8.0.2.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\npgsql.entityframeworkcore.postgresql\\8.0.0\\npgsql.entityframeworkcore.postgresql.8.0.0.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\swashbuckle.aspnetcore\\6.4.0\\swashbuckle.aspnetcore.6.4.0.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\swashbuckle.aspnetcore\\6.4.0\\swashbuckle.aspnetcore.6.4.0.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\swashbuckle.aspnetcore.swagger\\6.4.0\\swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\swashbuckle.aspnetcore.swagger\\6.4.0\\swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512",
"C:\\Users\\Andrei Cerbu\\.nuget\\packages\\swashbuckle.aspnetcore.swaggergen\\6.4.0\\swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512", "C:\\Users\\Andrei Cerbu\\.nuget\\packages\\swashbuckle.aspnetcore.swaggergen\\6.4.0\\swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512",
@@ -0,0 +1,36 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"Application/1.0.0": {
"dependencies": {
"Core": "1.0.0"
},
"runtime": {
"Application.dll": {}
}
},
"Core/1.0.0": {
"runtime": {
"Core.dll": {}
}
}
}
},
"libraries": {
"Application/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Core/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Application")] [assembly: System.Reflection.AssemblyCompanyAttribute("Application")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4d0636f011171218e71de7958068580084af2dc2")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d43beb66b67a99dec457a2e0acdb5704c47f5a6a")]
[assembly: System.Reflection.AssemblyProductAttribute("Application")] [assembly: System.Reflection.AssemblyProductAttribute("Application")]
[assembly: System.Reflection.AssemblyTitleAttribute("Application")] [assembly: System.Reflection.AssemblyTitleAttribute("Application")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
87f3b6c559b5fdaa4d19493cade523f5311e19ed811cead700fc5a75bbd42e11 4d154e7aad2e240c84297e35478d3ed4566e090ee8f8aa6c9b22e19e03d644bb
@@ -0,0 +1 @@
d3b4ceaf29cc311839282832a59c6038e5a24c4e29112b6cb11e0fe985bc5058
@@ -0,0 +1,16 @@
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Application.deps.json
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Application.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Application.pdb
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Core.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\bin\Debug\net8.0\Core.pdb
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.csproj.AssemblyReference.cache
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.AssemblyInfoInputs.cache
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.AssemblyInfo.cs
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.csproj.CoreCompileInputs.cache
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.sourcelink.json
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Applicat.44B5EDA2.Up2Date
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\refint\Application.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\Application.pdb
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Application\obj\Debug\net8.0\ref\Application.dll
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
{"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/d43beb66b67a99dec457a2e0acdb5704c47f5a6a/*"}}
@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"Core/1.0.0": {
"runtime": {
"Core.dll": {}
}
}
}
},
"libraries": {
"Core/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file not shown.
Binary file not shown.
@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Core")] [assembly: System.Reflection.AssemblyCompanyAttribute("Core")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4d0636f011171218e71de7958068580084af2dc2")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d43beb66b67a99dec457a2e0acdb5704c47f5a6a")]
[assembly: System.Reflection.AssemblyProductAttribute("Core")] [assembly: System.Reflection.AssemblyProductAttribute("Core")]
[assembly: System.Reflection.AssemblyTitleAttribute("Core")] [assembly: System.Reflection.AssemblyTitleAttribute("Core")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
758cda7c51543e4b356cf8d7faf5d4827735e8edc17139bc202ab9dd06b21507 3fa00ecae441a2fd7f1a2875085dc6855af078331aa97bb0948d6d98ed90314f
@@ -0,0 +1 @@
06a78368492f2fb59e2fe140e38ee58738b5a84f475e01135651c5a8b539a960
@@ -0,0 +1,12 @@
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Core\bin\Debug\net8.0\Core.deps.json
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Core\bin\Debug\net8.0\Core.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Core\bin\Debug\net8.0\Core.pdb
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Core\obj\Debug\net8.0\Core.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Core\obj\Debug\net8.0\Core.AssemblyInfoInputs.cache
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Core\obj\Debug\net8.0\Core.AssemblyInfo.cs
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Core\obj\Debug\net8.0\Core.csproj.CoreCompileInputs.cache
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Core\obj\Debug\net8.0\Core.sourcelink.json
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Core\obj\Debug\net8.0\Core.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Core\obj\Debug\net8.0\refint\Core.dll
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Core\obj\Debug\net8.0\Core.pdb
C:\Users\Andrei Cerbu\Documents\FACULTATE\CC-FinalProj\backend\Core\obj\Debug\net8.0\ref\Core.dll
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
{"documents":{"C:\\Users\\Andrei Cerbu\\Documents\\FACULTATE\\CC-FinalProj\\*":"https://raw.githubusercontent.com/andrei-mihnea-cerbu/CC-FinalProj/d43beb66b67a99dec457a2e0acdb5704c47f5a6a/*"}}
Binary file not shown.
Binary file not shown.
@@ -9,15 +9,18 @@ namespace Infrastructure.Data
{ {
public HealthcareManagerContext CreateDbContext(string[] args) public HealthcareManagerContext CreateDbContext(string[] args)
{ {
// Adjust the path to point to the API project directory
var basePath = Path.GetFullPath(Path.Combine(Directory.GetCurrentDirectory(), @"..\API"));
IConfigurationRoot configuration = new ConfigurationBuilder() IConfigurationRoot configuration = new ConfigurationBuilder()
.SetBasePath(Directory.GetCurrentDirectory()) .SetBasePath(basePath)
.AddJsonFile("appsettings.json") .AddJsonFile("appsettings.json")
.Build(); .Build();
var builder = new DbContextOptionsBuilder<HealthcareManagerContext>(); var builder = new DbContextOptionsBuilder<HealthcareManagerContext>();
var connectionString = configuration.GetConnectionString("HealthcareManagerDatabase"); var connectionString = configuration.GetConnectionString("HealthcareManagerDatabase");
builder.UseNpgsql(connectionString); builder.UseNpgsql(connectionString); // Make sure this matches your database provider
return new HealthcareManagerContext(builder.Options); return new HealthcareManagerContext(builder.Options);
} }
@@ -7,7 +7,6 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.3"> <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.3">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
@@ -0,0 +1,91 @@
// <auto-generated />
using System;
using Infrastructure.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
#nullable disable
namespace Infrastructure.Migrations
{
[DbContext(typeof(HealthcareManagerContext))]
[Migration("20240404131625_InitialCreate")]
partial class InitialCreate
{
/// <inheritdoc />
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "8.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
modelBuilder.Entity("Core.Entities.Doctor", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property<string>("Description")
.HasColumnType("text");
b.Property<string>("Email")
.HasColumnType("text");
b.Property<string>("Name")
.HasColumnType("text");
b.Property<string>("Password")
.HasColumnType("text");
b.HasKey("Id");
b.ToTable("Doctors");
});
modelBuilder.Entity("Core.Entities.MedicalHistory", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property<byte[]>("Description")
.IsRequired()
.HasColumnType("bytea");
b.Property<Guid>("UserId")
.HasColumnType("uuid");
b.HasKey("Id");
b.ToTable("MedicalHistories");
});
modelBuilder.Entity("Core.Entities.Pacient", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property<string>("Email")
.HasColumnType("text");
b.Property<string>("Name")
.HasColumnType("text");
b.Property<string>("Password")
.HasColumnType("text");
b.HasKey("Id");
b.ToTable("Pacients");
});
#pragma warning restore 612, 618
}
}
}
@@ -0,0 +1,70 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Infrastructure.Migrations
{
/// <inheritdoc />
public partial class InitialCreate : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Doctors",
columns: table => new
{
Id = table.Column<Guid>(type: "uuid", nullable: false),
Name = table.Column<string>(type: "text", nullable: true),
Email = table.Column<string>(type: "text", nullable: true),
Password = table.Column<string>(type: "text", nullable: true),
Description = table.Column<string>(type: "text", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Doctors", x => x.Id);
});
migrationBuilder.CreateTable(
name: "MedicalHistories",
columns: table => new
{
Id = table.Column<Guid>(type: "uuid", nullable: false),
UserId = table.Column<Guid>(type: "uuid", nullable: false),
Description = table.Column<byte[]>(type: "bytea", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_MedicalHistories", x => x.Id);
});
migrationBuilder.CreateTable(
name: "Pacients",
columns: table => new
{
Id = table.Column<Guid>(type: "uuid", nullable: false),
Name = table.Column<string>(type: "text", nullable: true),
Email = table.Column<string>(type: "text", nullable: true),
Password = table.Column<string>(type: "text", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Pacients", x => x.Id);
});
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Doctors");
migrationBuilder.DropTable(
name: "MedicalHistories");
migrationBuilder.DropTable(
name: "Pacients");
}
}
}

Some files were not shown because too many files have changed in this diff Show More