diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..fe1152b
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,30 @@
+**/.classpath
+**/.dockerignore
+**/.env
+**/.git
+**/.gitignore
+**/.project
+**/.settings
+**/.toolstarget
+**/.vs
+**/.vscode
+**/*.*proj.user
+**/*.dbmdl
+**/*.jfm
+**/azds.yaml
+**/bin
+**/charts
+**/docker-compose*
+**/Dockerfile*
+**/node_modules
+**/npm-debug.log
+**/obj
+**/secrets.dev.yaml
+**/values.dev.yaml
+LICENSE
+README.md
+!**/.gitignore
+!.git/HEAD
+!.git/config
+!.git/packed-refs
+!.git/refs/heads/**
\ No newline at end of file
diff --git a/BitgetApi.sln b/BitgetApi.sln
index 566eec4..0a85468 100644
--- a/BitgetApi.sln
+++ b/BitgetApi.sln
@@ -5,9 +5,7 @@ VisualStudioVersion = 17.9.34902.65
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BitgetApi", "BitgetApi\BitgetApi.csproj", "{09813A63-9EF4-4D6D-BA41-5F610909BDEC}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bitget_Server", "Bitget_Server\Bitget_Server.csproj", "{725DC784-0243-4FDF-921E-91CF09580A03}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bitget_App", "Bitget_App\Bitget_App.csproj", "{992C7279-FE6D-430B-A0C8-EC9DDEC743CA}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bitget_Server", "Bitget_Server\Bitget_Server.csproj", "{22361711-30AD-4CFE-8D21-00868CA322EA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -19,16 +17,10 @@ Global
{09813A63-9EF4-4D6D-BA41-5F610909BDEC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{09813A63-9EF4-4D6D-BA41-5F610909BDEC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{09813A63-9EF4-4D6D-BA41-5F610909BDEC}.Release|Any CPU.Build.0 = Release|Any CPU
- {725DC784-0243-4FDF-921E-91CF09580A03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {725DC784-0243-4FDF-921E-91CF09580A03}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {725DC784-0243-4FDF-921E-91CF09580A03}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {725DC784-0243-4FDF-921E-91CF09580A03}.Release|Any CPU.Build.0 = Release|Any CPU
- {992C7279-FE6D-430B-A0C8-EC9DDEC743CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {992C7279-FE6D-430B-A0C8-EC9DDEC743CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {992C7279-FE6D-430B-A0C8-EC9DDEC743CA}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
- {992C7279-FE6D-430B-A0C8-EC9DDEC743CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {992C7279-FE6D-430B-A0C8-EC9DDEC743CA}.Release|Any CPU.Build.0 = Release|Any CPU
- {992C7279-FE6D-430B-A0C8-EC9DDEC743CA}.Release|Any CPU.Deploy.0 = Release|Any CPU
+ {22361711-30AD-4CFE-8D21-00868CA322EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {22361711-30AD-4CFE-8D21-00868CA322EA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {22361711-30AD-4CFE-8D21-00868CA322EA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {22361711-30AD-4CFE-8D21-00868CA322EA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/Bitget_App/App.xaml b/Bitget_App/App.xaml
deleted file mode 100644
index 291ef36..0000000
--- a/Bitget_App/App.xaml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Bitget_App/App.xaml.cs b/Bitget_App/App.xaml.cs
deleted file mode 100644
index 3f0ff2e..0000000
--- a/Bitget_App/App.xaml.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-namespace Bitget_App
-{
- public partial class App : Application
- {
- public App()
- {
- InitializeComponent();
-
- MainPage = new AppShell();
- }
- }
-}
diff --git a/Bitget_App/AppShell.xaml b/Bitget_App/AppShell.xaml
deleted file mode 100644
index 242c611..0000000
--- a/Bitget_App/AppShell.xaml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
diff --git a/Bitget_App/AppShell.xaml.cs b/Bitget_App/AppShell.xaml.cs
deleted file mode 100644
index bad280a..0000000
--- a/Bitget_App/AppShell.xaml.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace Bitget_App
-{
- public partial class AppShell : Shell
- {
- public AppShell()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/Bitget_App/Bitget_App.csproj b/Bitget_App/Bitget_App.csproj
deleted file mode 100644
index 27e7fb6..0000000
--- a/Bitget_App/Bitget_App.csproj
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
- net8.0-android;net8.0-ios;net8.0-maccatalyst
- $(TargetFrameworks);net8.0-windows10.0.19041.0
-
-
-
-
-
-
- Exe
- Bitget_App
- true
- true
- enable
- enable
-
-
- Bitget_App
-
-
- com.companyname.bitget_app
-
-
- 1.0
- 1
-
- 13.1
- 21.0
- 6.5
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Bitget_App/Bitget_App.csproj.user b/Bitget_App/Bitget_App.csproj.user
deleted file mode 100644
index 78d67e8..0000000
--- a/Bitget_App/Bitget_App.csproj.user
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
- False
- net8.0-android
- Xiaomi 23049PCD8G(Android 13.0 - API 33)
- PhysicalDevice
- pixel_5_-_api_34
-
-
-
- Designer
-
-
- Designer
-
-
- Designer
-
-
- Designer
-
-
- Designer
-
-
- Designer
-
-
- Designer
-
-
-
\ No newline at end of file
diff --git a/Bitget_App/MainPage.xaml b/Bitget_App/MainPage.xaml
deleted file mode 100644
index 50ed959..0000000
--- a/Bitget_App/MainPage.xaml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Bitget_App/MainPage.xaml.cs b/Bitget_App/MainPage.xaml.cs
deleted file mode 100644
index abb985f..0000000
--- a/Bitget_App/MainPage.xaml.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-using Plugin.LocalNotification;
-
-namespace Bitget_App
-{
- public partial class MainPage : ContentPage
- {
-
- public MainPage()
- {
- InitializeComponent();
- Permissions.RequestAsync();
-
- }
-
- private void OnCounterClicked(object sender, EventArgs e)
- {
- var request = new NotificationRequest
- {
- NotificationId = 1000,
- Title = "MEDIUM",
- Subtitle = "Hello! I'm Erdal",
- Description = "Local Push Notification",
- BadgeNumber = 42
- };
-
- LocalNotificationCenter.Current.Show(request);
-
- }
- }
-
-}
diff --git a/Bitget_App/MauiProgram.cs b/Bitget_App/MauiProgram.cs
deleted file mode 100644
index 21886b5..0000000
--- a/Bitget_App/MauiProgram.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using Microsoft.Extensions.Logging;
-using Microsoft.Maui.LifecycleEvents;
-using Plugin.LocalNotification;
-
-namespace Bitget_App
-{
- public static class MauiProgram
- {
- public static MauiApp CreateMauiApp()
- {
- var builder = MauiApp.CreateBuilder();
- builder
- .UseMauiApp()
- .UseLocalNotification()
- .ConfigureFonts(fonts =>
- {
- fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
- fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
- });
-
-#if DEBUG
- builder.Logging.AddDebug();
-#endif
-
- return builder.Build();
- }
-
- private static MauiAppBuilder RegisterFirebaseServices(this MauiAppBuilder builder)
- {
- builder.ConfigureLifecycleEvents(events =>
- {
- events.AddAndroid(android => android.OnCreate((activity, _) =>
- CrossFirebase.Initialize(activity, CreateCrossFirebaseSettings())));
- CrossFirebaseCrashlytics.Current.SetCrashlyticsCollectionEnabled(true);
- });
-
- builder.Services.AddSingleton(_ => CrossFirebaseAuth.Current);
- return builder;
- }
-
- private static CrossFirebaseSettings CreateCrossFirebaseSettings()
- {
- return new CrossFirebaseSettings(isAuthEnabled: true,
- isCloudMessagingEnabled: true, isAnalyticsEnabled: true);
- }
- }
-}
diff --git a/Bitget_App/Platforms/Android/AndroidManifest.xml b/Bitget_App/Platforms/Android/AndroidManifest.xml
deleted file mode 100644
index d2f85df..0000000
--- a/Bitget_App/Platforms/Android/AndroidManifest.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Bitget_App/Platforms/Android/MainActivity.cs b/Bitget_App/Platforms/Android/MainActivity.cs
deleted file mode 100644
index 72b0fa6..0000000
--- a/Bitget_App/Platforms/Android/MainActivity.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Android.App;
-using Android.Content.PM;
-using Android.OS;
-
-namespace Bitget_App
-{
- [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
- public class MainActivity : MauiAppCompatActivity
- {
- }
-}
diff --git a/Bitget_App/Platforms/Android/MainApplication.cs b/Bitget_App/Platforms/Android/MainApplication.cs
deleted file mode 100644
index c72ee58..0000000
--- a/Bitget_App/Platforms/Android/MainApplication.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using Android.App;
-using Android.Runtime;
-
-namespace Bitget_App
-{
- [Application]
- public class MainApplication : MauiApplication
- {
- public MainApplication(IntPtr handle, JniHandleOwnership ownership)
- : base(handle, ownership)
- {
- }
-
- protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
- }
-}
diff --git a/Bitget_App/Platforms/Android/Resources/values/colors.xml b/Bitget_App/Platforms/Android/Resources/values/colors.xml
deleted file mode 100644
index c04d749..0000000
--- a/Bitget_App/Platforms/Android/Resources/values/colors.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- #512BD4
- #2B0B98
- #2B0B98
-
\ No newline at end of file
diff --git a/Bitget_App/Platforms/Android/Resources/values/strings.xml b/Bitget_App/Platforms/Android/Resources/values/strings.xml
deleted file mode 100644
index 6e3f4b2..0000000
--- a/Bitget_App/Platforms/Android/Resources/values/strings.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
- none
-
\ No newline at end of file
diff --git a/Bitget_App/Platforms/MacCatalyst/AppDelegate.cs b/Bitget_App/Platforms/MacCatalyst/AppDelegate.cs
deleted file mode 100644
index e67d981..0000000
--- a/Bitget_App/Platforms/MacCatalyst/AppDelegate.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-using Foundation;
-
-namespace Bitget_App
-{
- [Register("AppDelegate")]
- public class AppDelegate : MauiUIApplicationDelegate
- {
- protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
- }
-}
diff --git a/Bitget_App/Platforms/MacCatalyst/Entitlements.plist b/Bitget_App/Platforms/MacCatalyst/Entitlements.plist
deleted file mode 100644
index de4adc9..0000000
--- a/Bitget_App/Platforms/MacCatalyst/Entitlements.plist
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
- com.apple.security.app-sandbox
-
-
- com.apple.security.network.client
-
-
-
-
diff --git a/Bitget_App/Platforms/MacCatalyst/Info.plist b/Bitget_App/Platforms/MacCatalyst/Info.plist
deleted file mode 100644
index 7268977..0000000
--- a/Bitget_App/Platforms/MacCatalyst/Info.plist
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- UIDeviceFamily
-
- 2
-
- UIRequiredDeviceCapabilities
-
- arm64
-
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UISupportedInterfaceOrientations~ipad
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- XSAppIconAssets
- Assets.xcassets/appicon.appiconset
-
-
diff --git a/Bitget_App/Platforms/MacCatalyst/Program.cs b/Bitget_App/Platforms/MacCatalyst/Program.cs
deleted file mode 100644
index a2ae0cf..0000000
--- a/Bitget_App/Platforms/MacCatalyst/Program.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using ObjCRuntime;
-using UIKit;
-
-namespace Bitget_App
-{
- public class Program
- {
- // This is the main entry point of the application.
- static void Main(string[] args)
- {
- // if you want to use a different Application Delegate class from "AppDelegate"
- // you can specify it here.
- UIApplication.Main(args, null, typeof(AppDelegate));
- }
- }
-}
diff --git a/Bitget_App/Platforms/Tizen/Main.cs b/Bitget_App/Platforms/Tizen/Main.cs
deleted file mode 100644
index c41366e..0000000
--- a/Bitget_App/Platforms/Tizen/Main.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Microsoft.Maui;
-using Microsoft.Maui.Hosting;
-using System;
-
-namespace Bitget_App
-{
- internal class Program : MauiApplication
- {
- protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
-
- static void Main(string[] args)
- {
- var app = new Program();
- app.Run(args);
- }
- }
-}
diff --git a/Bitget_App/Platforms/Tizen/tizen-manifest.xml b/Bitget_App/Platforms/Tizen/tizen-manifest.xml
deleted file mode 100644
index 39ec1b0..0000000
--- a/Bitget_App/Platforms/Tizen/tizen-manifest.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
- maui-appicon-placeholder
-
-
-
-
- http://tizen.org/privilege/internet
-
-
-
-
\ No newline at end of file
diff --git a/Bitget_App/Platforms/Windows/App.xaml b/Bitget_App/Platforms/Windows/App.xaml
deleted file mode 100644
index 4afb42c..0000000
--- a/Bitget_App/Platforms/Windows/App.xaml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
diff --git a/Bitget_App/Platforms/Windows/App.xaml.cs b/Bitget_App/Platforms/Windows/App.xaml.cs
deleted file mode 100644
index 0c81efb..0000000
--- a/Bitget_App/Platforms/Windows/App.xaml.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using Microsoft.UI.Xaml;
-
-// To learn more about WinUI, the WinUI project structure,
-// and more about our project templates, see: http://aka.ms/winui-project-info.
-
-namespace Bitget_App.WinUI
-{
- ///
- /// Provides application-specific behavior to supplement the default Application class.
- ///
- public partial class App : MauiWinUIApplication
- {
- ///
- /// Initializes the singleton application object. This is the first line of authored code
- /// executed, and as such is the logical equivalent of main() or WinMain().
- ///
- public App()
- {
- this.InitializeComponent();
- }
-
- protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
- }
-
-}
diff --git a/Bitget_App/Platforms/Windows/Package.appxmanifest b/Bitget_App/Platforms/Windows/Package.appxmanifest
deleted file mode 100644
index 01d0732..0000000
--- a/Bitget_App/Platforms/Windows/Package.appxmanifest
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
-
-
-
- $placeholder$
- User Name
- $placeholder$.png
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Bitget_App/Platforms/Windows/app.manifest b/Bitget_App/Platforms/Windows/app.manifest
deleted file mode 100644
index c79b142..0000000
--- a/Bitget_App/Platforms/Windows/app.manifest
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
- true/PM
- PerMonitorV2, PerMonitor
-
-
-
diff --git a/Bitget_App/Platforms/iOS/AppDelegate.cs b/Bitget_App/Platforms/iOS/AppDelegate.cs
deleted file mode 100644
index e67d981..0000000
--- a/Bitget_App/Platforms/iOS/AppDelegate.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-using Foundation;
-
-namespace Bitget_App
-{
- [Register("AppDelegate")]
- public class AppDelegate : MauiUIApplicationDelegate
- {
- protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
- }
-}
diff --git a/Bitget_App/Platforms/iOS/Info.plist b/Bitget_App/Platforms/iOS/Info.plist
deleted file mode 100644
index 0004a4f..0000000
--- a/Bitget_App/Platforms/iOS/Info.plist
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
- LSRequiresIPhoneOS
-
- UIDeviceFamily
-
- 1
- 2
-
- UIRequiredDeviceCapabilities
-
- arm64
-
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UISupportedInterfaceOrientations~ipad
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- XSAppIconAssets
- Assets.xcassets/appicon.appiconset
-
-
diff --git a/Bitget_App/Platforms/iOS/Program.cs b/Bitget_App/Platforms/iOS/Program.cs
deleted file mode 100644
index a2ae0cf..0000000
--- a/Bitget_App/Platforms/iOS/Program.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using ObjCRuntime;
-using UIKit;
-
-namespace Bitget_App
-{
- public class Program
- {
- // This is the main entry point of the application.
- static void Main(string[] args)
- {
- // if you want to use a different Application Delegate class from "AppDelegate"
- // you can specify it here.
- UIApplication.Main(args, null, typeof(AppDelegate));
- }
- }
-}
diff --git a/Bitget_App/Properties/launchSettings.json b/Bitget_App/Properties/launchSettings.json
deleted file mode 100644
index edf8aad..0000000
--- a/Bitget_App/Properties/launchSettings.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "profiles": {
- "Windows Machine": {
- "commandName": "MsixPackage",
- "nativeDebugging": false
- }
- }
-}
\ No newline at end of file
diff --git a/Bitget_App/Resources/AppIcon/appicon.svg b/Bitget_App/Resources/AppIcon/appicon.svg
deleted file mode 100644
index 9d63b65..0000000
--- a/Bitget_App/Resources/AppIcon/appicon.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
\ No newline at end of file
diff --git a/Bitget_App/Resources/AppIcon/appiconfg.svg b/Bitget_App/Resources/AppIcon/appiconfg.svg
deleted file mode 100644
index 21dfb25..0000000
--- a/Bitget_App/Resources/AppIcon/appiconfg.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/Bitget_App/Resources/Fonts/OpenSans-Regular.ttf b/Bitget_App/Resources/Fonts/OpenSans-Regular.ttf
deleted file mode 100644
index adae284..0000000
Binary files a/Bitget_App/Resources/Fonts/OpenSans-Regular.ttf and /dev/null differ
diff --git a/Bitget_App/Resources/Fonts/OpenSans-Semibold.ttf b/Bitget_App/Resources/Fonts/OpenSans-Semibold.ttf
deleted file mode 100644
index 1e29ca5..0000000
Binary files a/Bitget_App/Resources/Fonts/OpenSans-Semibold.ttf and /dev/null differ
diff --git a/Bitget_App/Resources/Images/dotnet_bot.png b/Bitget_App/Resources/Images/dotnet_bot.png
deleted file mode 100644
index f93ce02..0000000
Binary files a/Bitget_App/Resources/Images/dotnet_bot.png and /dev/null differ
diff --git a/Bitget_App/Resources/Raw/AboutAssets.txt b/Bitget_App/Resources/Raw/AboutAssets.txt
deleted file mode 100644
index 89dc758..0000000
--- a/Bitget_App/Resources/Raw/AboutAssets.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Any raw assets you want to be deployed with your application can be placed in
-this directory (and child directories). Deployment of the asset to your application
-is automatically handled by the following `MauiAsset` Build Action within your `.csproj`.
-
-
-
-These files will be deployed with your package and will be accessible using Essentials:
-
- async Task LoadMauiAsset()
- {
- using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt");
- using var reader = new StreamReader(stream);
-
- var contents = reader.ReadToEnd();
- }
diff --git a/Bitget_App/Resources/Splash/splash.svg b/Bitget_App/Resources/Splash/splash.svg
deleted file mode 100644
index 21dfb25..0000000
--- a/Bitget_App/Resources/Splash/splash.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/Bitget_App/Resources/Styles/Colors.xaml b/Bitget_App/Resources/Styles/Colors.xaml
deleted file mode 100644
index 30307a5..0000000
--- a/Bitget_App/Resources/Styles/Colors.xaml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
- #512BD4
- #ac99ea
- #242424
- #DFD8F7
- #9880e5
- #2B0B98
-
- White
- Black
- #D600AA
- #190649
- #1f1f1f
-
- #E1E1E1
- #C8C8C8
- #ACACAC
- #919191
- #6E6E6E
- #404040
- #212121
- #141414
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Bitget_App/Resources/Styles/Styles.xaml b/Bitget_App/Resources/Styles/Styles.xaml
deleted file mode 100644
index 19ceac5..0000000
--- a/Bitget_App/Resources/Styles/Styles.xaml
+++ /dev/null
@@ -1,426 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Bitget_App/google-services.json b/Bitget_App/google-services.json
deleted file mode 100644
index b65c2e1..0000000
--- a/Bitget_App/google-services.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "project_info": {
- "project_number": "362142360131",
- "project_id": "pushalarmbitget",
- "storage_bucket": "pushalarmbitget.appspot.com"
- },
- "client": [
- {
- "client_info": {
- "mobilesdk_app_id": "1:362142360131:android:e4b0c5f82de8be9937eaf6",
- "android_client_info": {
- "package_name": "com.million.pushalarmbitget"
- }
- },
- "oauth_client": [],
- "api_key": [
- {
- "current_key": "AIzaSyAl52uVL19axoWuGh_YD5C5vvrTp_fnuV4"
- }
- ],
- "services": {
- "appinvite_service": {
- "other_platform_oauth_client": []
- }
- }
- }
- ],
- "configuration_version": "1"
-}
\ No newline at end of file
diff --git a/Bitget_Server/.dockerignore b/Bitget_Server/.dockerignore
new file mode 100644
index 0000000..4c623c2
--- /dev/null
+++ b/Bitget_Server/.dockerignore
@@ -0,0 +1,51 @@
+# =============================================================================
+# .dockerignore — Bitget_Server
+# Build context 가 솔루션 루트라도 동일하게 동작하도록 작성
+# =============================================================================
+
+# 빌드 산출물
+**/bin/
+**/obj/
+**/out/
+**/publish/
+
+# Visual Studio / IDE
+**/.vs/
+**/.idea/
+**/.vscode/
+**/*.user
+**/*.suo
+**/*.userprefs
+
+# 버전 관리
+.git/
+.gitignore
+.gitattributes
+
+# 패키지 / 캐시
+**/packages/
+**/node_modules/
+**/.nuget/
+
+# 로그/데이터 (호스트 마운트로 주입)
+**/data/
+**/logs/
+**/*.log
+
+# 문서/메타
+*.md
+LICENSE
+**/.editorconfig
+
+# 개발 전용 설정 / 시크릿
+**/appsettings.Development.json
+**/launchSettings.json
+**/secrets.json
+
+# 기존 WinForms 프로젝트 (이식 대상 아님 — 컨텍스트만 가벼워지면 됨)
+BitgetApi/
+
+# Docker 자체 메타
+Dockerfile
+.dockerignore
+docker-compose*.yml
diff --git a/Bitget_Server/Api/Controllers/CoinsController.cs b/Bitget_Server/Api/Controllers/CoinsController.cs
new file mode 100644
index 0000000..47b1b2a
--- /dev/null
+++ b/Bitget_Server/Api/Controllers/CoinsController.cs
@@ -0,0 +1,47 @@
+using Bitget_Server.Application.Services;
+using Bitget_Server.Domain.Models;
+using Microsoft.AspNetCore.Mvc;
+
+namespace Bitget_Server.Api.Controllers;
+
+///
+/// 기존 WinForms 코인 선택 그리드 데이터를 REST 화.
+///
+[ApiController]
+[Route("api/coins")]
+[Produces("application/json")]
+public class CoinsController : ControllerBase
+{
+ private readonly SettingsService _settings;
+ private readonly ILogger _logger;
+
+ public CoinsController(SettingsService settings, ILogger logger)
+ {
+ _settings = settings;
+ _logger = logger;
+ }
+
+ ///
+ /// USDT 기준 Bitget 선물 마켓 정보 목록을 반환한다.
+ /// 내부적으로 BitgetClient 캐시(_state.marketInfoList)를 우선 사용하고 비어 있으면 호출.
+ ///
+ [HttpGet]
+ [ProducesResponseType(typeof(IEnumerable), StatusCodes.Status200OK)]
+ [ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status502BadGateway)]
+ public async Task>> GetCoins(CancellationToken ct)
+ {
+ try
+ {
+ var coins = await _settings.GetCoinsAsync(ct);
+ return Ok(coins);
+ }
+ catch (Exception ex)
+ {
+ _logger.LogError(ex, "코인 조회 실패");
+ return Problem(
+ detail: ex.Message,
+ statusCode: StatusCodes.Status502BadGateway,
+ title: "Failed to fetch coins from Bitget");
+ }
+ }
+}
diff --git a/Bitget_Server/Api/Controllers/HealthController.cs b/Bitget_Server/Api/Controllers/HealthController.cs
new file mode 100644
index 0000000..3f6e6f2
--- /dev/null
+++ b/Bitget_Server/Api/Controllers/HealthController.cs
@@ -0,0 +1,21 @@
+using Microsoft.AspNetCore.Mvc;
+
+namespace Bitget_Server.Api.Controllers;
+
+///
+/// 단순 헬스체크. Docker / 로드밸런서에서 사용.
+///
+[ApiController]
+[Route("api/health")]
+[Produces("application/json")]
+public class HealthController : ControllerBase
+{
+ [HttpGet]
+ [ProducesResponseType(StatusCodes.Status200OK)]
+ public IActionResult Get() => Ok(new
+ {
+ status = "ok",
+ timestampUtc = DateTime.UtcNow,
+ version = typeof(HealthController).Assembly.GetName().Version?.ToString() ?? "unknown"
+ });
+}
diff --git a/Bitget_Server/Api/Controllers/SettingsController.cs b/Bitget_Server/Api/Controllers/SettingsController.cs
new file mode 100644
index 0000000..d289467
--- /dev/null
+++ b/Bitget_Server/Api/Controllers/SettingsController.cs
@@ -0,0 +1,148 @@
+using Bitget_Server.Api.Dtos;
+using Bitget_Server.Application.Services;
+using Bitget_Server.Infrastructure.Utils;
+using Bitget_Server.Domain.Enums;
+using Microsoft.AspNetCore.Mvc;
+
+namespace Bitget_Server.Api.Controllers;
+
+///
+/// 기존 WinForms MainForm 의 ComboBox / 텍스트박스 / API 선택 라디오버튼을 REST 화.
+///
+[ApiController]
+[Route("api/settings")]
+[Produces("application/json")]
+public class SettingsController : ControllerBase
+{
+ private readonly SettingsService _settings;
+
+ public SettingsController(SettingsService settings)
+ {
+ _settings = settings;
+ }
+
+ // ===== 캔들 간격 =====
+
+ /// 현재 선택된 캔들 간격(분)을 반환.
+ [HttpGet("candle-interval")]
+ [ProducesResponseType(typeof(CandleIntervalDto), StatusCodes.Status200OK)]
+ public ActionResult GetCandleInterval()
+ {
+ var minutes = _settings.GetCandleIntervalMinutes();
+ var interval = (MCandleTimeType)minutes;
+ return Ok(new CandleIntervalDto(minutes, Convertor.GetEnumDescription(interval)));
+ }
+
+ /// 캔들 간격을 변경.
+ [HttpPut("candle-interval")]
+ [ProducesResponseType(typeof(CandleIntervalDto), StatusCodes.Status200OK)]
+ [ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status400BadRequest)]
+ public ActionResult UpdateCandleInterval([FromBody] UpdateCandleIntervalRequest req)
+ {
+ try
+ {
+ _settings.SetCandleIntervalMinutes(req.Minutes);
+ var interval = (MCandleTimeType)req.Minutes;
+ return Ok(new CandleIntervalDto(req.Minutes, Convertor.GetEnumDescription(interval)));
+ }
+ catch (ArgumentException ex)
+ {
+ return Problem(detail: ex.Message, statusCode: StatusCodes.Status400BadRequest, title: "Invalid candle interval");
+ }
+ }
+
+ /// 지원되는 캔들 간격 목록.
+ [HttpGet("candle-interval/options")]
+ [ProducesResponseType(typeof(IEnumerable