diff --git a/Sources/.gitignore b/Sources/.gitignore
new file mode 100644
index 0000000..c426c32
--- /dev/null
+++ b/Sources/.gitignore
@@ -0,0 +1,36 @@
+.gradle
+build/
+!gradle/wrapper/gradle-wrapper.jar
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+bin/
+!**/src/main/**/bin/
+!**/src/test/**/bin/
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+out/
+!**/src/main/**/out/
+!**/src/test/**/out/
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+
+### VS Code ###
+.vscode/
\ No newline at end of file
diff --git a/Sources/AllIn.sln b/Sources/AllIn.sln
deleted file mode 100644
index 7fd1212..0000000
--- a/Sources/AllIn.sln
+++ /dev/null
@@ -1,37 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 17
-VisualStudioVersion = 17.5.33424.131
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shared", "Shared\Shared.csproj", "{ACD97125-7DB7-4A05-B9B2-D531D2B08A27}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Model", "Model\Model.csproj", "{94CAC52F-2584-4C8F-85BF-9333FFCE1481}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AllInApi", "AllInApi\AllInApi.csproj", "{3336A244-C3FE-415F-BB19-DDA0DC301524}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {ACD97125-7DB7-4A05-B9B2-D531D2B08A27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {ACD97125-7DB7-4A05-B9B2-D531D2B08A27}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {ACD97125-7DB7-4A05-B9B2-D531D2B08A27}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {ACD97125-7DB7-4A05-B9B2-D531D2B08A27}.Release|Any CPU.Build.0 = Release|Any CPU
- {94CAC52F-2584-4C8F-85BF-9333FFCE1481}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {94CAC52F-2584-4C8F-85BF-9333FFCE1481}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {94CAC52F-2584-4C8F-85BF-9333FFCE1481}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {94CAC52F-2584-4C8F-85BF-9333FFCE1481}.Release|Any CPU.Build.0 = Release|Any CPU
- {3336A244-C3FE-415F-BB19-DDA0DC301524}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3336A244-C3FE-415F-BB19-DDA0DC301524}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3336A244-C3FE-415F-BB19-DDA0DC301524}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3336A244-C3FE-415F-BB19-DDA0DC301524}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {BDB705DC-223D-4FDE-8D00-67929A13F0FD}
- EndGlobalSection
-EndGlobal
diff --git a/Sources/AllInApi/AllInApi.csproj b/Sources/AllInApi/AllInApi.csproj
deleted file mode 100644
index 4289e82..0000000
--- a/Sources/AllInApi/AllInApi.csproj
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- net6.0
- enable
- enable
-
-
-
-
-
-
-
diff --git a/Sources/AllInApi/Controllers/BetController.cs b/Sources/AllInApi/Controllers/BetController.cs
deleted file mode 100644
index 33e816a..0000000
--- a/Sources/AllInApi/Controllers/BetController.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-
-namespace AllInApi.Controllers
-{
- [Route("api/[controller]")]
- [ApiController]
- public class BetController : ControllerBase
- {
- }
-}
diff --git a/Sources/AllInApi/Controllers/GroupController.cs b/Sources/AllInApi/Controllers/GroupController.cs
deleted file mode 100644
index 7edfdf9..0000000
--- a/Sources/AllInApi/Controllers/GroupController.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-
-namespace AllInApi.Controllers
-{
- [Route("api/[controller]")]
- [ApiController]
- public class GroupController : ControllerBase
- {
- }
-}
diff --git a/Sources/AllInApi/Controllers/UserController.cs b/Sources/AllInApi/Controllers/UserController.cs
deleted file mode 100644
index 506acee..0000000
--- a/Sources/AllInApi/Controllers/UserController.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using Microsoft.AspNetCore.Mvc;
-
-// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
-
-namespace AllInApi.Controllers
-{
- [Route("api/[controller]")]
- [ApiController]
- public class UserController : ControllerBase
- {
- // GET: api/
- [HttpGet]
- public IEnumerable Get()
- {
- return new string[] { "value1", "value2" };
- }
-
- // GET api//5
- [HttpGet("{id}")]
- public string Get(int id)
- {
- return "value";
- }
-
- // POST api/
- [HttpPost]
- public void Post([FromBody] string value)
- {
- }
-
- // PUT api//5
- [HttpPut("{id}")]
- public void Put(int id, [FromBody] string value)
- {
- }
-
- // DELETE api//5
- [HttpDelete("{id}")]
- public void Delete(int id)
- {
- }
- }
-}
diff --git a/Sources/AllInApi/DTO/BetDTO.cs b/Sources/AllInApi/DTO/BetDTO.cs
deleted file mode 100644
index 8268088..0000000
--- a/Sources/AllInApi/DTO/BetDTO.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-namespace AllInApi.DTO
-{
- public class BetDTO
- {
- public string Name { get; set; }
- public string Title { get; set; }
- public List Choices { get; set; }
- public string Themes{ get; set; }
- public Dictionary? Bets { get; set; }
-
- }
-}
diff --git a/Sources/AllInApi/DTO/GroupDTO.cs b/Sources/AllInApi/DTO/GroupDTO.cs
deleted file mode 100644
index 739543b..0000000
--- a/Sources/AllInApi/DTO/GroupDTO.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace AllInApi.DTO
-{
- public class GroupDTO
- {
- public string Name { get; set; }
- public DateTime CreationDate { get; set; }
- public LargeImageDTO Image { get; set; }
- }
-}
diff --git a/Sources/AllInApi/DTO/LargeImageDTO.cs b/Sources/AllInApi/DTO/LargeImageDTO.cs
deleted file mode 100644
index 3845deb..0000000
--- a/Sources/AllInApi/DTO/LargeImageDTO.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace AllInApi.DTO
-{
- public class LargeImageDTO
- {
- public string Base64 { get; set; }
- }
-}
diff --git a/Sources/AllInApi/DTO/MiseDTO.cs b/Sources/AllInApi/DTO/MiseDTO.cs
deleted file mode 100644
index 521bc9c..0000000
--- a/Sources/AllInApi/DTO/MiseDTO.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-namespace AllInApi.DTO
-{
- public class MiseDTO
- {
- public int Cost { get; set; }
- public int Choices { get; set; }
- }
-}
diff --git a/Sources/AllInApi/DTO/UserDTO.cs b/Sources/AllInApi/DTO/UserDTO.cs
deleted file mode 100644
index 6a92a5b..0000000
--- a/Sources/AllInApi/DTO/UserDTO.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-namespace AllInApi.DTO
-{
- public class UserDTO
- {
- public string Name { get; set; }
- public string Mail { get; set; }
- public LargeImageDTO Image { get; set; }
- public int NumberOfCoins { get; set; }
-
- public List Groups { get; set;}
- }
-}
diff --git a/Sources/AllInApi/Mapper/BetMapper.cs b/Sources/AllInApi/Mapper/BetMapper.cs
deleted file mode 100644
index 6c16eec..0000000
--- a/Sources/AllInApi/Mapper/BetMapper.cs
+++ /dev/null
@@ -1,6 +0,0 @@
-namespace AllInApi.Mapper
-{
- public class BetMapper
- {
- }
-}
diff --git a/Sources/AllInApi/Mapper/GroupMapper.cs b/Sources/AllInApi/Mapper/GroupMapper.cs
deleted file mode 100644
index 53c39eb..0000000
--- a/Sources/AllInApi/Mapper/GroupMapper.cs
+++ /dev/null
@@ -1,6 +0,0 @@
-namespace AllInApi.Mapper
-{
- public class GroupMapper
- {
- }
-}
diff --git a/Sources/AllInApi/Mapper/UserMapper.cs b/Sources/AllInApi/Mapper/UserMapper.cs
deleted file mode 100644
index e6edaa7..0000000
--- a/Sources/AllInApi/Mapper/UserMapper.cs
+++ /dev/null
@@ -1,6 +0,0 @@
-namespace AllInApi.Mapper
-{
- public class UserMapper
- {
- }
-}
diff --git a/Sources/AllInApi/Program.cs b/Sources/AllInApi/Program.cs
deleted file mode 100644
index 15eacee..0000000
--- a/Sources/AllInApi/Program.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-var builder = WebApplication.CreateBuilder(args);
-
-// Add services to the container.
-
-builder.Services.AddControllers();
-// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
-builder.Services.AddEndpointsApiExplorer();
-builder.Services.AddSwaggerGen();
-
-var app = builder.Build();
-
-// Configure the HTTP request pipeline.
-if (app.Environment.IsDevelopment())
-{
- app.UseSwagger();
- app.UseSwaggerUI();
-}
-
-app.UseHttpsRedirection();
-
-app.UseAuthorization();
-
-app.MapControllers();
-
-app.Run();
diff --git a/Sources/AllInApi/Properties/launchSettings.json b/Sources/AllInApi/Properties/launchSettings.json
deleted file mode 100644
index 0c50e51..0000000
--- a/Sources/AllInApi/Properties/launchSettings.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "$schema": "https://json.schemastore.org/launchsettings.json",
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:7156",
- "sslPort": 44309
- }
- },
- "profiles": {
- "AllInApi": {
- "commandName": "Project",
- "dotnetRunMessages": true,
- "launchBrowser": true,
- "launchUrl": "swagger",
- "applicationUrl": "https://localhost:7065;http://localhost:5238",
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development"
- }
- },
- "IIS Express": {
- "commandName": "IISExpress",
- "launchBrowser": true,
- "launchUrl": "swagger",
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development"
- }
- }
- }
-}
diff --git a/Sources/AllInApi/appsettings.Development.json b/Sources/AllInApi/appsettings.Development.json
deleted file mode 100644
index ff66ba6..0000000
--- a/Sources/AllInApi/appsettings.Development.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "Logging": {
- "LogLevel": {
- "Default": "Information",
- "Microsoft.AspNetCore": "Warning"
- }
- }
-}
diff --git a/Sources/AllInApi/appsettings.json b/Sources/AllInApi/appsettings.json
deleted file mode 100644
index 4d56694..0000000
--- a/Sources/AllInApi/appsettings.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "Logging": {
- "LogLevel": {
- "Default": "Information",
- "Microsoft.AspNetCore": "Warning"
- }
- },
- "AllowedHosts": "*"
-}
diff --git a/Sources/Model/Bet.cs b/Sources/Model/Bet.cs
deleted file mode 100644
index baca56e..0000000
--- a/Sources/Model/Bet.cs
+++ /dev/null
@@ -1,102 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Data;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Model
-{
- public class Bet
- {
- public string Id
- {
- get => id;
- private init
- {
- if (string.IsNullOrWhiteSpace(value))
- {
- id = "Unknown";
- return;
- }
- id = value;
- }
- }
- private readonly string id = null!;
-
- public string Title
- {
- get => title;
- private init
- {
- if (string.IsNullOrWhiteSpace(value))
- {
- title = "Unknown";
- return;
- }
- title = value;
- }
- }
- private readonly string title = null!;
-
- public string Name
- {
- get => name;
- private init
- {
- if (string.IsNullOrWhiteSpace(value))
- {
- name = "Unknown";
- return;
- }
- name = value;
- }
- }
- private readonly string name = null!;
-
- public ReadOnlyDictionary Users { get; private set; }
- private Dictionary users = new Dictionary();
-
- public ReadOnlyCollection Choices { get; private set; }
- private List choices = new();
-
- public string Theme
- {
- get => theme;
- private init
- {
- if (string.IsNullOrWhiteSpace(value))
- {
- theme = "Unknown";
- return;
- }
- theme = value;
- }
- }
- private readonly string theme = null!;
-
- public bool Status { get; set; }
-
- public string Description { get; set; }
-
- public DateTime StartDate { get; set; }
-
- public DateTime EndDate { get; set; }
-
- public Bet(string id, string title, string name, string theme, bool status, string description, DateTime startDate, DateTime endDate)
- {
- Id = id;
- Title = title;
- Name = name;
- Choices = new ReadOnlyCollection(choices);
- Theme = theme;
- Status = status;
- Description = description;
- StartDate = startDate;
- EndDate = endDate;
- Users = new ReadOnlyDictionary(users);
- }
-
- }
-}
diff --git a/Sources/Model/Group.cs b/Sources/Model/Group.cs
deleted file mode 100644
index e745ae7..0000000
--- a/Sources/Model/Group.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Model
-{
- public class Group
- {
- public string Id
- {
- get => id;
- private init
- {
- if (string.IsNullOrWhiteSpace(value))
- {
- id = "Unknown";
- return;
- }
- id = value;
- }
- }
- private readonly string id = null!;
-
- public string Name
- {
- get => name;
- set
- {
- if (value == null)
- {
- name = "";
- return;
- }
- name = value;
- }
- }
- private string name = "";
-
- public LargeImage Image { get; set; }
-
- public DateTime CreationDate { get; set; }
-
- public Group(string id, string name, DateTime creationDate, string image = "")
- {
- Id = id;
- Name = name;
- Image = new LargeImage(image);
- CreationDate = creationDate;
- }
-
- public override bool Equals(object? obj)
- {
- if (ReferenceEquals(obj, null)) return false;
- if (ReferenceEquals(obj, this)) return true;
- if (GetType() != obj.GetType()) return false;
- return Equals(obj as Group);
- }
-
- public override int GetHashCode()
- => Id.GetHashCode() % 997;
-
- public bool Equals(Group? other)
- => Id.Equals(other?.Id);
-
- }
-}
diff --git a/Sources/Model/IDataManager.cs b/Sources/Model/IDataManager.cs
deleted file mode 100644
index cfd65a2..0000000
--- a/Sources/Model/IDataManager.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using Shared;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Model
-{
- public interface IDataManager
- {
- IUsersManager UsersMgr { get; }
- IBetsManager BetsMgr { get; }
- IRunesManager RunesMgr { get; }
- }
-
- public interface IUsersManager : IGenericDataManager
- {
- Task GetItemByMail(string mail);
- Task GetNbItemsByUser(Group? group);
- Task> GetItemsByGroup(Group? group, int index, int count, string? orderingPropertyName = null, bool descending = false);
- Task GetNbItemsByAllCoins(int allCoins);
- Task> GetItemsByAllCoins(int allCoins, int index, int count, string? orderingPropertyName = null, bool descending = false);
-
- }
-
- public interface IBetsManager : IGenericDataManager
- {
- Task GetNbItemsByUser(User? user);
- Task> GetItemsByUser(User? user, int index, int count, string? orderingPropertyName = null, bool descending = false);
- Task GetNbItemsByDescription(string description);
- Task> GetItemsByDescription(string description, int index, int count, string? orderingPropertyName = null, bool descending = false);
-
- }
-
- public interface IRunesManager : IGenericDataManager
- {
-
- }
-}
diff --git a/Sources/Model/LargeImage.cs b/Sources/Model/LargeImage.cs
deleted file mode 100644
index 87788be..0000000
--- a/Sources/Model/LargeImage.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Model
-{
- public class LargeImage : IEquatable
- {
- public string Base64 { get; set; }
-
- public LargeImage(string base64)
- {
- Base64 = base64;
- }
-
- public bool Equals(LargeImage? other)
- => other != null && other.Base64.Equals(Base64);
-
- public override bool Equals(object? obj)
- {
- if (ReferenceEquals(obj, null)) return false;
- if (ReferenceEquals(obj!, this)) return true;
- if (GetType() != obj!.GetType()) return false;
- return Equals(obj! as LargeImage);
- }
-
- public override int GetHashCode()
- => Base64.Substring(0, 10).GetHashCode();
- }
-}
diff --git a/Sources/Model/Mise.cs b/Sources/Model/Mise.cs
deleted file mode 100644
index 9aeccf0..0000000
--- a/Sources/Model/Mise.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Model
-{
- public class Mise
- {
- public int Cost { get; set; }
- public string Choice { get; set; }
-
- public Mise(int cost, string choice)
- {
- Cost = cost;
- Choice = choice;
- }
- }
-}
diff --git a/Sources/Model/Model.csproj b/Sources/Model/Model.csproj
deleted file mode 100644
index 6c2a3aa..0000000
--- a/Sources/Model/Model.csproj
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- net6.0
- enable
- enable
-
-
-
-
-
-
-
diff --git a/Sources/Model/User.cs b/Sources/Model/User.cs
deleted file mode 100644
index 151d383..0000000
--- a/Sources/Model/User.cs
+++ /dev/null
@@ -1,134 +0,0 @@
-using System.Collections.ObjectModel;
-using System.Reflection.PortableExecutable;
-using System.Security.Claims;
-using System.Text;
-using System.Xml.Linq;
-using static System.Net.Mime.MediaTypeNames;
-
-namespace Model
-{
- public class User
- {
- public string Id
- {
- get => id;
- private init
- {
- if (string.IsNullOrWhiteSpace(value))
- {
- id = "Unknown";
- return;
- }
- id = value;
- }
- }
- private readonly string id = null!;
-
- public string Pseudo
- {
- get => pseudo;
- set
- {
- if (value == null)
- {
- pseudo = "";
- return;
- }
- pseudo = value;
- }
- }
- private string pseudo = "";
-
- public string Mail
- {
- get => mail;
- set
- {
- if (value == null)
- {
- mail = "";
- return;
- }
- mail = value;
- }
- }
- private string mail = "";
-
- public string Password
- {
- get => password;
- set
- {
- if (value == null)
- {
- password = "";
- return;
- }
- password = value;
- }
- }
- private string password = "";
-
- public DateTime CreationDate { get; set; }
-
- public LargeImage Image { get; set; }
- public int AllCoins { get; set; }
-
- public User(string id, string pseudo, string mail, string password, DateTime date, string image = "", int allCoins = 0)
- {
- Id = id;
- Pseudo = pseudo;
- Mail = mail;
- Password = password;
- Image = new LargeImage(image);
- AllCoins = allCoins;
- Groups = new ReadOnlyCollection(groups);
- }
-
- public ReadOnlyCollection Groups { get; private set; }
- private List groups = new();
-
- public bool AddGroup(Group group)
- {
- if (groups.Contains(group))
- return false;
- groups.Add(group);
- return true;
- }
-
- public bool RemoveSkin(Group group)
- => groups.Remove(group);
-
- public override bool Equals(object? obj)
- {
- if (ReferenceEquals(obj, null)) return false;
- if (ReferenceEquals(obj, this)) return true;
- if (GetType() != obj.GetType()) return false;
- return Equals(obj as User);
- }
-
- public override int GetHashCode()
- => Id.GetHashCode() % 997;
-
- public bool Equals(User? other)
- => Id.Equals(other?.Id);
-
- public override string ToString()
- {
- StringBuilder sb = new StringBuilder($"{Id} ({Mail})");
- if (!string.IsNullOrWhiteSpace(Image.Base64))
- {
- sb.AppendLine($"\t{Image.Base64}");
- }
- if (Groups.Any())
- {
- sb.AppendLine("\tGroup:");
- foreach (var group in Groups)
- {
- sb.AppendLine($"\t\t{group.Id} - {group.Name}");
- }
- }
- return sb.ToString();
- }
- }
-}
\ No newline at end of file
diff --git a/Sources/Shared/IGenericDataManager.cs b/Sources/Shared/IGenericDataManager.cs
deleted file mode 100644
index fabfe51..0000000
--- a/Sources/Shared/IGenericDataManager.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-namespace Shared;
-public interface IGenericDataManager
-{
- Task GetNbItems();
- Task> GetItems(int index, int count, string? orderingPropertyName = null, bool descending = false);
- Task GetNbItemsByName(string substring);
- Task> GetItemsByName(string substring, int index, int count, string? orderingPropertyName = null, bool descending = false);
- Task> GetItemByName(string substring, int index, int count, string? orderingPropertyName = null, bool descending = false);
- Task UpdateItem(T oldItem, T newItem);
- Task AddItem(T item);
- Task DeleteItem(T item);
-}
diff --git a/Sources/Shared/Shared.csproj b/Sources/Shared/Shared.csproj
deleted file mode 100644
index bafd05b..0000000
--- a/Sources/Shared/Shared.csproj
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- net6.0
- enable
- enable
-
-
-
diff --git a/Sources/pom.xml b/Sources/pom.xml
new file mode 100644
index 0000000..bed0ed5
--- /dev/null
+++ b/Sources/pom.xml
@@ -0,0 +1,143 @@
+
+
+ 4.0.0
+ allin
+ allin-api
+ 0.0.1
+ allin-api
+ allin-api
+
+ 2.3.4
+ official
+ 1.9.10
+ 1.4.11
+ 2.0.9
+ UTF-8
+ true
+ allin.ApplicationKt
+
+
+
+
+
+ io.ktor
+ ktor-server-core-jvm
+ ${ktor_version}
+
+
+ io.ktor
+ ktor-server-netty-jvm
+ ${ktor_version}
+
+
+ org.ktorm
+ ktorm-core
+ 3.2.0
+
+
+ ch.qos.logback
+ logback-classic
+ ${logback_version}
+
+
+ org.slf4j
+ slf4j-api
+ ${slf4j_version}
+
+
+ io.ktor
+ ktor-server-tests-jvm
+ ${ktor_version}
+ test
+
+
+ org.jetbrains.kotlin
+ kotlin-test-junit
+ ${kotlin_version}
+ test
+
+
+ org.jetbrains.kotlinx
+ kotlinx-coroutines-debug
+ 1.6.4
+ test
+
+
+
+ ${project.basedir}/src/main/kotlin
+ ${project.basedir}/src/test/kotlin
+
+
+ ${project.basedir}/src/main/resources
+
+
+
+
+
+ kotlin-maven-plugin
+ org.jetbrains.kotlin
+ ${kotlin_version}
+
+ 1.8
+
+
+
+ compile
+ compile
+
+ compile
+
+
+
+ test-compile
+ test-compile
+
+ test-compile
+
+
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ 1.2.1
+
+
+
+ java
+
+
+
+
+ ${main.class}
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+ 2.6
+
+
+ jar-with-dependencies
+
+
+
+ true
+ ${main.class}
+
+
+
+
+
+ assemble-all
+ package
+
+ single
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Sources/src/main/kotlin/allin/Application.kt b/Sources/src/main/kotlin/allin/Application.kt
new file mode 100644
index 0000000..7796f9b
--- /dev/null
+++ b/Sources/src/main/kotlin/allin/Application.kt
@@ -0,0 +1,15 @@
+package allin
+
+import allin.plugins.*
+import io.ktor.server.application.*
+import io.ktor.server.engine.*
+import io.ktor.server.netty.*
+
+fun main() {
+ embeddedServer(Netty, port = 8080, host = "0.0.0.0", module = Application::module)
+ .start(wait = true)
+}
+
+fun Application.module() {
+ configureRouting()
+}
diff --git a/Sources/src/main/kotlin/allin/plugins/Routing.kt b/Sources/src/main/kotlin/allin/plugins/Routing.kt
new file mode 100644
index 0000000..bc358d8
--- /dev/null
+++ b/Sources/src/main/kotlin/allin/plugins/Routing.kt
@@ -0,0 +1,13 @@
+package allin.plugins
+
+import io.ktor.server.application.*
+import io.ktor.server.response.*
+import io.ktor.server.routing.*
+
+fun Application.configureRouting() {
+ routing {
+ get("/") {
+ call.respondText("Hello World!")
+ }
+ }
+}
diff --git a/Sources/src/main/resources/logback.xml b/Sources/src/main/resources/logback.xml
new file mode 100644
index 0000000..3e11d78
--- /dev/null
+++ b/Sources/src/main/resources/logback.xml
@@ -0,0 +1,12 @@
+
+
+
+ %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Sources/src/test/kotlin/allin/ApplicationTest.kt b/Sources/src/test/kotlin/allin/ApplicationTest.kt
new file mode 100644
index 0000000..055425d
--- /dev/null
+++ b/Sources/src/test/kotlin/allin/ApplicationTest.kt
@@ -0,0 +1,4 @@
+package allin
+
+class ApplicationTest {
+}
diff --git a/Sources/target/classes/META-INF/allin-api.kotlin_module b/Sources/target/classes/META-INF/allin-api.kotlin_module
new file mode 100644
index 0000000..12d8f45
Binary files /dev/null and b/Sources/target/classes/META-INF/allin-api.kotlin_module differ
diff --git a/Sources/target/classes/allin/ApplicationKt$main$1.class b/Sources/target/classes/allin/ApplicationKt$main$1.class
new file mode 100644
index 0000000..d41d667
Binary files /dev/null and b/Sources/target/classes/allin/ApplicationKt$main$1.class differ
diff --git a/Sources/target/classes/allin/ApplicationKt.class b/Sources/target/classes/allin/ApplicationKt.class
new file mode 100644
index 0000000..739d2f9
Binary files /dev/null and b/Sources/target/classes/allin/ApplicationKt.class differ
diff --git a/Sources/target/classes/allin/plugins/RoutingKt$configureRouting$1$1.class b/Sources/target/classes/allin/plugins/RoutingKt$configureRouting$1$1.class
new file mode 100644
index 0000000..8d71764
Binary files /dev/null and b/Sources/target/classes/allin/plugins/RoutingKt$configureRouting$1$1.class differ
diff --git a/Sources/target/classes/allin/plugins/RoutingKt$configureRouting$1.class b/Sources/target/classes/allin/plugins/RoutingKt$configureRouting$1.class
new file mode 100644
index 0000000..4462df9
Binary files /dev/null and b/Sources/target/classes/allin/plugins/RoutingKt$configureRouting$1.class differ
diff --git a/Sources/target/classes/allin/plugins/RoutingKt.class b/Sources/target/classes/allin/plugins/RoutingKt.class
new file mode 100644
index 0000000..5809412
Binary files /dev/null and b/Sources/target/classes/allin/plugins/RoutingKt.class differ
diff --git a/Sources/target/classes/logback.xml b/Sources/target/classes/logback.xml
new file mode 100644
index 0000000..3e11d78
--- /dev/null
+++ b/Sources/target/classes/logback.xml
@@ -0,0 +1,12 @@
+
+
+
+ %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Sources/target/test-classes/META-INF/allin-api.kotlin_module b/Sources/target/test-classes/META-INF/allin-api.kotlin_module
new file mode 100644
index 0000000..1e9f2ca
Binary files /dev/null and b/Sources/target/test-classes/META-INF/allin-api.kotlin_module differ
diff --git a/Sources/target/test-classes/allin/ApplicationTest.class b/Sources/target/test-classes/allin/ApplicationTest.class
new file mode 100644
index 0000000..07af2a7
Binary files /dev/null and b/Sources/target/test-classes/allin/ApplicationTest.class differ