Skip to content

Commit 6a3205e

Browse files
authored
Merge pull request #14 from InvisibleSafe/initialize-project-structure-with-clean-architecture
Initialize Project Structure with Clean Architecture
2 parents df5a98d + 7aa121f commit 6a3205e

File tree

10 files changed

+155
-1
lines changed

10 files changed

+155
-1
lines changed

FitnessApp.sln

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PostService", "backend\PostService", "{84AE3F00-9A59-4A8D-A737-67AB74E5D1FD}"
3+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PostService", "PostService", "{84AE3F00-9A59-4A8D-A737-67AB74E5D1FD}"
44
ProjectSection(SolutionItems) = preProject
55
backend\src\PostService\Dockerfile = backend\src\PostService\Dockerfile
66
EndProjectSection
@@ -44,6 +44,18 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "solution-items", "solution-
4444
README.md = README.md
4545
EndProjectSection
4646
EndProject
47+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AuthService", "AuthService", "{C7DC7946-2C31-4266-BF89-17E15C5B5A63}"
48+
EndProject
49+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthService.Api", "backend\src\AuthService\AuthService.Api\AuthService.Api.csproj", "{2C4FD2EA-8768-4327-891A-ECAC671FE611}"
50+
EndProject
51+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthService.Application", "backend\src\AuthService\AuthService.Application\AuthService.Application.csproj", "{7A88C437-0789-477F-B1E2-49605DA322A1}"
52+
EndProject
53+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthService.Persistence", "backend\src\AuthService\AuthService.Persistence\AuthService.Persistence.csproj", "{EABC731A-AA86-42AE-86E9-C34E53D57DFA}"
54+
EndProject
55+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthService.Infrastructure", "backend\src\AuthService\AuthService.Infrastructure\AuthService.Infrastructure.csproj", "{9A496D9C-F57E-496C-A4DC-0E5D247AA0F0}"
56+
EndProject
57+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthService.Domain", "backend\src\AuthService\AuthService.Domain\AuthService.Domain.csproj", "{C494E5BB-0B0C-43D6-82AD-27D1FC26FA29}"
58+
EndProject
4759
Global
4860
GlobalSection(SolutionConfigurationPlatforms) = preSolution
4961
Debug|Any CPU = Debug|Any CPU
@@ -82,6 +94,26 @@ Global
8294
{5325FC87-0538-4AE1-8979-F9597F3FF466}.Debug|Any CPU.Build.0 = Debug|Any CPU
8395
{5325FC87-0538-4AE1-8979-F9597F3FF466}.Release|Any CPU.ActiveCfg = Release|Any CPU
8496
{5325FC87-0538-4AE1-8979-F9597F3FF466}.Release|Any CPU.Build.0 = Release|Any CPU
97+
{2C4FD2EA-8768-4327-891A-ECAC671FE611}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
98+
{2C4FD2EA-8768-4327-891A-ECAC671FE611}.Debug|Any CPU.Build.0 = Debug|Any CPU
99+
{2C4FD2EA-8768-4327-891A-ECAC671FE611}.Release|Any CPU.ActiveCfg = Release|Any CPU
100+
{2C4FD2EA-8768-4327-891A-ECAC671FE611}.Release|Any CPU.Build.0 = Release|Any CPU
101+
{7A88C437-0789-477F-B1E2-49605DA322A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
102+
{7A88C437-0789-477F-B1E2-49605DA322A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
103+
{7A88C437-0789-477F-B1E2-49605DA322A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
104+
{7A88C437-0789-477F-B1E2-49605DA322A1}.Release|Any CPU.Build.0 = Release|Any CPU
105+
{EABC731A-AA86-42AE-86E9-C34E53D57DFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
106+
{EABC731A-AA86-42AE-86E9-C34E53D57DFA}.Debug|Any CPU.Build.0 = Debug|Any CPU
107+
{EABC731A-AA86-42AE-86E9-C34E53D57DFA}.Release|Any CPU.ActiveCfg = Release|Any CPU
108+
{EABC731A-AA86-42AE-86E9-C34E53D57DFA}.Release|Any CPU.Build.0 = Release|Any CPU
109+
{9A496D9C-F57E-496C-A4DC-0E5D247AA0F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
110+
{9A496D9C-F57E-496C-A4DC-0E5D247AA0F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
111+
{9A496D9C-F57E-496C-A4DC-0E5D247AA0F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
112+
{9A496D9C-F57E-496C-A4DC-0E5D247AA0F0}.Release|Any CPU.Build.0 = Release|Any CPU
113+
{C494E5BB-0B0C-43D6-82AD-27D1FC26FA29}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
114+
{C494E5BB-0B0C-43D6-82AD-27D1FC26FA29}.Debug|Any CPU.Build.0 = Debug|Any CPU
115+
{C494E5BB-0B0C-43D6-82AD-27D1FC26FA29}.Release|Any CPU.ActiveCfg = Release|Any CPU
116+
{C494E5BB-0B0C-43D6-82AD-27D1FC26FA29}.Release|Any CPU.Build.0 = Release|Any CPU
85117
EndGlobalSection
86118
GlobalSection(NestedProjects) = preSolution
87119
{2E44C019-ED30-4671-A878-D2F7B6071024} = {84AE3F00-9A59-4A8D-A737-67AB74E5D1FD}
@@ -95,5 +127,11 @@ Global
95127
{885CB230-66EA-4743-8162-6A240AA960A4} = {2B7719FF-D7B4-4EFA-B3C5-2240EC19A1A5}
96128
{9CD34775-6A28-4C93-9BFC-C15F54C3FA21} = {885CB230-66EA-4743-8162-6A240AA960A4}
97129
{5325FC87-0538-4AE1-8979-F9597F3FF466} = {885CB230-66EA-4743-8162-6A240AA960A4}
130+
{C7DC7946-2C31-4266-BF89-17E15C5B5A63} = {B7E4E4CF-E7A9-4DAC-807E-DFF17553BAE8}
131+
{2C4FD2EA-8768-4327-891A-ECAC671FE611} = {C7DC7946-2C31-4266-BF89-17E15C5B5A63}
132+
{7A88C437-0789-477F-B1E2-49605DA322A1} = {C7DC7946-2C31-4266-BF89-17E15C5B5A63}
133+
{EABC731A-AA86-42AE-86E9-C34E53D57DFA} = {C7DC7946-2C31-4266-BF89-17E15C5B5A63}
134+
{9A496D9C-F57E-496C-A4DC-0E5D247AA0F0} = {C7DC7946-2C31-4266-BF89-17E15C5B5A63}
135+
{C494E5BB-0B0C-43D6-82AD-27D1FC26FA29} = {C7DC7946-2C31-4266-BF89-17E15C5B5A63}
98136
EndGlobalSection
99137
EndGlobal
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.6"/>
11+
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0"/>
12+
</ItemGroup>
13+
14+
</Project>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
var builder = WebApplication.CreateBuilder(args);
2+
builder.WebHost.UseUrls("http://0.0.0.0:8082");
3+
4+
var app = builder.Build();
5+
6+
app.UseHttpsRedirection();
7+
8+
app.Run();
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"$schema": "http://json.schemastore.org/launchsettings.json",
3+
"iisSettings": {
4+
"windowsAuthentication": false,
5+
"anonymousAuthentication": true,
6+
"iisExpress": {
7+
"applicationUrl": "http://localhost:23658",
8+
"sslPort": 44341
9+
}
10+
},
11+
"profiles": {
12+
"http": {
13+
"commandName": "Project",
14+
"dotnetRunMessages": true,
15+
"launchBrowser": true,
16+
"launchUrl": "graphql",
17+
"applicationUrl": "http://localhost:8082",
18+
"environmentVariables": {
19+
"ASPNETCORE_ENVIRONMENT": "Development"
20+
}
21+
},
22+
"https": {
23+
"commandName": "Project",
24+
"dotnetRunMessages": true,
25+
"launchBrowser": true,
26+
"launchUrl": "graphql",
27+
"applicationUrl": "https://localhost:7165;http://localhost:8082",
28+
"environmentVariables": {
29+
"ASPNETCORE_ENVIRONMENT": "Development"
30+
}
31+
},
32+
"IIS Express": {
33+
"commandName": "IISExpress",
34+
"launchBrowser": true,
35+
"launchUrl": "swagger",
36+
"environmentVariables": {
37+
"ASPNETCORE_ENVIRONMENT": "Development"
38+
}
39+
}
40+
}
41+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"Logging": {
3+
"LogLevel": {
4+
"Default": "Information",
5+
"Microsoft.AspNetCore": "Warning"
6+
}
7+
}
8+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"Logging": {
3+
"LogLevel": {
4+
"Default": "Information",
5+
"Microsoft.AspNetCore": "Warning"
6+
}
7+
},
8+
"AllowedHosts": "*"
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
</Project>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
</Project>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
</Project>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
</Project>

0 commit comments

Comments
 (0)