summaryrefslogtreecommitdiff
path: root/DSACore/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DSACore/Program.cs')
-rw-r--r--DSACore/Program.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/DSACore/Program.cs b/DSACore/Program.cs
new file mode 100644
index 0000000..8af0a74
--- /dev/null
+++ b/DSACore/Program.cs
@@ -0,0 +1,24 @@
+using DSALib.DSA_Game;
+using DSALib.FireBase;
+using Microsoft.AspNetCore;
+using Microsoft.AspNetCore.Hosting;
+
+namespace DSACore
+{
+ public class Program
+ {
+ public static void Main(string[] args)
+ {
+ Database.GetGroup(0).Wait();
+ Dsa.Startup();
+ CreateWebHostBuilder(args).Build().Run();
+ }
+
+ public static IWebHostBuilder CreateWebHostBuilder(string[] args)
+ {
+ return WebHost.CreateDefaultBuilder(args)
+ .UseStartup<Startup>()
+ .UseUrls("http://0.0.0.0:5000");
+ }
+ }
+} \ No newline at end of file