diff --git a/.editorconfig b/api/.editorconfig similarity index 100% rename from .editorconfig rename to api/.editorconfig diff --git a/.github/workflows/test.yml b/api/.github/workflows/test.yml similarity index 100% rename from .github/workflows/test.yml rename to api/.github/workflows/test.yml diff --git a/.gitignore b/api/.gitignore similarity index 100% rename from .gitignore rename to api/.gitignore diff --git a/LICENSE b/api/LICENSE similarity index 100% rename from LICENSE rename to api/LICENSE diff --git a/OAUTH.md b/api/OAUTH.md similarity index 100% rename from OAUTH.md rename to api/OAUTH.md diff --git a/README.md b/api/README.md similarity index 100% rename from README.md rename to api/README.md diff --git a/config/config-example.cjs b/api/config/config-example.cjs similarity index 100% rename from config/config-example.cjs rename to api/config/config-example.cjs diff --git a/config/pm2-example.config.cjs b/api/config/pm2-example.config.cjs similarity index 100% rename from config/pm2-example.config.cjs rename to api/config/pm2-example.config.cjs diff --git a/eslint-ps-standard.mjs b/api/eslint-ps-standard.mjs similarity index 100% rename from eslint-ps-standard.mjs rename to api/eslint-ps-standard.mjs diff --git a/eslint.config.mjs b/api/eslint.config.mjs similarity index 100% rename from eslint.config.mjs rename to api/eslint.config.mjs diff --git a/package-lock.json b/api/package-lock.json similarity index 100% rename from package-lock.json rename to api/package-lock.json diff --git a/package.json b/api/package.json similarity index 100% rename from package.json rename to api/package.json diff --git a/src/actions.ts b/api/src/actions.ts similarity index 100% rename from src/actions.ts rename to api/src/actions.ts diff --git a/src/config-loader.ts b/api/src/config-loader.ts similarity index 100% rename from src/config-loader.ts rename to api/src/config-loader.ts diff --git a/src/database.ts b/api/src/database.ts similarity index 100% rename from src/database.ts rename to api/src/database.ts diff --git a/src/index.js b/api/src/index.js similarity index 100% rename from src/index.js rename to api/src/index.js diff --git a/src/ip-tools.ts b/api/src/ip-tools.ts similarity index 100% rename from src/ip-tools.ts rename to api/src/ip-tools.ts diff --git a/src/ladder.ts b/api/src/ladder.ts similarity index 100% rename from src/ladder.ts rename to api/src/ladder.ts diff --git a/src/lib/load-servers.php b/api/src/lib/load-servers.php similarity index 100% rename from src/lib/load-servers.php rename to api/src/lib/load-servers.php diff --git a/src/oauth.ts b/api/src/oauth.ts similarity index 100% rename from src/oauth.ts rename to api/src/oauth.ts diff --git a/src/public/oauth-authorize.html b/api/src/public/oauth-authorize.html similarity index 100% rename from src/public/oauth-authorize.html rename to api/src/public/oauth-authorize.html diff --git a/src/public/oauth-authorized.html b/api/src/public/oauth-authorized.html similarity index 100% rename from src/public/oauth-authorized.html rename to api/src/public/oauth-authorized.html diff --git a/src/replays.ts b/api/src/replays.ts similarity index 100% rename from src/replays.ts rename to api/src/replays.ts diff --git a/src/schemas/migrations/ladder-1.sql b/api/src/schemas/migrations/ladder-1.sql similarity index 100% rename from src/schemas/migrations/ladder-1.sql rename to api/src/schemas/migrations/ladder-1.sql diff --git a/src/schemas/ntbb-ladder.sql b/api/src/schemas/ntbb-ladder.sql similarity index 100% rename from src/schemas/ntbb-ladder.sql rename to api/src/schemas/ntbb-ladder.sql diff --git a/src/schemas/ntbb-loginattempts.sql b/api/src/schemas/ntbb-loginattempts.sql similarity index 100% rename from src/schemas/ntbb-loginattempts.sql rename to api/src/schemas/ntbb-loginattempts.sql diff --git a/src/schemas/ntbb-loginthrottle.sql b/api/src/schemas/ntbb-loginthrottle.sql similarity index 100% rename from src/schemas/ntbb-loginthrottle.sql rename to api/src/schemas/ntbb-loginthrottle.sql diff --git a/src/schemas/ntbb-oauth.sql b/api/src/schemas/ntbb-oauth.sql similarity index 100% rename from src/schemas/ntbb-oauth.sql rename to api/src/schemas/ntbb-oauth.sql diff --git a/src/schemas/ntbb-suspects.sql b/api/src/schemas/ntbb-suspects.sql similarity index 100% rename from src/schemas/ntbb-suspects.sql rename to api/src/schemas/ntbb-suspects.sql diff --git a/src/schemas/ntbb-usermodlog.sql b/api/src/schemas/ntbb-usermodlog.sql similarity index 100% rename from src/schemas/ntbb-usermodlog.sql rename to api/src/schemas/ntbb-usermodlog.sql diff --git a/src/schemas/ntbb-users.sql b/api/src/schemas/ntbb-users.sql similarity index 100% rename from src/schemas/ntbb-users.sql rename to api/src/schemas/ntbb-users.sql diff --git a/src/schemas/ntbb-userstats.sql b/api/src/schemas/ntbb-userstats.sql similarity index 100% rename from src/schemas/ntbb-userstats.sql rename to api/src/schemas/ntbb-userstats.sql diff --git a/src/schemas/ntbb-userstatshistory.sql b/api/src/schemas/ntbb-userstatshistory.sql similarity index 100% rename from src/schemas/ntbb-userstatshistory.sql rename to api/src/schemas/ntbb-userstatshistory.sql diff --git a/src/schemas/ntbb_sessions.sql b/api/src/schemas/ntbb_sessions.sql similarity index 100% rename from src/schemas/ntbb_sessions.sql rename to api/src/schemas/ntbb_sessions.sql diff --git a/src/schemas/ps_prepreplays.sql b/api/src/schemas/ps_prepreplays.sql similarity index 100% rename from src/schemas/ps_prepreplays.sql rename to api/src/schemas/ps_prepreplays.sql diff --git a/src/schemas/ps_replays.sql b/api/src/schemas/ps_replays.sql similarity index 100% rename from src/schemas/ps_replays.sql rename to api/src/schemas/ps_replays.sql diff --git a/src/schemas/replays.sql b/api/src/schemas/replays.sql similarity index 100% rename from src/schemas/replays.sql rename to api/src/schemas/replays.sql diff --git a/src/server.ts b/api/src/server.ts similarity index 100% rename from src/server.ts rename to api/src/server.ts diff --git a/src/tables.ts b/api/src/tables.ts similarity index 100% rename from src/tables.ts rename to api/src/tables.ts diff --git a/src/test/actions.test.ts b/api/src/test/actions.test.ts similarity index 100% rename from src/test/actions.test.ts rename to api/src/test/actions.test.ts diff --git a/src/test/dispatcher.test.ts b/api/src/test/dispatcher.test.ts similarity index 100% rename from src/test/dispatcher.test.ts rename to api/src/test/dispatcher.test.ts diff --git a/src/test/fixtures/database.sql b/api/src/test/fixtures/database.sql similarity index 100% rename from src/test/fixtures/database.sql rename to api/src/test/fixtures/database.sql diff --git a/src/test/fixtures/servers.php b/api/src/test/fixtures/servers.php similarity index 100% rename from src/test/fixtures/servers.php rename to api/src/test/fixtures/servers.php diff --git a/src/test/oauth.test.ts b/api/src/test/oauth.test.ts similarity index 100% rename from src/test/oauth.test.ts rename to api/src/test/oauth.test.ts diff --git a/src/test/replays.test.ts b/api/src/test/replays.test.ts similarity index 100% rename from src/test/replays.test.ts rename to api/src/test/replays.test.ts diff --git a/src/user.ts b/api/src/user.ts similarity index 100% rename from src/user.ts rename to api/src/user.ts diff --git a/src/utils.ts b/api/src/utils.ts similarity index 100% rename from src/utils.ts rename to api/src/utils.ts diff --git a/tsconfig.json b/api/tsconfig.json similarity index 100% rename from tsconfig.json rename to api/tsconfig.json