Skip to content

Commit f2e7c03

Browse files
committed
reorganized project structure
1 parent 35b5a7d commit f2e7c03

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+77
-80
lines changed

devblog/devblog/client/src/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use gloo::console::log;
22
use gloo_net::http::{Headers, Method, RequestBuilder, Response};
33
use wasm_bindgen::JsValue;
44

5-
const URL: &str = "https://localhost:44482/api/";
5+
const URL: &str = "api/";
66

77
#[derive(Clone, PartialEq)]
88
pub enum Api {

devblog/devblog/client/trunk.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[[proxy]]
2+
backend = "https://localhost:7249/api"

devblog/devblog/devblog.csproj

Lines changed: 0 additions & 78 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

devblog/devblog/Properties/launchSettings.json renamed to devblog/devblog/server/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"profiles": {
1111
"devblog": {
1212
"commandName": "Project",
13-
"launchBrowser": true,
13+
"launchBrowser": false,
1414
"applicationUrl": "https://localhost:7249;http://localhost:5054",
1515
"environmentVariables": {
1616
"ASPNETCORE_ENVIRONMENT": "Development",

devblog/devblog/server/devblog.csproj

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
<PropertyGroup>
3+
<TargetFramework>net7.0</TargetFramework>
4+
<Nullable>enable</Nullable>
5+
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
6+
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
7+
<IsPackable>false</IsPackable>
8+
<DefaultItemExcludes>$(DefaultItemExcludes);$(SpaRoot)node_modules\**</DefaultItemExcludes>
9+
<SpaProxyServerUrl>https://localhost:44482</SpaProxyServerUrl>
10+
<ImplicitUsings>enable</ImplicitUsings>
11+
<UserSecretsId>9c535b88-0982-4726-b8dd-98fd6ca72fbe</UserSecretsId>
12+
</PropertyGroup>
13+
14+
<ItemGroup>
15+
<!-- Don't publish the SPA source files, but do show them in the project files list -->
16+
<Content Remove="$(SpaRoot)**" />
17+
<None Remove="$(SpaRoot)**" />
18+
</ItemGroup>
19+
20+
<ItemGroup>
21+
<PackageReference Include="Discord.Net.Core" Version="3.10.0" />
22+
<PackageReference Include="Discord.Net.WebSocket" Version="3.10.0" />
23+
<PackageReference Include="Dropbox.Api" Version="6.37.0" />
24+
<PackageReference Include="Mastonet" Version="2.3.1" />
25+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.3" />
26+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="7.0.3" />
27+
<PackageReference Include="Microsoft.AspNetCore.SpaProxy" Version="7.0.3" />
28+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.3" />
29+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.3">
30+
<PrivateAssets>all</PrivateAssets>
31+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
32+
</PackageReference>
33+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.3" />
34+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.3">
35+
<PrivateAssets>all</PrivateAssets>
36+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
37+
</PackageReference>
38+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
39+
<PackageReference Include="MySqlConnector" Version="2.3.0-beta.1" />
40+
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="7.0.0" />
41+
<PackageReference Include="RestSharp" Version="110.2.1-alpha.0.2" />
42+
<PackageReference Include="SendGrid" Version="9.28.1" />
43+
<PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="6.5.0" />
44+
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.5.0" />
45+
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.5.0" />
46+
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.27.0" />
47+
</ItemGroup>
48+
</Project>

devblog/devblog/server/devblog.sln

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.4.33403.182
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "devblog", "devblog.csproj", "{2F29A40D-8726-497B-BDF3-F1C9976B7D9E}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{2F29A40D-8726-497B-BDF3-F1C9976B7D9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{2F29A40D-8726-497B-BDF3-F1C9976B7D9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{2F29A40D-8726-497B-BDF3-F1C9976B7D9E}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{2F29A40D-8726-497B-BDF3-F1C9976B7D9E}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {FC365A1B-DF99-490D-B6A9-5FB87FFCAD1D}
24+
EndGlobalSection
25+
EndGlobal

0 commit comments

Comments
 (0)