Beautiful Open-Source Form Builder
Separated laravel app to its own folder (#540)
Julien Nahum5bd1dda504a0
diff --git a/.babelrc b/.babelrcdeleted file mode 100644index c4701e7d0..000000000--- a/.babelrc+++ /dev/null@@ -1,8 +0,0 @@-{- "presets": [- "@babel/preset-env"- ],- "plugins": [- "@babel/plugin-syntax-dynamic-import"- ]-}diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.ymlindex c40587310..beeab703f 100644--- a/.github/workflows/laravel.yml+++ b/.github/workflows/laravel.yml@@ -2,11 +2,10 @@ name: laravelon:push:- branches: [ main ]+ branches: [main]pull_request:jobs:-code_lint:runs-on: ubuntu-latestname: Run code linters@@ -36,15 +35,19 @@ jobs:coverage: none- name: Prepare the environment+ working-directory: ./apirun: cp .env.example .env- name: Install composer dependencies+ working-directory: ./apirun: composer install --prefer-dist --no-interaction --no-progress --ignore-platform-reqs --optimize-autoloader- name: Directory permissions+ working-directory: ./apirun: chmod -R 777 storage bootstrap/cache- name: Run PHP lint check+ working-directory: ./apirun: ./vendor/bin/pint --testtests:@@ -90,8 +93,8 @@ jobs:strategy:fail-fast: truematrix:- php: [ 8.2 ]- connection: [ pgsql, mysql ]+ php: [8.2]+ connection: [pgsql, mysql]include:- connection: pgsqlhost: localhost@@ -100,7 +103,7 @@ jobs:password: postgresdatabase: postgres- connection: mysql- host: '127.0.0.1'+ host: "127.0.0.1"port: 3306user: rootpassword: test@@ -133,12 +136,14 @@ jobs:coverage: none- name: Prepare the environment- run: cp .env.example .env+ run: cp api/.env.example api/.env- name: Install composer dependencies+ working-directory: ./apirun: composer install --prefer-dist --no-interaction --no-progress --ignore-platform-reqs --optimize-autoloader- name: Directory permissions+ working-directory: ./apirun: chmod -R 777 storage bootstrap/cache- name: Run tests (Unit and Feature)@@ -154,6 +159,7 @@ jobs:- name: "Archive log results"if: always()uses: actions/upload-artifact@v3+ working-directory: ./apiwith:name: log resultspath: storage/logs/laravel.log@@ -163,8 +169,8 @@ jobs:runs-on: ubuntu-latestname: Build the Nuxt appdefaults:- run:- working-directory: ./client+ run:+ working-directory: ./clientsteps:- name: Checkout codeuses: actions/checkout@v2@@ -172,7 +178,7 @@ jobs:- name: Set up Node.jsuses: actions/setup-node@v1with:- node-version: '20'+ node-version: "20"- uses: actions/cache@v2with:@@ -193,7 +199,7 @@ jobs:SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}production-deploy:- needs: [ code_lint, tests, build-nuxt-app ]+ needs: [code_lint, tests, build-nuxt-app]if: success() && github.ref == 'refs/heads/main' && github.event_name == 'push'runs-on: ubuntu-latestname: Triggers Deployment (Vapor & Amplify)@@ -230,24 +236,29 @@ jobs:coverage: none- name: Prepare the environment+ working-directory: ./apirun: cp .env.example .env- name: Install composer dependencies+ working-directory: ./apirun: composer install --prefer-dist --no-interaction --no-progress --ignore-platform-reqs --optimize-autoloader- name: Directory permissions+ working-directory: ./apirun: chmod -R 777 storage bootstrap/cache- name: Trigger front-end deployment- run: |+ run: |URL="${{ secrets.AMPLIFY_DEPLOY_URL }}"curl -X POST -d {} "$URL" -H "Content-Type: application/json"- name: Created encrypted .env file before deployment+ working-directory: ./apirun: |- echo "${{ secrets.ENCRYPTED_ENV_FILE }}" >> .env.production.encrypted+ echo "${{ secrets.ENCRYPTED_ENV_FILE }}" >> .env.production.encrypted- name: Deploy back-end to production+ working-directory: ./apirun: php vendor/bin/vapor deploy api-production --commit="${GITHUB_SHA}" --message="${GITHUB_REF}"env:VAPOR_API_TOKEN: ${{ secrets.VAPOR_API_TOKEN }}diff --git a/.gitignore b/.gitignoreindex 49ee0c7be..c1996aca4 100644--- a/.gitignore+++ b/.gitignore@@ -1,33 +1,11 @@-/node_modules-/public/hot-/public/storage-/storage/*.key-/storage/clockwork-/vendor-.env-.env.production-.env.api-production-.env.backup-.env.testing-.env.dusk.local-.env.api-*-.phpunit.result.cache.idea/*Homestead.jsonHomestead.yamlnpm-debug.logyarn-error.logphpunit.dusk.xml-/public/dist-/public/build-/public/mix-manifest.json-/public/sitemap.xml.DS_Storepublic/.DS_Store*.DS_Store-.vapor/-.env.production-.env.staging-_ide_helper.phpdocker-compose.override.yml/.make.*diff --git a/.styleci.yml b/.styleci.ymldeleted file mode 100644index 9231873a1..000000000--- a/.styleci.yml+++ /dev/null@@ -1,13 +0,0 @@-php:- preset: laravel- disabled:- - no_unused_imports- finder:- not-name:- - index.php- - server.php-js:- finder:- not-name:- - webpack.mix.js-css: truediff --git a/README.md b/README.mdindex ca25af7bc..e31f67470 100644--- a/README.md+++ b/README.md@@ -103,19 +103,6 @@ OpnForm can be easily set up using Docker. Pre-built images are available on Doc#### Quick Start1. Clone the repository:-<<<<<<< HEAD-- ```- git clone https://github.com/JhumanJ/OpnForm.git- cd OpnForm- ```--2. Set up environment files:-- ```- cp .env.docker .env- cp client/.env.docker client/.env-=======```git clone https://github.com/JhumanJ/OpnForm.git@@ -126,7 +113,6 @@ OpnForm can be easily set up using Docker. Pre-built images are available on Doc```bash./scripts/setup-env.sh --docker->>>>>>> 0a9400492674212cdabcd4821ee87483b28735e5```3. Start the application:@@ -177,7 +163,7 @@ For development or customization, you can build the Docker images locally:2. Create a docker-compose override file:```- cp docker-compose.override.yml.example docker-compose.override.yml+ touch docker-compose.override.yml```Edit the `docker-compose.override.yml` file to use your locally built images:@@ -188,6 +174,8 @@ For development or customization, you can build the Docker images locally:image: opnform-api:localui:image: opnform-ui:local+ api-worker:+ image: opnform-api:local```3. Start the application:diff --git a/.env.docker b/api/.env.dockersimilarity index 86%rename from .env.dockerrename to api/.env.dockerindex 24925b695..6d2e17c4f 100644--- a/.env.docker+++ b/api/.env.docker@@ -18,11 +18,11 @@ SESSION_LIFETIME=120MAIL_MAILER=logMAIL_HOST=MAIL_PORT=-MAIL_USERNAME=MAIL_PASSWORD=MAIL_ENCRYPTION=-MAIL_FROM_ADDRESS=-MAIL_FROM_NAME=+MAIL_FROM_NAME=OpnFormAWS_ACCESS_KEY_ID=AWS_SECRET_ACCESS_KEY=diff --git a/.env.example b/api/.env.examplesimilarity index 100%rename from .env.examplerename to api/.env.examplediff --git a/api/.gitignore b/api/.gitignorenew file mode 100644index 000000000..c4b7dd800--- /dev/null+++ b/api/.gitignore@@ -0,0 +1,34 @@+/node_modules+/public/hot+/public/storage+/storage/*.key+/storage/clockwork+/vendor+.env+.env.production+.env.api-production+.env.backup+.env.testing+.env.dusk.local+.env.api-*+.env.docker.local+.phpunit.result.cache+.idea/*+Homestead.json+Homestead.yaml+npm-debug.log+yarn-error.log+phpunit.dusk.xml+/public/dist+/public/build+/public/mix-manifest.json+/public/sitemap.xml+.DS_Store+public/.DS_Store+*.DS_Store+.vapor/+.env.production+.env.staging+_ide_helper.php+docker-compose.override.yml+/.make.*diff --git a/_ide_helper_models.php b/api/_ide_helper_models.phpsimilarity index 100%rename from _ide_helper_models.phprename to api/_ide_helper_models.phpdiff --git a/app/Console/Commands/CleanDatabase.php b/api/app/Console/Commands/CleanDatabase.phpsimilarity index 100%rename from app/Console/Commands/CleanDatabase.phprename to api/app/Console/Commands/CleanDatabase.phpdiff --git a/app/Console/Commands/CleanIntegrationEvents.php b/api/app/Console/Commands/CleanIntegrationEvents.phpsimilarity index 100%rename from app/Console/Commands/CleanIntegrationEvents.phprename to api/app/Console/Commands/CleanIntegrationEvents.phpdiff --git a/app/Console/Commands/GenerateTemplate.php b/api/app/Console/Commands/GenerateTemplate.phpsimilarity index 100%rename from app/Console/Commands/GenerateTemplate.phprename to api/app/Console/Commands/GenerateTemplate.phpdiff --git a/app/Console/Commands/InitProjectCommand.php b/api/app/Console/Commands/InitProjectCommand.phpsimilarity index 100%rename from app/Console/Commands/InitProjectCommand.phprename to api/app/Console/Commands/InitProjectCommand.phpdiff --git a/app/Console/Commands/Tax/GenerateTaxExport.php b/api/app/Console/Commands/Tax/GenerateTaxExport.phpsimilarity index 100%rename from app/Console/Commands/Tax/GenerateTaxExport.phprename to api/app/Console/Commands/Tax/GenerateTaxExport.phpdiff --git a/app/Console/Kernel.php b/api/app/Console/Kernel.phpsimilarity index 100%rename from app/Console/Kernel.phprename to api/app/Console/Kernel.phpdiff --git a/app/Enums/AccessTokenAbility.php b/api/app/Enums/AccessTokenAbility.phpsimilarity index 100%rename from app/Enums/AccessTokenAbility.phprename to api/app/Enums/AccessTokenAbility.phpdiff --git a/app/Events/Billing/SubscriptionCreated.php b/api/app/Events/Billing/SubscriptionCreated.phpsimilarity index 100%rename from app/Events/Billing/SubscriptionCreated.phprename to api/app/Events/Billing/SubscriptionCreated.phpdiff --git a/app/Events/Billing/SubscriptionUpdated.php b/api/app/Events/Billing/SubscriptionUpdated.phpsimilarity index 100%rename from app/Events/Billing/SubscriptionUpdated.phprename to api/app/Events/Billing/SubscriptionUpdated.phpdiff --git a/app/Events/Forms/FormSubmitted.php b/api/app/Events/Forms/FormSubmitted.phpsimilarity index 100%rename from app/Events/Forms/FormSubmitted.phprename to api/app/Events/Forms/FormSubmitted.phpdiff --git a/app/Events/Models/FormCreated.php b/api/app/Events/Models/FormCreated.phpsimilarity index 100%rename from app/Events/Models/FormCreated.phprename to api/app/Events/Models/FormCreated.phpdiff --git a/app/Events/Models/FormIntegrationCreated.php b/api/app/Events/Models/FormIntegrationCreated.phpsimilarity index 100%rename from app/Events/Models/FormIntegrationCreated.phprename to api/app/Events/Models/FormIntegrationCreated.phpdiff --git a/app/Events/Models/FormIntegrationsEventCreated.php b/api/app/Events/Models/FormIntegrationsEventCreated.phpsimilarity index 100%rename from app/Events/Models/FormIntegrationsEventCreated.phprename to api/app/Events/Models/FormIntegrationsEventCreated.phpdiff --git a/app/Exceptions/EmailTakenException.php b/api/app/Exceptions/EmailTakenException.phpsimilarity index 100%rename from app/Exceptions/EmailTakenException.phprename to api/app/Exceptions/EmailTakenException.phpdiff --git a/app/Exceptions/Handler.php b/api/app/Exceptions/Handler.phpsimilarity index 100%rename from app/Exceptions/Handler.phprename to api/app/Exceptions/Handler.phpdiff --git a/app/Exceptions/VerifyEmailException.php b/api/app/Exceptions/VerifyEmailException.phpsimilarity index 100%rename from app/Exceptions/VerifyEmailException.phprename to api/app/Exceptions/VerifyEmailException.phpdiff --git a/app/Exceptions/Workspaces/WorkspaceAlreadyExisting.php b/api/app/Exceptions/Workspaces/WorkspaceAlreadyExisting.phpsimilarity index 100%rename from app/Exceptions/Workspaces/WorkspaceAlreadyExisting.phprename to api/app/Exceptions/Workspaces/WorkspaceAlreadyExisting.phpdiff --git a/app/Exceptions/Workspaces/WorkspaceLimit.php b/api/app/Exceptions/Workspaces/WorkspaceLimit.phpsimilarity index 100%rename from app/Exceptions/Workspaces/WorkspaceLimit.phprename to api/app/Exceptions/Workspaces/WorkspaceLimit.phpdiff --git a/app/Exports/FormSubmissionExport.php b/api/app/Exports/FormSubmissionExport.phpsimilarity index 100%rename from app/Exports/FormSubmissionExport.phprename to api/app/Exports/FormSubmissionExport.phpdiff --git a/app/Exports/Tax/ArrayExport.php b/api/app/Exports/Tax/ArrayExport.phpsimilarity index 100%rename from app/Exports/Tax/ArrayExport.phprename to api/app/Exports/Tax/ArrayExport.phpdiff --git a/app/Http/Controllers/Admin/AdminController.php b/api/app/Http/Controllers/Admin/AdminController.phpsimilarity index 100%rename from app/Http/Controllers/Admin/AdminController.phprename to api/app/Http/Controllers/Admin/AdminController.phpdiff --git a/app/Http/Controllers/Admin/BillingController.php b/api/app/Http/Controllers/Admin/BillingController.phpsimilarity index 100%rename from app/Http/Controllers/Admin/BillingController.phprename to api/app/Http/Controllers/Admin/BillingController.phpdiff --git a/app/Http/Controllers/Admin/FormController.php b/api/app/Http/Controllers/Admin/FormController.phpsimilarity index 100%rename from app/Http/Controllers/Admin/FormController.phprename to api/app/Http/Controllers/Admin/FormController.phpdiff --git a/app/Http/Controllers/Admin/ImpersonationController.php b/api/app/Http/Controllers/Admin/ImpersonationController.phpsimilarity index 100%rename from app/Http/Controllers/Admin/ImpersonationController.phprename to api/app/Http/Controllers/Admin/ImpersonationController.phpdiff --git a/app/Http/Controllers/Auth/AppSumoAuthController.php b/api/app/Http/Controllers/Auth/AppSumoAuthController.phpsimilarity index 100%rename from app/Http/Controllers/Auth/AppSumoAuthController.phprename to api/app/Http/Controllers/Auth/AppSumoAuthController.phpdiff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/api/app/Http/Controllers/Auth/ForgotPasswordController.phpsimilarity index 100%rename from app/Http/Controllers/Auth/ForgotPasswordController.phprename to api/app/Http/Controllers/Auth/ForgotPasswordController.phpdiff --git a/app/Http/Controllers/Auth/LoginController.php b/api/app/Http/Controllers/Auth/LoginController.phpsimilarity index 100%rename from app/Http/Controllers/Auth/LoginController.phprename to api/app/Http/Controllers/Auth/LoginController.phpdiff --git a/app/Http/Controllers/Auth/OAuthController.php b/api/app/Http/Controllers/Auth/OAuthController.phpsimilarity index 100%rename from app/Http/Controllers/Auth/OAuthController.phprename to api/app/Http/Controllers/Auth/OAuthController.phpdiff --git a/app/Http/Controllers/Auth/RegisterController.php b/api/app/Http/Controllers/Auth/RegisterController.phpsimilarity index 100%rename from app/Http/Controllers/Auth/RegisterController.phprename to api/app/Http/Controllers/Auth/RegisterController.phpdiff --git a/app/Http/Controllers/Auth/ResetPasswordController.php b/api/app/Http/Controllers/Auth/ResetPasswordController.phpsimilarity index 100%rename from app/Http/Controllers/Auth/ResetPasswordController.phprename to api/app/Http/Controllers/Auth/ResetPasswordController.phpdiff --git a/app/Http/Controllers/Auth/UserController.php b/api/app/Http/Controllers/Auth/UserController.phpsimilarity index 100%rename from app/Http/Controllers/Auth/UserController.phprename to api/app/Http/Controllers/Auth/UserController.phpdiff --git a/app/Http/Controllers/Auth/VerificationController.php b/api/app/Http/Controllers/Auth/VerificationController.phpsimilarity index 100%rename from app/Http/Controllers/Auth/VerificationController.phprename to api/app/Http/Controllers/Auth/VerificationController.phpdiff --git a/app/Http/Controllers/CaddyController.php b/api/app/Http/Controllers/CaddyController.phpsimilarity index 100%rename from app/Http/Controllers/CaddyController.phprename to api/app/Http/Controllers/CaddyController.phpdiff --git a/app/Http/Controllers/Content/ChangelogController.php b/api/app/Http/Controllers/Content/ChangelogController.phpsimilarity index 100%rename from app/Http/Controllers/Content/ChangelogController.phprename to api/app/Http/Controllers/Content/ChangelogController.phpdiff --git a/app/Http/Controllers/Content/FileUploadController.php b/api/app/Http/Controllers/Content/FileUploadController.phpsimilarity index 100%rename from app/Http/Controllers/Content/FileUploadController.phprename to api/app/Http/Controllers/Content/FileUploadController.phpdiff --git a/app/Http/Controllers/Content/SignedStorageUrlController.php b/api/app/Http/Controllers/Content/SignedStorageUrlController.phpsimilarity index 100%rename from app/Http/Controllers/Content/SignedStorageUrlController.phprename to api/app/Http/Controllers/Content/SignedStorageUrlController.phpdiff --git a/app/Http/Controllers/Controller.php b/api/app/Http/Controllers/Controller.phpsimilarity index 100%rename from app/Http/Controllers/Controller.phprename to api/app/Http/Controllers/Controller.phpdiff --git a/app/Http/Controllers/FontsController.php b/api/app/Http/Controllers/FontsController.phpsimilarity index 100%rename from app/Http/Controllers/FontsController.phprename to api/app/Http/Controllers/FontsController.phpdiff --git a/app/Http/Controllers/Forms/AiFormController.php b/api/app/Http/Controllers/Forms/AiFormController.phpsimilarity index 100%rename from app/Http/Controllers/Forms/AiFormController.phprename to api/app/Http/Controllers/Forms/AiFormController.phpdiff --git a/app/Http/Controllers/Forms/FormController.php b/api/app/Http/Controllers/Forms/FormController.phpsimilarity index 100%rename from app/Http/Controllers/Forms/FormController.phprename to api/app/Http/Controllers/Forms/FormController.phpdiff --git a/app/Http/Controllers/Forms/FormStatsController.php b/api/app/Http/Controllers/Forms/FormStatsController.phpsimilarity index 100%rename from app/Http/Controllers/Forms/FormStatsController.phprename to api/app/Http/Controllers/Forms/FormStatsController.phpdiff --git a/app/Http/Controllers/Forms/FormSubmissionController.php b/api/app/Http/Controllers/Forms/FormSubmissionController.phpsimilarity index 100%rename from app/Http/Controllers/Forms/FormSubmissionController.phprename to api/app/Http/Controllers/Forms/FormSubmissionController.phpdiff --git a/app/Http/Controllers/Forms/Integration/FormIntegrationsController.php b/api/app/Http/Controllers/Forms/Integration/FormIntegrationsController.phpsimilarity index 100%rename from app/Http/Controllers/Forms/Integration/FormIntegrationsController.phprename to api/app/Http/Controllers/Forms/Integration/FormIntegrationsController.phpdiff --git a/app/Http/Controllers/Forms/Integration/FormIntegrationsEventController.php b/api/app/Http/Controllers/Forms/Integration/FormIntegrationsEventController.phpsimilarity index 100%rename from app/Http/Controllers/Forms/Integration/FormIntegrationsEventController.phprename to api/app/Http/Controllers/Forms/Integration/FormIntegrationsEventController.phpdiff --git a/app/Http/Controllers/Forms/Integration/FormZapierWebhookController.php b/api/app/Http/Controllers/Forms/Integration/FormZapierWebhookController.phpsimilarity index 100%rename from app/Http/Controllers/Forms/Integration/FormZapierWebhookController.phprename to api/app/Http/Controllers/Forms/Integration/FormZapierWebhookController.phpdiff --git a/app/Http/Controllers/Forms/PublicFormController.php b/api/app/Http/Controllers/Forms/PublicFormController.phpsimilarity index 100%rename from app/Http/Controllers/Forms/PublicFormController.phprename to api/app/Http/Controllers/Forms/PublicFormController.phpdiff --git a/app/Http/Controllers/Forms/RecordController.php b/api/app/Http/Controllers/Forms/RecordController.phpsimilarity index 100%rename from app/Http/Controllers/Forms/RecordController.phprename to api/app/Http/Controllers/Forms/RecordController.phpdiff --git a/app/Http/Controllers/Integrations/Zapier/IntegrationController.php b/api/app/Http/Controllers/Integrations/Zapier/IntegrationController.phpsimilarity index 100%rename from app/Http/Controllers/Integrations/Zapier/IntegrationController.phprename to api/app/Http/Controllers/Integrations/Zapier/IntegrationController.phpdiff --git a/app/Http/Controllers/Integrations/Zapier/ListFormsController.php b/api/app/Http/Controllers/Integrations/Zapier/ListFormsController.phpsimilarity index 100%rename from app/Http/Controllers/Integrations/Zapier/ListFormsController.phprename to api/app/Http/Controllers/Integrations/Zapier/ListFormsController.phpdiff --git a/app/Http/Controllers/Integrations/Zapier/ListWorkspacesController.php b/api/app/Http/Controllers/Integrations/Zapier/ListWorkspacesController.phpsimilarity index 100%rename from app/Http/Controllers/Integrations/Zapier/ListWorkspacesController.phprename to api/app/Http/Controllers/Integrations/Zapier/ListWorkspacesController.phpdiff --git a/app/Http/Controllers/Integrations/Zapier/ValidateAuthController.php b/api/app/Http/Controllers/Integrations/Zapier/ValidateAuthController.phpsimilarity index 100%rename from app/Http/Controllers/Integrations/Zapier/ValidateAuthController.phprename to api/app/Http/Controllers/Integrations/Zapier/ValidateAuthController.phpdiff --git a/app/Http/Controllers/Settings/OAuthProviderController.php b/api/app/Http/Controllers/Settings/OAuthProviderController.phpsimilarity index 100%rename from app/Http/Controllers/Settings/OAuthProviderController.phprename to api/app/Http/Controllers/Settings/OAuthProviderController.phpdiff --git a/app/Http/Controllers/Settings/PasswordController.php b/api/app/Http/Controllers/Settings/PasswordController.phpsimilarity index 100%rename from app/Http/Controllers/Settings/PasswordController.phprename to api/app/Http/Controllers/Settings/PasswordController.phpdiff --git a/app/Http/Controllers/Settings/ProfileController.php b/api/app/Http/Controllers/Settings/ProfileController.phpsimilarity index 100%rename from app/Http/Controllers/Settings/ProfileController.phprename to api/app/Http/Controllers/Settings/ProfileController.phpdiff --git a/app/Http/Controllers/Settings/TokenController.php b/api/app/Http/Controllers/Settings/TokenController.phpsimilarity index 100%rename from app/Http/Controllers/Settings/TokenController.phprename to api/app/Http/Controllers/Settings/TokenController.phpdiff --git a/app/Http/Controllers/SitemapController.php b/api/app/Http/Controllers/SitemapController.phpsimilarity index 100%rename from app/Http/Controllers/SitemapController.phprename to api/app/Http/Controllers/SitemapController.phpdiff --git a/app/Http/Controllers/SubscriptionController.php b/api/app/Http/Controllers/SubscriptionController.phpsimilarity index 100%rename from app/Http/Controllers/SubscriptionController.phprename to api/app/Http/Controllers/SubscriptionController.phpdiff --git a/app/Http/Controllers/TemplateController.php b/api/app/Http/Controllers/TemplateController.phpsimilarity index 100%rename from app/Http/Controllers/TemplateController.phprename to api/app/Http/Controllers/TemplateController.phpdiff --git a/app/Http/Controllers/UserInviteController.php b/api/app/Http/Controllers/UserInviteController.phpsimilarity index 100%rename from app/Http/Controllers/UserInviteController.phprename to api/app/Http/Controllers/UserInviteController.phpdiff --git a/app/Http/Controllers/Webhook/AppSumoController.php b/api/app/Http/Controllers/Webhook/AppSumoController.phpsimilarity index 100%rename from app/Http/Controllers/Webhook/AppSumoController.phprename to api/app/Http/Controllers/Webhook/AppSumoController.phpdiff --git a/app/Http/Controllers/Webhook/StripeController.php b/api/app/Http/Controllers/Webhook/StripeController.phpsimilarity index 100%rename from app/Http/Controllers/Webhook/StripeController.phprename to api/app/Http/Controllers/Webhook/StripeController.phpdiff --git a/app/Http/Controllers/WorkspaceController.php b/api/app/Http/Controllers/WorkspaceController.phpsimilarity index 100%rename from app/Http/Controllers/WorkspaceController.phprename to api/app/Http/Controllers/WorkspaceController.phpdiff --git a/app/Http/Controllers/WorkspaceUserController.php b/api/app/Http/Controllers/WorkspaceUserController.phpsimilarity index 100%rename from app/Http/Controllers/WorkspaceUserController.phprename to api/app/Http/Controllers/WorkspaceUserController.phpdiff --git a/app/Http/Kernel.php b/api/app/Http/Kernel.phpsimilarity index 100%rename from app/Http/Kernel.phprename to api/app/Http/Kernel.phpdiff --git a/app/Http/Middleware/AcceptsJsonMiddleware.php b/api/app/Http/Middleware/AcceptsJsonMiddleware.phpsimilarity index 100%rename from app/Http/Middleware/AcceptsJsonMiddleware.phprename to api/app/Http/Middleware/AcceptsJsonMiddleware.phpdiff --git a/app/Http/Middleware/Authenticate.php b/api/app/Http/Middleware/Authenticate.phpsimilarity index 100%rename from app/Http/Middleware/Authenticate.phprename to api/app/Http/Middleware/Authenticate.phpdiff --git a/app/Http/Middleware/AuthenticateJWT.php b/api/app/Http/Middleware/AuthenticateJWT.phpsimilarity index 100%rename from app/Http/Middleware/AuthenticateJWT.phprename to api/app/Http/Middleware/AuthenticateJWT.phpdiff --git a/app/Http/Middleware/CaddyRequestMiddleware.php b/api/app/Http/Middleware/CaddyRequestMiddleware.phpsimilarity index 100%rename from app/Http/Middleware/CaddyRequestMiddleware.phprename to api/app/Http/Middleware/CaddyRequestMiddleware.phpdiff --git a/app/Http/Middleware/CustomDomainRestriction.php b/api/app/Http/Middleware/CustomDomainRestriction.phpsimilarity index 100%rename from app/Http/Middleware/CustomDomainRestriction.phprename to api/app/Http/Middleware/CustomDomainRestriction.phpdiff --git a/app/Http/Middleware/EncryptCookies.php b/api/app/Http/Middleware/EncryptCookies.phpsimilarity index 100%rename from app/Http/Middleware/EncryptCookies.phprename to api/app/Http/Middleware/EncryptCookies.phpdiff --git a/app/Http/Middleware/Form/ProForm.php b/api/app/Http/Middleware/Form/ProForm.phpsimilarity index 100%rename from app/Http/Middleware/Form/ProForm.phprename to api/app/Http/Middleware/Form/ProForm.phpdiff --git a/app/Http/Middleware/Form/ProtectedForm.php b/api/app/Http/Middleware/Form/ProtectedForm.phpsimilarity index 100%rename from app/Http/Middleware/Form/ProtectedForm.phprename to api/app/Http/Middleware/Form/ProtectedForm.phpdiff --git a/app/Http/Middleware/Form/ResolveFormMiddleware.php b/api/app/Http/Middleware/Form/ResolveFormMiddleware.phpsimilarity index 100%rename from app/Http/Middleware/Form/ResolveFormMiddleware.phprename to api/app/Http/Middleware/Form/ResolveFormMiddleware.phpdiff --git a/app/Http/Middleware/ImpersonationMiddleware.php b/api/app/Http/Middleware/ImpersonationMiddleware.phpsimilarity index 100%rename from app/Http/Middleware/ImpersonationMiddleware.phprename to api/app/Http/Middleware/ImpersonationMiddleware.phpdiff --git a/app/Http/Middleware/IsAdmin.php b/api/app/Http/Middleware/IsAdmin.phpsimilarity index 100%rename from app/Http/Middleware/IsAdmin.phprename to api/app/Http/Middleware/IsAdmin.phpdiff --git a/app/Http/Middleware/IsModerator.php b/api/app/Http/Middleware/IsModerator.phpsimilarity index 100%rename from app/Http/Middleware/IsModerator.phprename to api/app/Http/Middleware/IsModerator.phpdiff --git a/app/Http/Middleware/IsNotSubscribed.php b/api/app/Http/Middleware/IsNotSubscribed.phpsimilarity index 100%rename from app/Http/Middleware/IsNotSubscribed.phprename to api/app/Http/Middleware/IsNotSubscribed.phpdiff --git a/app/Http/Middleware/IsSubscribed.php b/api/app/Http/Middleware/IsSubscribed.phpsimilarity index 100%rename from app/Http/Middleware/IsSubscribed.phprename to api/app/Http/Middleware/IsSubscribed.phpdiff --git a/app/Http/Middleware/PreventRequestsDuringMaintenance.php b/api/app/Http/Middleware/PreventRequestsDuringMaintenance.phpsimilarity index 100%rename from app/Http/Middleware/PreventRequestsDuringMaintenance.phprename to api/app/Http/Middleware/PreventRequestsDuringMaintenance.phpdiff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/api/app/Http/Middleware/RedirectIfAuthenticated.phpsimilarity index 100%rename from app/Http/Middleware/RedirectIfAuthenticated.phprename to api/app/Http/Middleware/RedirectIfAuthenticated.phpdiff --git a/app/Http/Middleware/SelfHostedCredentialsMiddleware.php b/api/app/Http/Middleware/SelfHostedCredentialsMiddleware.phpsimilarity index 100%rename from app/Http/Middleware/SelfHostedCredentialsMiddleware.phprename to api/app/Http/Middleware/SelfHostedCredentialsMiddleware.phpdiff --git a/app/Http/Middleware/SetLocale.php b/api/app/Http/Middleware/SetLocale.phpsimilarity index 100%rename from app/Http/Middleware/SetLocale.phprename to api/app/Http/Middleware/SetLocale.phpdiff --git a/app/Http/Middleware/TrimStrings.php b/api/app/Http/Middleware/TrimStrings.phpsimilarity index 100%rename from app/Http/Middleware/TrimStrings.phprename to api/app/Http/Middleware/TrimStrings.phpdiff --git a/app/Http/Middleware/TrustHosts.php b/api/app/Http/Middleware/TrustHosts.phpsimilarity index 100%rename from app/Http/Middleware/TrustHosts.phprename to api/app/Http/Middleware/TrustHosts.phpdiff --git a/app/Http/Middleware/TrustProxies.php b/api/app/Http/Middleware/TrustProxies.phpsimilarity index 100%rename from app/Http/Middleware/TrustProxies.phprename to api/app/Http/Middleware/TrustProxies.phpdiff --git a/app/Http/Middleware/VerifyCsrfToken.php b/api/app/Http/Middleware/VerifyCsrfToken.phpsimilarity index 100%rename from app/Http/Middleware/VerifyCsrfToken.phprename to api/app/Http/Middleware/VerifyCsrfToken.phpdiff --git a/app/Http/Requests/AiGenerateFormRequest.php b/api/app/Http/Requests/AiGenerateFormRequest.phpsimilarity index 100%rename from app/Http/Requests/AiGenerateFormRequest.phprename to api/app/Http/Requests/AiGenerateFormRequest.phpdiff --git a/app/Http/Requests/AnswerFormRequest.php b/api/app/Http/Requests/AnswerFormRequest.phpsimilarity index 100%rename from app/Http/Requests/AnswerFormRequest.phprename to api/app/Http/Requests/AnswerFormRequest.phpdiff --git a/app/Http/Requests/CreateTokenRequest.php b/api/app/Http/Requests/CreateTokenRequest.phpsimilarity index 100%rename from app/Http/Requests/CreateTokenRequest.phprename to api/app/Http/Requests/CreateTokenRequest.phpdiff --git a/app/Http/Requests/Integration/FormIntegrationsRequest.php b/api/app/Http/Requests/Integration/FormIntegrationsRequest.phpsimilarity index 100%rename from app/Http/Requests/Integration/FormIntegrationsRequest.phprename to api/app/Http/Requests/Integration/FormIntegrationsRequest.phpdiff --git a/app/Http/Requests/Integration/StoreFormZapierWebhookRequest.php b/api/app/Http/Requests/Integration/StoreFormZapierWebhookRequest.phpsimilarity index 100%rename from app/Http/Requests/Integration/StoreFormZapierWebhookRequest.phprename to api/app/Http/Requests/Integration/StoreFormZapierWebhookRequest.phpdiff --git a/app/Http/Requests/Integration/Zapier/PollSubmissionRequest.php b/api/app/Http/Requests/Integration/Zapier/PollSubmissionRequest.phpsimilarity index 100%rename from app/Http/Requests/Integration/Zapier/PollSubmissionRequest.phprename to api/app/Http/Requests/Integration/Zapier/PollSubmissionRequest.phpdiff --git a/app/Http/Requests/StoreFormRequest.php b/api/app/Http/Requests/StoreFormRequest.phpsimilarity index 100%rename from app/Http/Requests/StoreFormRequest.phprename to api/app/Http/Requests/StoreFormRequest.phpdiff --git a/app/Http/Requests/Subscriptions/UpdateStripeDetailsRequest.php b/api/app/Http/Requests/Subscriptions/UpdateStripeDetailsRequest.phpsimilarity index 100%rename from app/Http/Requests/Subscriptions/UpdateStripeDetailsRequest.phprename to api/app/Http/Requests/Subscriptions/UpdateStripeDetailsRequest.phpdiff --git a/app/Http/Requests/Templates/FormTemplateRequest.php b/api/app/Http/Requests/Templates/FormTemplateRequest.phpsimilarity index 100%rename from app/Http/Requests/Templates/FormTemplateRequest.phprename to api/app/Http/Requests/Templates/FormTemplateRequest.phpdiff --git a/app/Http/Requests/UpdateFormRequest.php b/api/app/Http/Requests/UpdateFormRequest.phpsimilarity index 100%rename from app/Http/Requests/UpdateFormRequest.phprename to api/app/Http/Requests/UpdateFormRequest.phpdiff --git a/app/Http/Requests/UploadAssetRequest.php b/api/app/Http/Requests/UploadAssetRequest.phpsimilarity index 100%rename from app/Http/Requests/UploadAssetRequest.phprename to api/app/Http/Requests/UploadAssetRequest.phpdiff --git a/app/Http/Requests/UserFormRequest.php b/api/app/Http/Requests/UserFormRequest.phpsimilarity index 100%rename from app/Http/Requests/UserFormRequest.phprename to api/app/Http/Requests/UserFormRequest.phpdiff --git a/app/Http/Requests/Workspace/CustomDomainRequest.php b/api/app/Http/Requests/Workspace/CustomDomainRequest.phpsimilarity index 100%rename from app/Http/Requests/Workspace/CustomDomainRequest.phprename to api/app/Http/Requests/Workspace/CustomDomainRequest.phpdiff --git a/app/Http/Requests/Zapier/CreateIntegrationRequest.php b/api/app/Http/Requests/Zapier/CreateIntegrationRequest.phpsimilarity index 100%rename from app/Http/Requests/Zapier/CreateIntegrationRequest.phprename to api/app/Http/Requests/Zapier/CreateIntegrationRequest.phpdiff --git a/app/Http/Requests/Zapier/DeleteIntegrationRequest.php b/api/app/Http/Requests/Zapier/DeleteIntegrationRequest.phpsimilarity index 100%rename from app/Http/Requests/Zapier/DeleteIntegrationRequest.phprename to api/app/Http/Requests/Zapier/DeleteIntegrationRequest.phpdiff --git a/app/Http/Requests/Zapier/ListFormsRequest.php b/api/app/Http/Requests/Zapier/ListFormsRequest.phpsimilarity index 100%rename from app/Http/Requests/Zapier/ListFormsRequest.phprename to api/app/Http/Requests/Zapier/ListFormsRequest.phpdiff --git a/app/Http/Resources/FormIntegrationResource.php b/api/app/Http/Resources/FormIntegrationResource.phpsimilarity index 100%rename from app/Http/Resources/FormIntegrationResource.phprename to api/app/Http/Resources/FormIntegrationResource.phpdiff --git a/app/Http/Resources/FormIntegrationsEventResource.php b/api/app/Http/Resources/FormIntegrationsEventResource.phpsimilarity index 100%rename from app/Http/Resources/FormIntegrationsEventResource.phprename to api/app/Http/Resources/FormIntegrationsEventResource.phpdiff --git a/app/Http/Resources/FormResource.php b/api/app/Http/Resources/FormResource.phpsimilarity index 100%rename from app/Http/Resources/FormResource.phprename to api/app/Http/Resources/FormResource.phpdiff --git a/app/Http/Resources/FormSubmissionResource.php b/api/app/Http/Resources/FormSubmissionResource.phpsimilarity index 100%rename from app/Http/Resources/FormSubmissionResource.phprename to api/app/Http/Resources/FormSubmissionResource.phpdiff --git a/app/Http/Resources/FormTemplateResource.php b/api/app/Http/Resources/FormTemplateResource.phpsimilarity index 100%rename from app/Http/Resources/FormTemplateResource.phprename to api/app/Http/Resources/FormTemplateResource.phpdiff --git a/app/Http/Resources/OAuthProviderResource.php b/api/app/Http/Resources/OAuthProviderResource.phpsimilarity index 100%rename from app/Http/Resources/OAuthProviderResource.phprename to api/app/Http/Resources/OAuthProviderResource.phpdiff --git a/app/Http/Resources/OAuthProviderUserResource.php b/api/app/Http/Resources/OAuthProviderUserResource.phpsimilarity index 100%rename from app/Http/Resources/OAuthProviderUserResource.phprename to api/app/Http/Resources/OAuthProviderUserResource.phpdiff --git a/app/Http/Resources/TokenResource.php b/api/app/Http/Resources/TokenResource.phpsimilarity index 100%rename from app/Http/Resources/TokenResource.phprename to api/app/Http/Resources/TokenResource.phpdiff --git a/app/Http/Resources/UserResource.php b/api/app/Http/Resources/UserResource.phpsimilarity index 100%rename from app/Http/Resources/UserResource.phprename to api/app/Http/Resources/UserResource.phpdiff --git a/app/Http/Resources/WorkspaceResource.php b/api/app/Http/Resources/WorkspaceResource.phpsimilarity index 100%rename from app/Http/Resources/WorkspaceResource.phprename to api/app/Http/Resources/WorkspaceResource.phpdiff --git a/app/Http/Resources/Zapier/FormResource.php b/api/app/Http/Resources/Zapier/FormResource.phpsimilarity index 100%rename from app/Http/Resources/Zapier/FormResource.phprename to api/app/Http/Resources/Zapier/FormResource.phpdiff --git a/app/Http/Resources/Zapier/WorkspaceResource.php b/api/app/Http/Resources/Zapier/WorkspaceResource.phpsimilarity index 100%rename from app/Http/Resources/Zapier/WorkspaceResource.phprename to api/app/Http/Resources/Zapier/WorkspaceResource.phpdiff --git a/app/Integrations/Data/SpreadsheetData.php b/api/app/Integrations/Data/SpreadsheetData.phpsimilarity index 100%rename from app/Integrations/Data/SpreadsheetData.phprename to api/app/Integrations/Data/SpreadsheetData.phpdiff --git a/app/Integrations/Google/Google.php b/api/app/Integrations/Google/Google.phpsimilarity index 100%rename from app/Integrations/Google/Google.phprename to api/app/Integrations/Google/Google.phpdiff --git a/app/Integrations/Google/Sheets/SpreadsheetManager.php b/api/app/Integrations/Google/Sheets/SpreadsheetManager.phpsimilarity index 100%rename from app/Integrations/Google/Sheets/SpreadsheetManager.phprename to api/app/Integrations/Google/Sheets/SpreadsheetManager.phpdiff --git a/app/Integrations/Handlers/AbstractIntegrationHandler.php b/api/app/Integrations/Handlers/AbstractIntegrationHandler.phpsimilarity index 100%rename from app/Integrations/Handlers/AbstractIntegrationHandler.phprename to api/app/Integrations/Handlers/AbstractIntegrationHandler.phpdiff --git a/app/Integrations/Handlers/DiscordIntegration.php b/api/app/Integrations/Handlers/DiscordIntegration.phpsimilarity index 100%rename from app/Integrations/Handlers/DiscordIntegration.phprename to api/app/Integrations/Handlers/DiscordIntegration.phpdiff --git a/app/Integrations/Handlers/EmailIntegration.php b/api/app/Integrations/Handlers/EmailIntegration.phpsimilarity index 100%rename from app/Integrations/Handlers/EmailIntegration.phprename to api/app/Integrations/Handlers/EmailIntegration.phpdiff --git a/app/Integrations/Handlers/Events/AbstractIntegrationCreated.php b/api/app/Integrations/Handlers/Events/AbstractIntegrationCreated.phpsimilarity index 100%rename from app/Integrations/Handlers/Events/AbstractIntegrationCreated.phprename to api/app/Integrations/Handlers/Events/AbstractIntegrationCreated.phpdiff --git a/app/Integrations/Handlers/Events/GoogleSheetsIntegrationCreated.php b/api/app/Integrations/Handlers/Events/GoogleSheetsIntegrationCreated.phpsimilarity index 100%rename from app/Integrations/Handlers/Events/GoogleSheetsIntegrationCreated.phprename to api/app/Integrations/Handlers/Events/GoogleSheetsIntegrationCreated.phpdiff --git a/app/Integrations/Handlers/GoogleSheetsIntegration.php b/api/app/Integrations/Handlers/GoogleSheetsIntegration.phpsimilarity index 100%rename from app/Integrations/Handlers/GoogleSheetsIntegration.phprename to api/app/Integrations/Handlers/GoogleSheetsIntegration.phpdiff --git a/app/Integrations/Handlers/SlackIntegration.php b/api/app/Integrations/Handlers/SlackIntegration.phpsimilarity index 100%rename from app/Integrations/Handlers/SlackIntegration.phprename to api/app/Integrations/Handlers/SlackIntegration.phpdiff --git a/app/Integrations/Handlers/SubmissionConfirmationIntegration.php b/api/app/Integrations/Handlers/SubmissionConfirmationIntegration.phpsimilarity index 100%rename from app/Integrations/Handlers/SubmissionConfirmationIntegration.phprename to api/app/Integrations/Handlers/SubmissionConfirmationIntegration.phpdiff --git a/app/Integrations/Handlers/WebhookIntegration.php b/api/app/Integrations/Handlers/WebhookIntegration.phpsimilarity index 100%rename from app/Integrations/Handlers/WebhookIntegration.phprename to api/app/Integrations/Handlers/WebhookIntegration.phpdiff --git a/app/Integrations/Handlers/ZapierIntegration.php b/api/app/Integrations/Handlers/ZapierIntegration.phpsimilarity index 100%rename from app/Integrations/Handlers/ZapierIntegration.phprename to api/app/Integrations/Handlers/ZapierIntegration.phpdiff --git a/app/Integrations/OAuth/Drivers/Contracts/OAuthDriver.php b/api/app/Integrations/OAuth/Drivers/Contracts/OAuthDriver.phpsimilarity index 100%rename from app/Integrations/OAuth/Drivers/Contracts/OAuthDriver.phprename to api/app/Integrations/OAuth/Drivers/Contracts/OAuthDriver.phpdiff --git a/app/Integrations/OAuth/Drivers/OAuthGoogleDriver.php b/api/app/Integrations/OAuth/Drivers/OAuthGoogleDriver.phpsimilarity index 100%rename from app/Integrations/OAuth/Drivers/OAuthGoogleDriver.phprename to api/app/Integrations/OAuth/Drivers/OAuthGoogleDriver.phpdiff --git a/app/Integrations/OAuth/OAuthProviderService.php b/api/app/Integrations/OAuth/OAuthProviderService.phpsimilarity index 100%rename from app/Integrations/OAuth/OAuthProviderService.phprename to api/app/Integrations/OAuth/OAuthProviderService.phpdiff --git a/app/Jobs/Billing/RemoveWorkspaceGuests.php b/api/app/Jobs/Billing/RemoveWorkspaceGuests.phpsimilarity index 100%rename from app/Jobs/Billing/RemoveWorkspaceGuests.phprename to api/app/Jobs/Billing/RemoveWorkspaceGuests.phpdiff --git a/app/Jobs/Billing/WorkspaceUsersUpdated.php b/api/app/Jobs/Billing/WorkspaceUsersUpdated.phpsimilarity index 100%rename from app/Jobs/Billing/WorkspaceUsersUpdated.phprename to api/app/Jobs/Billing/WorkspaceUsersUpdated.phpdiff --git a/app/Jobs/Form/GenerateAiForm.php b/api/app/Jobs/Form/GenerateAiForm.phpsimilarity index 100%rename from app/Jobs/Form/GenerateAiForm.phprename to api/app/Jobs/Form/GenerateAiForm.phpdiff --git a/app/Jobs/Form/StoreFormSubmissionJob.php b/api/app/Jobs/Form/StoreFormSubmissionJob.phpsimilarity index 100%rename from app/Jobs/Form/StoreFormSubmissionJob.phprename to api/app/Jobs/Form/StoreFormSubmissionJob.phpdiff --git a/app/Listeners/Billing/HandleSubscriptionCreated.php b/api/app/Listeners/Billing/HandleSubscriptionCreated.phpsimilarity index 100%rename from app/Listeners/Billing/HandleSubscriptionCreated.phprename to api/app/Listeners/Billing/HandleSubscriptionCreated.phpdiff --git a/app/Listeners/Billing/RemoveWorkspaceGuestsIfNeeded.php b/api/app/Listeners/Billing/RemoveWorkspaceGuestsIfNeeded.phpsimilarity index 100%rename from app/Listeners/Billing/RemoveWorkspaceGuestsIfNeeded.phprename to api/app/Listeners/Billing/RemoveWorkspaceGuestsIfNeeded.phpdiff --git a/app/Listeners/Forms/FormCreationConfirmation.php b/api/app/Listeners/Forms/FormCreationConfirmation.phpsimilarity index 100%rename from app/Listeners/Forms/FormCreationConfirmation.phprename to api/app/Listeners/Forms/FormCreationConfirmation.phpdiff --git a/app/Listeners/Forms/FormIntegrationCreatedHandler.php b/api/app/Listeners/Forms/FormIntegrationCreatedHandler.phpsimilarity index 100%rename from app/Listeners/Forms/FormIntegrationCreatedHandler.phprename to api/app/Listeners/Forms/FormIntegrationCreatedHandler.phpdiff --git a/app/Listeners/Forms/FormIntegrationsEventListener.php b/api/app/Listeners/Forms/FormIntegrationsEventListener.phpsimilarity index 100%rename from app/Listeners/Forms/FormIntegrationsEventListener.phprename to api/app/Listeners/Forms/FormIntegrationsEventListener.phpdiff --git a/app/Listeners/Forms/NotifyFormSubmission.php b/api/app/Listeners/Forms/NotifyFormSubmission.phpsimilarity index 100%rename from app/Listeners/Forms/NotifyFormSubmission.phprename to api/app/Listeners/Forms/NotifyFormSubmission.phpdiff --git a/app/Mail/Forms/FormCreationConfirmationMail.php b/api/app/Mail/Forms/FormCreationConfirmationMail.phpsimilarity index 100%rename from app/Mail/Forms/FormCreationConfirmationMail.phprename to api/app/Mail/Forms/FormCreationConfirmationMail.phpdiff --git a/app/Mail/Forms/FormIntegrationsEventCreationConfirmationMail.php b/api/app/Mail/Forms/FormIntegrationsEventCreationConfirmationMail.phpsimilarity index 100%rename from app/Mail/Forms/FormIntegrationsEventCreationConfirmationMail.phprename to api/app/Mail/Forms/FormIntegrationsEventCreationConfirmationMail.phpdiff --git a/app/Mail/Forms/SubmissionConfirmationMail.php b/api/app/Mail/Forms/SubmissionConfirmationMail.phpsimilarity index 100%rename from app/Mail/Forms/SubmissionConfirmationMail.phprename to api/app/Mail/Forms/SubmissionConfirmationMail.phpdiff --git a/app/Mail/OpenFormMail.php b/api/app/Mail/OpenFormMail.phpsimilarity index 100%rename from app/Mail/OpenFormMail.phprename to api/app/Mail/OpenFormMail.phpdiff --git a/app/Mail/UserInvitationEmail.php b/api/app/Mail/UserInvitationEmail.phpsimilarity index 100%rename from app/Mail/UserInvitationEmail.phprename to api/app/Mail/UserInvitationEmail.phpdiff --git a/app/Models/Billing/Subscription.php b/api/app/Models/Billing/Subscription.phpsimilarity index 100%rename from app/Models/Billing/Subscription.phprename to api/app/Models/Billing/Subscription.phpdiff --git a/app/Models/Forms/AI/AiFormCompletion.php b/api/app/Models/Forms/AI/AiFormCompletion.phpsimilarity index 100%rename from app/Models/Forms/AI/AiFormCompletion.phprename to api/app/Models/Forms/AI/AiFormCompletion.phpdiff --git a/app/Models/Forms/Form.php b/api/app/Models/Forms/Form.phpsimilarity index 100%rename from app/Models/Forms/Form.phprename to api/app/Models/Forms/Form.phpdiff --git a/app/Models/Forms/FormStatistic.php b/api/app/Models/Forms/FormStatistic.phpsimilarity index 100%rename from app/Models/Forms/FormStatistic.phprename to api/app/Models/Forms/FormStatistic.phpdiff --git a/app/Models/Forms/FormSubmission.php b/api/app/Models/Forms/FormSubmission.phpsimilarity index 100%rename from app/Models/Forms/FormSubmission.phprename to api/app/Models/Forms/FormSubmission.phpdiff --git a/app/Models/Forms/FormView.php b/api/app/Models/Forms/FormView.phpsimilarity index 100%rename from app/Models/Forms/FormView.phprename to api/app/Models/Forms/FormView.phpdiff --git a/app/Models/Integration/FormIntegration.php b/api/app/Models/Integration/FormIntegration.phpsimilarity index 100%rename from app/Models/Integration/FormIntegration.phprename to api/app/Models/Integration/FormIntegration.phpdiff --git a/app/Models/Integration/FormIntegrationsEvent.php b/api/app/Models/Integration/FormIntegrationsEvent.phpsimilarity index 100%rename from app/Models/Integration/FormIntegrationsEvent.phprename to api/app/Models/Integration/FormIntegrationsEvent.phpdiff --git a/app/Models/Integration/FormZapierWebhook.php b/api/app/Models/Integration/FormZapierWebhook.phpsimilarity index 100%rename from app/Models/Integration/FormZapierWebhook.phprename to api/app/Models/Integration/FormZapierWebhook.phpdiff --git a/app/Models/License.php b/api/app/Models/License.phpsimilarity index 100%rename from app/Models/License.phprename to api/app/Models/License.phpdiff --git a/app/Models/OAuthProvider.php b/api/app/Models/OAuthProvider.phpsimilarity index 100%rename from app/Models/OAuthProvider.phprename to api/app/Models/OAuthProvider.phpdiff --git a/app/Models/Template.php b/api/app/Models/Template.phpsimilarity index 100%rename from app/Models/Template.phprename to api/app/Models/Template.phpdiff --git a/app/Models/Traits/CachableAttributes.php b/api/app/Models/Traits/CachableAttributes.phpsimilarity index 100%rename from app/Models/Traits/CachableAttributes.phprename to api/app/Models/Traits/CachableAttributes.phpdiff --git a/app/Models/Traits/CachesAttributes.php b/api/app/Models/Traits/CachesAttributes.phpsimilarity index 100%rename from app/Models/Traits/CachesAttributes.phprename to api/app/Models/Traits/CachesAttributes.phpdiff --git a/app/Models/User.php b/api/app/Models/User.phpsimilarity index 100%rename from app/Models/User.phprename to api/app/Models/User.phpdiff --git a/app/Models/UserInvite.php b/api/app/Models/UserInvite.phpsimilarity index 100%rename from app/Models/UserInvite.phprename to api/app/Models/UserInvite.phpdiff --git a/app/Models/UserWorkspace.php b/api/app/Models/UserWorkspace.phpsimilarity index 100%rename from app/Models/UserWorkspace.phprename to api/app/Models/UserWorkspace.phpdiff --git a/app/Models/Workspace.php b/api/app/Models/Workspace.phpsimilarity index 100%rename from app/Models/Workspace.phprename to api/app/Models/Workspace.phpdiff --git a/app/Notifications/Forms/FormSubmissionNotification.php b/api/app/Notifications/Forms/FormSubmissionNotification.phpsimilarity index 100%rename from app/Notifications/Forms/FormSubmissionNotification.phprename to api/app/Notifications/Forms/FormSubmissionNotification.phpdiff --git a/app/Notifications/ResetPassword.php b/api/app/Notifications/ResetPassword.phpsimilarity index 100%rename from app/Notifications/ResetPassword.phprename to api/app/Notifications/ResetPassword.phpdiff --git a/app/Notifications/Subscription/FailedPaymentNotification.php b/api/app/Notifications/Subscription/FailedPaymentNotification.phpsimilarity index 100%rename from app/Notifications/Subscription/FailedPaymentNotification.phprename to api/app/Notifications/Subscription/FailedPaymentNotification.phpdiff --git a/app/Notifications/VerifyEmail.php b/api/app/Notifications/VerifyEmail.phpsimilarity index 100%rename from app/Notifications/VerifyEmail.phprename to api/app/Notifications/VerifyEmail.phpdiff --git a/app/Policies/FormPolicy.php b/api/app/Policies/FormPolicy.phpsimilarity index 100%rename from app/Policies/FormPolicy.phprename to api/app/Policies/FormPolicy.phpdiff --git a/app/Policies/Integration/FormZapierWebhookPolicy.php b/api/app/Policies/Integration/FormZapierWebhookPolicy.phpsimilarity index 100%rename from app/Policies/Integration/FormZapierWebhookPolicy.phprename to api/app/Policies/Integration/FormZapierWebhookPolicy.phpdiff --git a/app/Policies/OAuthProviderPolicy.php b/api/app/Policies/OAuthProviderPolicy.phpsimilarity index 100%rename from app/Policies/OAuthProviderPolicy.phprename to api/app/Policies/OAuthProviderPolicy.phpdiff --git a/app/Policies/PersonalAccessTokenPolicy.php b/api/app/Policies/PersonalAccessTokenPolicy.phpsimilarity index 100%rename from app/Policies/PersonalAccessTokenPolicy.phprename to api/app/Policies/PersonalAccessTokenPolicy.phpdiff --git a/app/Policies/TemplatePolicy.php b/api/app/Policies/TemplatePolicy.phpsimilarity index 100%rename from app/Policies/TemplatePolicy.phprename to api/app/Policies/TemplatePolicy.phpdiff --git a/app/Policies/WorkspacePolicy.php b/api/app/Policies/WorkspacePolicy.phpsimilarity index 100%rename from app/Policies/WorkspacePolicy.phprename to api/app/Policies/WorkspacePolicy.phpdiff --git a/app/Providers/AppServiceProvider.php b/api/app/Providers/AppServiceProvider.phpsimilarity index 100%rename from app/Providers/AppServiceProvider.phprename to api/app/Providers/AppServiceProvider.phpdiff --git a/app/Providers/AuthServiceProvider.php b/api/app/Providers/AuthServiceProvider.phpsimilarity index 100%rename from app/Providers/AuthServiceProvider.phprename to api/app/Providers/AuthServiceProvider.phpdiff --git a/app/Providers/BroadcastServiceProvider.php b/api/app/Providers/BroadcastServiceProvider.phpsimilarity index 100%rename from app/Providers/BroadcastServiceProvider.phprename to api/app/Providers/BroadcastServiceProvider.phpdiff --git a/app/Providers/EventServiceProvider.php b/api/app/Providers/EventServiceProvider.phpsimilarity index 100%rename from app/Providers/EventServiceProvider.phprename to api/app/Providers/EventServiceProvider.phpdiff --git a/app/Providers/HorizonServiceProvider.php b/api/app/Providers/HorizonServiceProvider.phpsimilarity index 100%rename from app/Providers/HorizonServiceProvider.phprename to api/app/Providers/HorizonServiceProvider.phpdiff --git a/app/Providers/PurifySetupProvider.php b/api/app/Providers/PurifySetupProvider.phpsimilarity index 100%rename from app/Providers/PurifySetupProvider.phprename to api/app/Providers/PurifySetupProvider.phpdiff --git a/app/Providers/RouteServiceProvider.php b/api/app/Providers/RouteServiceProvider.phpsimilarity index 100%rename from app/Providers/RouteServiceProvider.phprename to api/app/Providers/RouteServiceProvider.phpdiff --git a/app/Providers/VaporUiServiceProvider.php b/api/app/Providers/VaporUiServiceProvider.phpsimilarity index 100%rename from app/Providers/VaporUiServiceProvider.phprename to api/app/Providers/VaporUiServiceProvider.phpdiff --git a/app/Rules/CustomFieldValidationRule.php b/api/app/Rules/CustomFieldValidationRule.phpsimilarity index 100%rename from app/Rules/CustomFieldValidationRule.phprename to api/app/Rules/CustomFieldValidationRule.phpdiff --git a/app/Rules/FormPropertyLogicRule.php b/api/app/Rules/FormPropertyLogicRule.phpsimilarity index 100%rename from app/Rules/FormPropertyLogicRule.phprename to api/app/Rules/FormPropertyLogicRule.phpdiff --git a/app/Rules/IntegrationLogicRule.php b/api/app/Rules/IntegrationLogicRule.phpsimilarity index 100%rename from app/Rules/IntegrationLogicRule.phprename to api/app/Rules/IntegrationLogicRule.phpdiff --git a/app/Rules/MatrixValidationRule.php b/api/app/Rules/MatrixValidationRule.phpsimilarity index 100%rename from app/Rules/MatrixValidationRule.phprename to api/app/Rules/MatrixValidationRule.phpdiff --git a/app/Rules/OneEmailPerLine.php b/api/app/Rules/OneEmailPerLine.phpsimilarity index 100%rename from app/Rules/OneEmailPerLine.phprename to api/app/Rules/OneEmailPerLine.phpdiff --git a/app/Rules/StorageFile.php b/api/app/Rules/StorageFile.phpsimilarity index 100%rename from app/Rules/StorageFile.phprename to api/app/Rules/StorageFile.phpdiff --git a/app/Rules/ValidHCaptcha.php b/api/app/Rules/ValidHCaptcha.phpsimilarity index 100%rename from app/Rules/ValidHCaptcha.phprename to api/app/Rules/ValidHCaptcha.phpdiff --git a/app/Rules/ValidPhoneInputRule.php b/api/app/Rules/ValidPhoneInputRule.phpsimilarity index 100%rename from app/Rules/ValidPhoneInputRule.phprename to api/app/Rules/ValidPhoneInputRule.phpdiff --git a/app/Rules/ValidUrl.php b/api/app/Rules/ValidUrl.phpsimilarity index 100%rename from app/Rules/ValidUrl.phprename to api/app/Rules/ValidUrl.phpdiff --git a/app/Service/BillingHelper.php b/api/app/Service/BillingHelper.phpsimilarity index 100%rename from app/Service/BillingHelper.phprename to api/app/Service/BillingHelper.phpdiff --git a/app/Service/Forms/FormCleaner.php b/api/app/Service/Forms/FormCleaner.phpsimilarity index 100%rename from app/Service/Forms/FormCleaner.phprename to api/app/Service/Forms/FormCleaner.phpdiff --git a/app/Service/Forms/FormLogicConditionChecker.php b/api/app/Service/Forms/FormLogicConditionChecker.phpsimilarity index 100%rename from app/Service/Forms/FormLogicConditionChecker.phprename to api/app/Service/Forms/FormLogicConditionChecker.phpdiff --git a/app/Service/Forms/FormLogicPropertyResolver.php b/api/app/Service/Forms/FormLogicPropertyResolver.phpsimilarity index 100%rename from app/Service/Forms/FormLogicPropertyResolver.phprename to api/app/Service/Forms/FormLogicPropertyResolver.phpdiff --git a/app/Service/Forms/FormSubmissionFormatter.php b/api/app/Service/Forms/FormSubmissionFormatter.phpsimilarity index 100%rename from app/Service/Forms/FormSubmissionFormatter.phprename to api/app/Service/Forms/FormSubmissionFormatter.phpdiff --git a/app/Service/HtmlPurifier/HTMLPurifier_URIScheme_notion.php b/api/app/Service/HtmlPurifier/HTMLPurifier_URIScheme_notion.phpsimilarity index 100%rename from app/Service/HtmlPurifier/HTMLPurifier_URIScheme_notion.phprename to api/app/Service/HtmlPurifier/HTMLPurifier_URIScheme_notion.phpdiff --git a/app/Service/OpenAi/GptCompleter.php b/api/app/Service/OpenAi/GptCompleter.phpsimilarity index 100%rename from app/Service/OpenAi/GptCompleter.phprename to api/app/Service/OpenAi/GptCompleter.phpdiff --git a/app/Service/OpenAi/Utils/JsonFixer.php b/api/app/Service/OpenAi/Utils/JsonFixer.phpsimilarity index 100%rename from app/Service/OpenAi/Utils/JsonFixer.phprename to api/app/Service/OpenAi/Utils/JsonFixer.phpdiff --git a/app/Service/OpenAi/Utils/PadsJson.php b/api/app/Service/OpenAi/Utils/PadsJson.phpsimilarity index 100%rename from app/Service/OpenAi/Utils/PadsJson.phprename to api/app/Service/OpenAi/Utils/PadsJson.phpdiff --git a/app/Service/SeoMetaResolver.php b/api/app/Service/SeoMetaResolver.phpsimilarity index 100%rename from app/Service/SeoMetaResolver.phprename to api/app/Service/SeoMetaResolver.phpdiff --git a/app/Service/Storage/S3KeyCleaner.php b/api/app/Service/Storage/S3KeyCleaner.phpsimilarity index 100%rename from app/Service/Storage/S3KeyCleaner.phprename to api/app/Service/Storage/S3KeyCleaner.phpdiff --git a/app/Service/Storage/StorageFileNameParser.php b/api/app/Service/Storage/StorageFileNameParser.phpsimilarity index 100%rename from app/Service/Storage/StorageFileNameParser.phprename to api/app/Service/Storage/StorageFileNameParser.phpdiff --git a/app/Service/UserHelper.php b/api/app/Service/UserHelper.phpsimilarity index 100%rename from app/Service/UserHelper.phprename to api/app/Service/UserHelper.phpdiff --git a/app/Service/WorkspaceHelper.php b/api/app/Service/WorkspaceHelper.phpsimilarity index 100%rename from app/Service/WorkspaceHelper.phprename to api/app/Service/WorkspaceHelper.phpdiff --git a/api/app/helpers.php b/api/app/helpers.phpnew file mode 100644index 000000000..f25c70556--- /dev/null+++ b/api/app/helpers.php@@ -0,0 +1,21 @@+<?php++if (!function_exists('front_url')) {+ function front_url($path = '')+ {+ $baseUrl = config('app.front_url') ?? config('app.url');+ \Log::info('Base URL for front-end: ' . $baseUrl);+ if (! $baseUrl) {+ return $path;+ }++ return rtrim($baseUrl, '/') . '/' . ltrim($path, '/');+ }+}++if (!function_exists('pricing_enabled')) {+ function pricing_enabled(): bool+ {+ return App::environment() !== 'testing' && !is_null(config('cashier.key'));+ }+}diff --git a/artisan b/api/artisansimilarity index 100%rename from artisanrename to api/artisandiff --git a/bootstrap/app.php b/api/bootstrap/app.phpsimilarity index 100%rename from bootstrap/app.phprename to api/bootstrap/app.phpdiff --git a/bootstrap/cache/.gitignore b/api/bootstrap/cache/.gitignoresimilarity index 100%rename from bootstrap/cache/.gitignorerename to api/bootstrap/cache/.gitignorediff --git a/composer.json b/api/composer.jsonsimilarity index 100%rename from composer.jsonrename to api/composer.jsondiff --git a/composer.lock b/api/composer.locksimilarity index 100%rename from composer.lockrename to api/composer.lockdiff --git a/config/app.php b/api/config/app.phpsimilarity index 100%rename from config/app.phprename to api/config/app.phpdiff --git a/config/auth.php b/api/config/auth.phpsimilarity index 100%rename from config/auth.phprename to api/config/auth.phpdiff --git a/config/broadcasting.php b/api/config/broadcasting.phpsimilarity index 100%rename from config/broadcasting.phprename to api/config/broadcasting.phpdiff --git a/config/cache.php b/api/config/cache.phpsimilarity index 100%rename from config/cache.phprename to api/config/cache.phpdiff --git a/config/cashier.php b/api/config/cashier.phpsimilarity index 100%rename from config/cashier.phprename to api/config/cashier.phpdiff --git a/config/cors.php b/api/config/cors.phpsimilarity index 100%rename from config/cors.phprename to api/config/cors.phpdiff --git a/config/custom-domains.php b/api/config/custom-domains.phpsimilarity index 100%rename from config/custom-domains.phprename to api/config/custom-domains.phpdiff --git a/config/database.php b/api/config/database.phpsimilarity index 100%rename from config/database.phprename to api/config/database.phpdiff --git a/config/disposable-email.php b/api/config/disposable-email.phpsimilarity index 100%rename from config/disposable-email.phprename to api/config/disposable-email.phpdiff --git a/config/excel.php b/api/config/excel.phpsimilarity index 100%rename from config/excel.phprename to api/config/excel.phpdiff --git a/config/filesystems.php b/api/config/filesystems.phpsimilarity index 98%rename from config/filesystems.phprename to api/config/filesystems.phpindex 384e88a90..0eb67df7b 100644--- a/config/filesystems.php+++ b/api/config/filesystems.php@@ -53,7 +53,7 @@ return ['public' => ['driver' => 'local','root' => storage_path('app/public'),- 'url' => env('APP_URL').'/storage',+ 'url' => env('APP_URL') . '/storage','visibility' => 'public',],diff --git a/config/hashing.php b/api/config/hashing.phpsimilarity index 100%rename from config/hashing.phprename to api/config/hashing.phpdiff --git a/config/horizon.php b/api/config/horizon.phpsimilarity index 100%rename from config/horizon.phprename to api/config/horizon.phpdiff --git a/config/jwt.php b/api/config/jwt.phpsimilarity index 100%rename from config/jwt.phprename to api/config/jwt.phpdiff --git a/config/links.php b/api/config/links.phpsimilarity index 100%rename from config/links.phprename to api/config/links.phpdiff --git a/config/logging.php b/api/config/logging.phpsimilarity index 100%rename from config/logging.phprename to api/config/logging.phpdiff --git a/config/mail.php b/api/config/mail.phpsimilarity index 100%rename from config/mail.phprename to api/config/mail.phpdiff --git a/config/model-stats.php b/api/config/model-stats.phpsimilarity index 100%rename from config/model-stats.phprename to api/config/model-stats.phpdiff --git a/config/opnform.php b/api/config/opnform.phpsimilarity index 100%rename from config/opnform.phprename to api/config/opnform.phpdiff --git a/config/pricing.php b/api/config/pricing.phpsimilarity index 100%rename from config/pricing.phprename to api/config/pricing.phpdiff --git a/config/purify.php b/api/config/purify.phpsimilarity index 100%rename from config/purify.phprename to api/config/purify.phpdiff --git a/config/queue.php b/api/config/queue.phpsimilarity index 100%rename from config/queue.phprename to api/config/queue.phpdiff --git a/config/sanctum.php b/api/config/sanctum.phpsimilarity index 100%rename from config/sanctum.phprename to api/config/sanctum.phpdiff --git a/config/sentry.php b/api/config/sentry.phpsimilarity index 100%rename from config/sentry.phprename to api/config/sentry.phpdiff --git a/config/services.php b/api/config/services.phpsimilarity index 100%rename from config/services.phprename to api/config/services.phpdiff --git a/config/session.php b/api/config/session.phpsimilarity index 100%rename from config/session.phprename to api/config/session.phpdiff --git a/config/vapor-ui.php b/api/config/vapor-ui.phpsimilarity index 100%rename from config/vapor-ui.phprename to api/config/vapor-ui.phpdiff --git a/config/view.php b/api/config/view.phpsimilarity index 100%rename from config/view.phprename to api/config/view.phpdiff --git a/database/.gitignore b/api/database/.gitignoresimilarity index 100%rename from database/.gitignorerename to api/database/.gitignorediff --git a/database/factories/FormFactory.php b/api/database/factories/FormFactory.phpsimilarity index 100%rename from database/factories/FormFactory.phprename to api/database/factories/FormFactory.phpdiff --git a/database/factories/Integration/FormIntegrationFactory.php b/api/database/factories/Integration/FormIntegrationFactory.phpsimilarity index 100%rename from database/factories/Integration/FormIntegrationFactory.phprename to api/database/factories/Integration/FormIntegrationFactory.phpdiff --git a/database/factories/OAuthProviderFactory.php b/api/database/factories/OAuthProviderFactory.phpsimilarity index 100%rename from database/factories/OAuthProviderFactory.phprename to api/database/factories/OAuthProviderFactory.phpdiff --git a/database/factories/UserFactory.php b/api/database/factories/UserFactory.phpsimilarity index 100%rename from database/factories/UserFactory.phprename to api/database/factories/UserFactory.phpdiff --git a/database/factories/WorkspaceFactory.php b/api/database/factories/WorkspaceFactory.phpsimilarity index 100%rename from database/factories/WorkspaceFactory.phprename to api/database/factories/WorkspaceFactory.phpdiff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/api/database/migrations/2014_10_12_000000_create_users_table.phpsimilarity index 100%rename from database/migrations/2014_10_12_000000_create_users_table.phprename to api/database/migrations/2014_10_12_000000_create_users_table.phpdiff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/api/database/migrations/2014_10_12_100000_create_password_resets_table.phpsimilarity index 100%rename from database/migrations/2014_10_12_100000_create_password_resets_table.phprename to api/database/migrations/2014_10_12_100000_create_password_resets_table.phpdiff --git a/database/migrations/2017_12_07_122845_create_oauth_providers_table.php b/api/database/migrations/2017_12_07_122845_create_oauth_providers_table.phpsimilarity index 100%rename from database/migrations/2017_12_07_122845_create_oauth_providers_table.phprename to api/database/migrations/2017_12_07_122845_create_oauth_providers_table.phpdiff --git a/database/migrations/2019_05_03_000001_create_customer_columns.php b/api/database/migrations/2019_05_03_000001_create_customer_columns.phpsimilarity index 100%rename from database/migrations/2019_05_03_000001_create_customer_columns.phprename to api/database/migrations/2019_05_03_000001_create_customer_columns.phpdiff --git a/database/migrations/2019_05_03_000002_create_subscriptions_table.php b/api/database/migrations/2019_05_03_000002_create_subscriptions_table.phpsimilarity index 100%rename from database/migrations/2019_05_03_000002_create_subscriptions_table.phprename to api/database/migrations/2019_05_03_000002_create_subscriptions_table.phpdiff --git a/database/migrations/2019_05_03_000003_create_subscription_items_table.php b/api/database/migrations/2019_05_03_000003_create_subscription_items_table.phpsimilarity index 100%rename from database/migrations/2019_05_03_000003_create_subscription_items_table.phprename to api/database/migrations/2019_05_03_000003_create_subscription_items_table.phpdiff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/api/database/migrations/2019_08_19_000000_create_failed_jobs_table.phpsimilarity index 100%rename from database/migrations/2019_08_19_000000_create_failed_jobs_table.phprename to api/database/migrations/2019_08_19_000000_create_failed_jobs_table.phpdiff --git a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php b/api/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.phpsimilarity index 100%rename from database/migrations/2019_12_14_000001_create_personal_access_tokens_table.phprename to api/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.phpdiff --git a/database/migrations/2021_05_17_142505_create_workspaces_table.php b/api/database/migrations/2021_05_17_142505_create_workspaces_table.phpsimilarity index 100%rename from database/migrations/2021_05_17_142505_create_workspaces_table.phprename to api/database/migrations/2021_05_17_142505_create_workspaces_table.phpdiff --git a/database/migrations/2021_05_19_140326_create_forms_table.php b/api/database/migrations/2021_05_19_140326_create_forms_table.phpsimilarity index 100%rename from database/migrations/2021_05_19_140326_create_forms_table.phprename to api/database/migrations/2021_05_19_140326_create_forms_table.phpdiff --git a/database/migrations/2021_05_24_233839_make_forms_soft_deletable.php b/api/database/migrations/2021_05_24_233839_make_forms_soft_deletable.phpsimilarity index 100%rename from database/migrations/2021_05_24_233839_make_forms_soft_deletable.phprename to api/database/migrations/2021_05_24_233839_make_forms_soft_deletable.phpdiff --git a/database/migrations/2021_05_24_234028_create_form_submissions_table.php b/api/database/migrations/2021_05_24_234028_create_form_submissions_table.phpsimilarity index 100%rename from database/migrations/2021_05_24_234028_create_form_submissions_table.phprename to api/database/migrations/2021_05_24_234028_create_form_submissions_table.phpdiff --git a/database/migrations/2021_07_21_072850_add_hear_about_us_to_users_table.php b/api/database/migrations/2021_07_21_072850_add_hear_about_us_to_users_table.phpsimilarity index 100%rename from database/migrations/2021_07_21_072850_add_hear_about_us_to_users_table.phprename to api/database/migrations/2021_07_21_072850_add_hear_about_us_to_users_table.phpdiff --git a/database/migrations/2021_09_29_192133_create_form_zapier_webhooks_table.php b/api/database/migrations/2021_09_29_192133_create_form_zapier_webhooks_table.phpsimilarity index 100%rename from database/migrations/2021_09_29_192133_create_form_zapier_webhooks_table.phprename to api/database/migrations/2021_09_29_192133_create_form_zapier_webhooks_table.phpdiff --git a/database/migrations/2021_10_13_142022_create_users_workspaces_table.php b/api/database/migrations/2021_10_13_142022_create_users_workspaces_table.phpsimilarity index 100%rename from database/migrations/2021_10_13_142022_create_users_workspaces_table.phprename to api/database/migrations/2021_10_13_142022_create_users_workspaces_table.phpdiff --git a/database/migrations/2021_11_04_171750_create_job_batches_table.php b/api/database/migrations/2021_11_04_171750_create_job_batches_table.phpsimilarity index 100%rename from database/migrations/2021_11_04_171750_create_job_batches_table.phprename to api/database/migrations/2021_11_04_171750_create_job_batches_table.phpdiff --git a/database/migrations/2021_11_04_171753_create_webhook_calls_table.php b/api/database/migrations/2021_11_04_171753_create_webhook_calls_table.phpsimilarity index 100%rename from database/migrations/2021_11_04_171753_create_webhook_calls_table.phprename to api/database/migrations/2021_11_04_171753_create_webhook_calls_table.phpdiff --git a/database/migrations/2022_03_12_105502_add_indexes_to_important_tables.php b/api/database/migrations/2022_03_12_105502_add_indexes_to_important_tables.phpsimilarity index 100%rename from database/migrations/2022_03_12_105502_add_indexes_to_important_tables.phprename to api/database/migrations/2022_03_12_105502_add_indexes_to_important_tables.phpdiff --git a/database/migrations/2022_05_02_092915_form_views.php b/api/database/migrations/2022_05_02_092915_form_views.phpsimilarity index 100%rename from database/migrations/2022_05_02_092915_form_views.phprename to api/database/migrations/2022_05_02_092915_form_views.phpdiff --git a/database/migrations/2022_05_10_144947_form_statistic.php b/api/database/migrations/2022_05_10_144947_form_statistic.phpsimilarity index 100%rename from database/migrations/2022_05_10_144947_form_statistic.phprename to api/database/migrations/2022_05_10_144947_form_statistic.phpdiff --git a/database/migrations/2022_08_18_133641_add_removed_properties_to_forms.php b/api/database/migrations/2022_08_18_133641_add_removed_properties_to_forms.phpsimilarity index 100%rename from database/migrations/2022_08_18_133641_add_removed_properties_to_forms.phprename to api/database/migrations/2022_08_18_133641_add_removed_properties_to_forms.phpdiff --git a/database/migrations/2022_09_06_044038_add_max_submissions_to_forms.php b/api/database/migrations/2022_09_06_044038_add_max_submissions_to_forms.phpsimilarity index 100%rename from database/migrations/2022_09_06_044038_add_max_submissions_to_forms.phprename to api/database/migrations/2022_09_06_044038_add_max_submissions_to_forms.phpdiff --git a/database/migrations/2022_09_12_074636_remove_access_token_from_workspaces.php b/api/database/migrations/2022_09_12_074636_remove_access_token_from_workspaces.phpsimilarity index 100%rename from database/migrations/2022_09_12_074636_remove_access_token_from_workspaces.phprename to api/database/migrations/2022_09_12_074636_remove_access_token_from_workspaces.phpdiff --git a/database/migrations/2022_09_16_110344_add_slack_webhook_url_to_forms.php b/api/database/migrations/2022_09_16_110344_add_slack_webhook_url_to_forms.phpsimilarity index 100%rename from database/migrations/2022_09_16_110344_add_slack_webhook_url_to_forms.phprename to api/database/migrations/2022_09_16_110344_add_slack_webhook_url_to_forms.phpdiff --git a/database/migrations/2022_09_22_092205_create_templates_table.php b/api/database/migrations/2022_09_22_092205_create_templates_table.phpsimilarity index 100%rename from database/migrations/2022_09_22_092205_create_templates_table.phprename to api/database/migrations/2022_09_22_092205_create_templates_table.phpdiff --git a/database/migrations/2022_09_26_084721_add_questions_to_templates.php b/api/database/migrations/2022_09_26_084721_add_questions_to_templates.phpsimilarity index 100%rename from database/migrations/2022_09_26_084721_add_questions_to_templates.phprename to api/database/migrations/2022_09_26_084721_add_questions_to_templates.phpdiff --git a/database/migrations/2022_10_07_122038_add_visibility_to_forms.php b/api/database/migrations/2022_10_07_122038_add_visibility_to_forms.phpsimilarity index 100%rename from database/migrations/2022_10_07_122038_add_visibility_to_forms.phprename to api/database/migrations/2022_10_07_122038_add_visibility_to_forms.phpdiff --git a/database/migrations/2022_12_27_114803_add_editable_submissions_to_forms.php b/api/database/migrations/2022_12_27_114803_add_editable_submissions_to_forms.phpsimilarity index 100%rename from database/migrations/2022_12_27_114803_add_editable_submissions_to_forms.phprename to api/database/migrations/2022_12_27_114803_add_editable_submissions_to_forms.phpdiff --git a/database/migrations/2023_01_28_142618_add_discord_url.php b/api/database/migrations/2023_01_28_142618_add_discord_url.phpsimilarity index 100%rename from database/migrations/2023_01_28_142618_add_discord_url.phprename to api/database/migrations/2023_01_28_142618_add_discord_url.phpdiff --git a/database/migrations/2023_03_06_033440_change_max_submissions_reached_text_to_text.php b/api/database/migrations/2023_03_06_033440_change_max_submissions_reached_text_to_text.phpsimilarity index 100%rename from database/migrations/2023_03_06_033440_change_max_submissions_reached_text_to_text.phprename to api/database/migrations/2023_03_06_033440_change_max_submissions_reached_text_to_text.phpdiff --git a/database/migrations/2023_03_13_094806_add_editable_submissions_button_text_to_forms.php b/api/database/migrations/2023_03_13_094806_add_editable_submissions_button_text_to_forms.phpsimilarity index 100%rename from database/migrations/2023_03_13_094806_add_editable_submissions_button_text_to_forms.phprename to api/database/migrations/2023_03_13_094806_add_editable_submissions_button_text_to_forms.phpdiff --git a/database/migrations/2023_03_14_094623_change_templates_image_url_to_nullable.php b/api/database/migrations/2023_03_14_094623_change_templates_image_url_to_nullable.phpsimilarity index 100%rename from database/migrations/2023_03_14_094623_change_templates_image_url_to_nullable.phprename to api/database/migrations/2023_03_14_094623_change_templates_image_url_to_nullable.phpdiff --git a/database/migrations/2023_03_27_153317_create_ai_form_completions_table.php b/api/database/migrations/2023_03_27_153317_create_ai_form_completions_table.phpsimilarity index 100%rename from database/migrations/2023_03_27_153317_create_ai_form_completions_table.phprename to api/database/migrations/2023_03_27_153317_create_ai_form_completions_table.phpdiff --git a/database/migrations/2023_03_27_173507_create_jobs_table.php b/api/database/migrations/2023_03_27_173507_create_jobs_table.phpsimilarity index 100%rename from database/migrations/2023_03_27_173507_create_jobs_table.phprename to api/database/migrations/2023_03_27_173507_create_jobs_table.phpdiff --git a/database/migrations/2023_04_04_093956_add_confetti_on_submission_to_forms.php b/api/database/migrations/2023_04_04_093956_add_confetti_on_submission_to_forms.phpsimilarity index 100%rename from database/migrations/2023_04_04_093956_add_confetti_on_submission_to_forms.phprename to api/database/migrations/2023_04_04_093956_add_confetti_on_submission_to_forms.phpdiff --git a/database/migrations/2023_07_20_073728_add_seo_meta_to_forms.php b/api/database/migrations/2023_07_20_073728_add_seo_meta_to_forms.phpsimilarity index 100%rename from database/migrations/2023_07_20_073728_add_seo_meta_to_forms.phprename to api/database/migrations/2023_07_20_073728_add_seo_meta_to_forms.phpdiff --git a/database/migrations/2023_08_23_100710_add_notification_settings_to_forms.php b/api/database/migrations/2023_08_23_100710_add_notification_settings_to_forms.phpsimilarity index 100%rename from database/migrations/2023_08_23_100710_add_notification_settings_to_forms.phprename to api/database/migrations/2023_08_23_100710_add_notification_settings_to_forms.phpdiff --git a/database/migrations/2023_09_01_052507_add_fields_to_templates.php b/api/database/migrations/2023_09_01_052507_add_fields_to_templates.phpsimilarity index 100%rename from database/migrations/2023_09_01_052507_add_fields_to_templates.phprename to api/database/migrations/2023_09_01_052507_add_fields_to_templates.phpdiff --git a/database/migrations/2023_09_21_092812_add_creator_id_to_templates.php b/api/database/migrations/2023_09_21_092812_add_creator_id_to_templates.phpsimilarity index 100%rename from database/migrations/2023_09_21_092812_add_creator_id_to_templates.phprename to api/database/migrations/2023_09_21_092812_add_creator_id_to_templates.phpdiff --git a/database/migrations/2023_10_10_140600_add_auto_save_to_forms.php b/api/database/migrations/2023_10_10_140600_add_auto_save_to_forms.phpsimilarity index 100%rename from database/migrations/2023_10_10_140600_add_auto_save_to_forms.phprename to api/database/migrations/2023_10_10_140600_add_auto_save_to_forms.phpdiff --git a/database/migrations/2023_10_13_080104_change_type_of_form_prompt_in_ai_form_completions.php b/api/database/migrations/2023_10_13_080104_change_type_of_form_prompt_in_ai_form_completions.phpsimilarity index 100%rename from database/migrations/2023_10_13_080104_change_type_of_form_prompt_in_ai_form_completions.phprename to api/database/migrations/2023_10_13_080104_change_type_of_form_prompt_in_ai_form_completions.phpdiff --git a/database/migrations/2023_10_30_133259_create_licenses_table.php b/api/database/migrations/2023_10_30_133259_create_licenses_table.phpsimilarity index 100%rename from database/migrations/2023_10_30_133259_create_licenses_table.phprename to api/database/migrations/2023_10_30_133259_create_licenses_table.phpdiff --git a/database/migrations/2023_11_28_104644_add_custom_domains_to_workspaces_table.php b/api/database/migrations/2023_11_28_104644_add_custom_domains_to_workspaces_table.phpsimilarity index 100%rename from database/migrations/2023_11_28_104644_add_custom_domains_to_workspaces_table.phprename to api/database/migrations/2023_11_28_104644_add_custom_domains_to_workspaces_table.phpdiff --git a/database/migrations/2023_11_28_161121_add_custom_domain_to_forms_table.php b/api/database/migrations/2023_11_28_161121_add_custom_domain_to_forms_table.phpsimilarity index 100%rename from database/migrations/2023_11_28_161121_add_custom_domain_to_forms_table.phprename to api/database/migrations/2023_11_28_161121_add_custom_domain_to_forms_table.phpdiff --git a/database/migrations/2024_02_21_100134_create_form_integrations_table.php b/api/database/migrations/2024_02_21_100134_create_form_integrations_table.phpsimilarity index 100%rename from database/migrations/2024_02_21_100134_create_form_integrations_table.phprename to api/database/migrations/2024_02_21_100134_create_form_integrations_table.phpdiff --git a/database/migrations/2024_02_21_160807_create_form_integrations_events_table.php b/api/database/migrations/2024_02_21_160807_create_form_integrations_events_table.phpsimilarity index 100%rename from database/migrations/2024_02_21_160807_create_form_integrations_events_table.phprename to api/database/migrations/2024_02_21_160807_create_form_integrations_events_table.phpdiff --git a/database/migrations/2024_03_12_173732_show_progress_bar.php b/api/database/migrations/2024_03_12_173732_show_progress_bar.phpsimilarity index 100%rename from database/migrations/2024_03_12_173732_show_progress_bar.phprename to api/database/migrations/2024_03_12_173732_show_progress_bar.phpdiff --git a/database/migrations/2024_03_26_170934_remove_notifications_fields_from_forms.php b/api/database/migrations/2024_03_26_170934_remove_notifications_fields_from_forms.phpsimilarity index 100%rename from database/migrations/2024_03_26_170934_remove_notifications_fields_from_forms.phprename to api/database/migrations/2024_03_26_170934_remove_notifications_fields_from_forms.phpdiff --git a/database/migrations/2024_05_10_063347_add_user_data_to_oauth_providers_table.php b/api/database/migrations/2024_05_10_063347_add_user_data_to_oauth_providers_table.phpsimilarity index 100%rename from database/migrations/2024_05_10_063347_add_user_data_to_oauth_providers_table.phprename to api/database/migrations/2024_05_10_063347_add_user_data_to_oauth_providers_table.phpdiff --git a/database/migrations/2024_05_29_002132_add_expires_at_to_oauth_providers_table.php b/api/database/migrations/2024_05_29_002132_add_expires_at_to_oauth_providers_table.phpsimilarity index 100%rename from database/migrations/2024_05_29_002132_add_expires_at_to_oauth_providers_table.phprename to api/database/migrations/2024_05_29_002132_add_expires_at_to_oauth_providers_table.phpdiff --git a/database/migrations/2024_06_04_131157_type_update_to_subscriptions_table.php b/api/database/migrations/2024_06_04_131157_type_update_to_subscriptions_table.phpsimilarity index 100%rename from database/migrations/2024_06_04_131157_type_update_to_subscriptions_table.phprename to api/database/migrations/2024_06_04_131157_type_update_to_subscriptions_table.phpdiff --git a/database/migrations/2024_06_05_132837_rename_password_resets_table.php b/api/database/migrations/2024_06_05_132837_rename_password_resets_table.phpsimilarity index 100%rename from database/migrations/2024_06_05_132837_rename_password_resets_table.phprename to api/database/migrations/2024_06_05_132837_rename_password_resets_table.phpdiff --git a/database/migrations/2024_06_18_090415_create_user_invites_table.php b/api/database/migrations/2024_06_18_090415_create_user_invites_table.phpsimilarity index 100%rename from database/migrations/2024_06_18_090415_create_user_invites_table.phprename to api/database/migrations/2024_06_18_090415_create_user_invites_table.phpdiff --git a/database/migrations/2024_06_26_092038_add_border_radius_and_size_to_forms_table.php b/api/database/migrations/2024_06_26_092038_add_border_radius_and_size_to_forms_table.phpsimilarity index 100%rename from database/migrations/2024_06_26_092038_add_border_radius_and_size_to_forms_table.phprename to api/database/migrations/2024_06_26_092038_add_border_radius_and_size_to_forms_table.phpdiff --git a/database/migrations/2024_08_12_091853_add_font_family_to_forms.php b/api/database/migrations/2024_08_12_091853_add_font_family_to_forms.phpsimilarity index 100%rename from database/migrations/2024_08_12_091853_add_font_family_to_forms.phprename to api/database/migrations/2024_08_12_091853_add_font_family_to_forms.phpdiff --git a/database/migrations/2024_08_22_141621_add_auto_focus_to_forms.php b/api/database/migrations/2024_08_22_141621_add_auto_focus_to_forms.phpsimilarity index 100%rename from database/migrations/2024_08_22_141621_add_auto_focus_to_forms.phprename to api/database/migrations/2024_08_22_141621_add_auto_focus_to_forms.phpdiff --git a/database/seeders/DatabaseSeeder.php b/api/database/seeders/DatabaseSeeder.phpsimilarity index 100%rename from database/seeders/DatabaseSeeder.phprename to api/database/seeders/DatabaseSeeder.phpdiff --git a/phpunit.xml b/api/phpunit.xmlsimilarity index 100%rename from phpunit.xmlrename to api/phpunit.xmldiff --git a/pint.json b/api/pint.jsonsimilarity index 100%rename from pint.jsonrename to api/pint.jsondiff --git a/public/.htaccess b/api/public/.htaccesssimilarity index 100%rename from public/.htaccessrename to api/public/.htaccessdiff --git a/public/favicon.ico b/api/public/favicon.icosimilarity index 100%rename from public/favicon.icorename to api/public/favicon.icodiff --git a/public/fonts/general-sans/GeneralSans-Bold.eot b/api/public/fonts/general-sans/GeneralSans-Bold.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Bold.eotrename to api/public/fonts/general-sans/GeneralSans-Bold.eotdiff --git a/public/fonts/general-sans/GeneralSans-Bold.ttf b/api/public/fonts/general-sans/GeneralSans-Bold.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Bold.ttfrename to api/public/fonts/general-sans/GeneralSans-Bold.ttfdiff --git a/public/fonts/general-sans/GeneralSans-Bold.woff b/api/public/fonts/general-sans/GeneralSans-Bold.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Bold.woffrename to api/public/fonts/general-sans/GeneralSans-Bold.woffdiff --git a/public/fonts/general-sans/GeneralSans-Bold.woff2 b/api/public/fonts/general-sans/GeneralSans-Bold.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-Bold.woff2rename to api/public/fonts/general-sans/GeneralSans-Bold.woff2diff --git a/public/fonts/general-sans/GeneralSans-BoldItalic.eot b/api/public/fonts/general-sans/GeneralSans-BoldItalic.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-BoldItalic.eotrename to api/public/fonts/general-sans/GeneralSans-BoldItalic.eotdiff --git a/public/fonts/general-sans/GeneralSans-BoldItalic.ttf b/api/public/fonts/general-sans/GeneralSans-BoldItalic.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-BoldItalic.ttfrename to api/public/fonts/general-sans/GeneralSans-BoldItalic.ttfdiff --git a/public/fonts/general-sans/GeneralSans-BoldItalic.woff b/api/public/fonts/general-sans/GeneralSans-BoldItalic.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-BoldItalic.woffrename to api/public/fonts/general-sans/GeneralSans-BoldItalic.woffdiff --git a/public/fonts/general-sans/GeneralSans-BoldItalic.woff2 b/api/public/fonts/general-sans/GeneralSans-BoldItalic.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-BoldItalic.woff2rename to api/public/fonts/general-sans/GeneralSans-BoldItalic.woff2diff --git a/public/fonts/general-sans/GeneralSans-Extralight.eot b/api/public/fonts/general-sans/GeneralSans-Extralight.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Extralight.eotrename to api/public/fonts/general-sans/GeneralSans-Extralight.eotdiff --git a/public/fonts/general-sans/GeneralSans-Extralight.ttf b/api/public/fonts/general-sans/GeneralSans-Extralight.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Extralight.ttfrename to api/public/fonts/general-sans/GeneralSans-Extralight.ttfdiff --git a/public/fonts/general-sans/GeneralSans-Extralight.woff b/api/public/fonts/general-sans/GeneralSans-Extralight.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Extralight.woffrename to api/public/fonts/general-sans/GeneralSans-Extralight.woffdiff --git a/public/fonts/general-sans/GeneralSans-Extralight.woff2 b/api/public/fonts/general-sans/GeneralSans-Extralight.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-Extralight.woff2rename to api/public/fonts/general-sans/GeneralSans-Extralight.woff2diff --git a/public/fonts/general-sans/GeneralSans-ExtralightItalic.eot b/api/public/fonts/general-sans/GeneralSans-ExtralightItalic.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-ExtralightItalic.eotrename to api/public/fonts/general-sans/GeneralSans-ExtralightItalic.eotdiff --git a/public/fonts/general-sans/GeneralSans-ExtralightItalic.ttf b/api/public/fonts/general-sans/GeneralSans-ExtralightItalic.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-ExtralightItalic.ttfrename to api/public/fonts/general-sans/GeneralSans-ExtralightItalic.ttfdiff --git a/public/fonts/general-sans/GeneralSans-ExtralightItalic.woff b/api/public/fonts/general-sans/GeneralSans-ExtralightItalic.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-ExtralightItalic.woffrename to api/public/fonts/general-sans/GeneralSans-ExtralightItalic.woffdiff --git a/public/fonts/general-sans/GeneralSans-ExtralightItalic.woff2 b/api/public/fonts/general-sans/GeneralSans-ExtralightItalic.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-ExtralightItalic.woff2rename to api/public/fonts/general-sans/GeneralSans-ExtralightItalic.woff2diff --git a/public/fonts/general-sans/GeneralSans-Italic.eot b/api/public/fonts/general-sans/GeneralSans-Italic.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Italic.eotrename to api/public/fonts/general-sans/GeneralSans-Italic.eotdiff --git a/public/fonts/general-sans/GeneralSans-Italic.ttf b/api/public/fonts/general-sans/GeneralSans-Italic.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Italic.ttfrename to api/public/fonts/general-sans/GeneralSans-Italic.ttfdiff --git a/public/fonts/general-sans/GeneralSans-Italic.woff b/api/public/fonts/general-sans/GeneralSans-Italic.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Italic.woffrename to api/public/fonts/general-sans/GeneralSans-Italic.woffdiff --git a/public/fonts/general-sans/GeneralSans-Italic.woff2 b/api/public/fonts/general-sans/GeneralSans-Italic.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-Italic.woff2rename to api/public/fonts/general-sans/GeneralSans-Italic.woff2diff --git a/public/fonts/general-sans/GeneralSans-Light.eot b/api/public/fonts/general-sans/GeneralSans-Light.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Light.eotrename to api/public/fonts/general-sans/GeneralSans-Light.eotdiff --git a/public/fonts/general-sans/GeneralSans-Light.ttf b/api/public/fonts/general-sans/GeneralSans-Light.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Light.ttfrename to api/public/fonts/general-sans/GeneralSans-Light.ttfdiff --git a/public/fonts/general-sans/GeneralSans-Light.woff b/api/public/fonts/general-sans/GeneralSans-Light.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Light.woffrename to api/public/fonts/general-sans/GeneralSans-Light.woffdiff --git a/public/fonts/general-sans/GeneralSans-Light.woff2 b/api/public/fonts/general-sans/GeneralSans-Light.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-Light.woff2rename to api/public/fonts/general-sans/GeneralSans-Light.woff2diff --git a/public/fonts/general-sans/GeneralSans-LightItalic.eot b/api/public/fonts/general-sans/GeneralSans-LightItalic.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-LightItalic.eotrename to api/public/fonts/general-sans/GeneralSans-LightItalic.eotdiff --git a/public/fonts/general-sans/GeneralSans-LightItalic.ttf b/api/public/fonts/general-sans/GeneralSans-LightItalic.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-LightItalic.ttfrename to api/public/fonts/general-sans/GeneralSans-LightItalic.ttfdiff --git a/public/fonts/general-sans/GeneralSans-LightItalic.woff b/api/public/fonts/general-sans/GeneralSans-LightItalic.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-LightItalic.woffrename to api/public/fonts/general-sans/GeneralSans-LightItalic.woffdiff --git a/public/fonts/general-sans/GeneralSans-LightItalic.woff2 b/api/public/fonts/general-sans/GeneralSans-LightItalic.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-LightItalic.woff2rename to api/public/fonts/general-sans/GeneralSans-LightItalic.woff2diff --git a/public/fonts/general-sans/GeneralSans-Medium.eot b/api/public/fonts/general-sans/GeneralSans-Medium.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Medium.eotrename to api/public/fonts/general-sans/GeneralSans-Medium.eotdiff --git a/public/fonts/general-sans/GeneralSans-Medium.ttf b/api/public/fonts/general-sans/GeneralSans-Medium.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Medium.ttfrename to api/public/fonts/general-sans/GeneralSans-Medium.ttfdiff --git a/public/fonts/general-sans/GeneralSans-Medium.woff b/api/public/fonts/general-sans/GeneralSans-Medium.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Medium.woffrename to api/public/fonts/general-sans/GeneralSans-Medium.woffdiff --git a/public/fonts/general-sans/GeneralSans-Medium.woff2 b/api/public/fonts/general-sans/GeneralSans-Medium.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-Medium.woff2rename to api/public/fonts/general-sans/GeneralSans-Medium.woff2diff --git a/public/fonts/general-sans/GeneralSans-MediumItalic.eot b/api/public/fonts/general-sans/GeneralSans-MediumItalic.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-MediumItalic.eotrename to api/public/fonts/general-sans/GeneralSans-MediumItalic.eotdiff --git a/public/fonts/general-sans/GeneralSans-MediumItalic.ttf b/api/public/fonts/general-sans/GeneralSans-MediumItalic.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-MediumItalic.ttfrename to api/public/fonts/general-sans/GeneralSans-MediumItalic.ttfdiff --git a/public/fonts/general-sans/GeneralSans-MediumItalic.woff b/api/public/fonts/general-sans/GeneralSans-MediumItalic.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-MediumItalic.woffrename to api/public/fonts/general-sans/GeneralSans-MediumItalic.woffdiff --git a/public/fonts/general-sans/GeneralSans-MediumItalic.woff2 b/api/public/fonts/general-sans/GeneralSans-MediumItalic.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-MediumItalic.woff2rename to api/public/fonts/general-sans/GeneralSans-MediumItalic.woff2diff --git a/public/fonts/general-sans/GeneralSans-Regular.eot b/api/public/fonts/general-sans/GeneralSans-Regular.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Regular.eotrename to api/public/fonts/general-sans/GeneralSans-Regular.eotdiff --git a/public/fonts/general-sans/GeneralSans-Regular.ttf b/api/public/fonts/general-sans/GeneralSans-Regular.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Regular.ttfrename to api/public/fonts/general-sans/GeneralSans-Regular.ttfdiff --git a/public/fonts/general-sans/GeneralSans-Regular.woff b/api/public/fonts/general-sans/GeneralSans-Regular.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Regular.woffrename to api/public/fonts/general-sans/GeneralSans-Regular.woffdiff --git a/public/fonts/general-sans/GeneralSans-Regular.woff2 b/api/public/fonts/general-sans/GeneralSans-Regular.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-Regular.woff2rename to api/public/fonts/general-sans/GeneralSans-Regular.woff2diff --git a/public/fonts/general-sans/GeneralSans-Semibold.eot b/api/public/fonts/general-sans/GeneralSans-Semibold.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Semibold.eotrename to api/public/fonts/general-sans/GeneralSans-Semibold.eotdiff --git a/public/fonts/general-sans/GeneralSans-Semibold.ttf b/api/public/fonts/general-sans/GeneralSans-Semibold.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Semibold.ttfrename to api/public/fonts/general-sans/GeneralSans-Semibold.ttfdiff --git a/public/fonts/general-sans/GeneralSans-Semibold.woff b/api/public/fonts/general-sans/GeneralSans-Semibold.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Semibold.woffrename to api/public/fonts/general-sans/GeneralSans-Semibold.woffdiff --git a/public/fonts/general-sans/GeneralSans-Semibold.woff2 b/api/public/fonts/general-sans/GeneralSans-Semibold.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-Semibold.woff2rename to api/public/fonts/general-sans/GeneralSans-Semibold.woff2diff --git a/public/fonts/general-sans/GeneralSans-SemiboldItalic.eot b/api/public/fonts/general-sans/GeneralSans-SemiboldItalic.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-SemiboldItalic.eotrename to api/public/fonts/general-sans/GeneralSans-SemiboldItalic.eotdiff --git a/public/fonts/general-sans/GeneralSans-SemiboldItalic.ttf b/api/public/fonts/general-sans/GeneralSans-SemiboldItalic.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-SemiboldItalic.ttfrename to api/public/fonts/general-sans/GeneralSans-SemiboldItalic.ttfdiff --git a/public/fonts/general-sans/GeneralSans-SemiboldItalic.woff b/api/public/fonts/general-sans/GeneralSans-SemiboldItalic.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-SemiboldItalic.woffrename to api/public/fonts/general-sans/GeneralSans-SemiboldItalic.woffdiff --git a/public/fonts/general-sans/GeneralSans-SemiboldItalic.woff2 b/api/public/fonts/general-sans/GeneralSans-SemiboldItalic.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-SemiboldItalic.woff2rename to api/public/fonts/general-sans/GeneralSans-SemiboldItalic.woff2diff --git a/public/fonts/general-sans/GeneralSans-Variable.eot b/api/public/fonts/general-sans/GeneralSans-Variable.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Variable.eotrename to api/public/fonts/general-sans/GeneralSans-Variable.eotdiff --git a/public/fonts/general-sans/GeneralSans-Variable.ttf b/api/public/fonts/general-sans/GeneralSans-Variable.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Variable.ttfrename to api/public/fonts/general-sans/GeneralSans-Variable.ttfdiff --git a/public/fonts/general-sans/GeneralSans-Variable.woff b/api/public/fonts/general-sans/GeneralSans-Variable.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-Variable.woffrename to api/public/fonts/general-sans/GeneralSans-Variable.woffdiff --git a/public/fonts/general-sans/GeneralSans-Variable.woff2 b/api/public/fonts/general-sans/GeneralSans-Variable.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-Variable.woff2rename to api/public/fonts/general-sans/GeneralSans-Variable.woff2diff --git a/public/fonts/general-sans/GeneralSans-VariableItalic.eot b/api/public/fonts/general-sans/GeneralSans-VariableItalic.eotsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-VariableItalic.eotrename to api/public/fonts/general-sans/GeneralSans-VariableItalic.eotdiff --git a/public/fonts/general-sans/GeneralSans-VariableItalic.ttf b/api/public/fonts/general-sans/GeneralSans-VariableItalic.ttfsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-VariableItalic.ttfrename to api/public/fonts/general-sans/GeneralSans-VariableItalic.ttfdiff --git a/public/fonts/general-sans/GeneralSans-VariableItalic.woff b/api/public/fonts/general-sans/GeneralSans-VariableItalic.woffsimilarity index 100%rename from public/fonts/general-sans/GeneralSans-VariableItalic.woffrename to api/public/fonts/general-sans/GeneralSans-VariableItalic.woffdiff --git a/public/fonts/general-sans/GeneralSans-VariableItalic.woff2 b/api/public/fonts/general-sans/GeneralSans-VariableItalic.woff2similarity index 100%rename from public/fonts/general-sans/GeneralSans-VariableItalic.woff2rename to api/public/fonts/general-sans/GeneralSans-VariableItalic.woff2diff --git a/public/index.php b/api/public/index.phpsimilarity index 100%rename from public/index.phprename to api/public/index.phpdiff --git a/public/robots.txt b/api/public/robots.txtsimilarity index 100%rename from public/robots.txtrename to api/public/robots.txtdiff --git a/public/vendor/horizon/app-dark.css b/api/public/vendor/horizon/app-dark.csssimilarity index 100%rename from public/vendor/horizon/app-dark.cssrename to api/public/vendor/horizon/app-dark.cssdiff --git a/public/vendor/horizon/app.css b/api/public/vendor/horizon/app.csssimilarity index 100%rename from public/vendor/horizon/app.cssrename to api/public/vendor/horizon/app.cssdiff --git a/public/vendor/horizon/app.js b/api/public/vendor/horizon/app.jssimilarity index 100%rename from public/vendor/horizon/app.jsrename to api/public/vendor/horizon/app.jsdiff --git a/public/vendor/horizon/img/favicon.png b/api/public/vendor/horizon/img/favicon.pngsimilarity index 100%rename from public/vendor/horizon/img/favicon.pngrename to api/public/vendor/horizon/img/favicon.pngdiff --git a/public/vendor/horizon/img/horizon.svg b/api/public/vendor/horizon/img/horizon.svgsimilarity index 100%rename from public/vendor/horizon/img/horizon.svgrename to api/public/vendor/horizon/img/horizon.svgdiff --git a/public/vendor/horizon/img/sprite.svg b/api/public/vendor/horizon/img/sprite.svgsimilarity index 100%rename from public/vendor/horizon/img/sprite.svgrename to api/public/vendor/horizon/img/sprite.svgdiff --git a/public/vendor/horizon/mix-manifest.json b/api/public/vendor/horizon/mix-manifest.jsonsimilarity index 100%rename from public/vendor/horizon/mix-manifest.jsonrename to api/public/vendor/horizon/mix-manifest.jsondiff --git a/public/vendor/mailcoach-editor/assets/editor.27f354bb.css b/api/public/vendor/mailcoach-editor/assets/editor.27f354bb.csssimilarity index 100%rename from public/vendor/mailcoach-editor/assets/editor.27f354bb.cssrename to api/public/vendor/mailcoach-editor/assets/editor.27f354bb.cssdiff --git a/public/vendor/mailcoach-editor/assets/editor.e48a8a0e.js b/api/public/vendor/mailcoach-editor/assets/editor.e48a8a0e.jssimilarity index 100%rename from public/vendor/mailcoach-editor/assets/editor.e48a8a0e.jsrename to api/public/vendor/mailcoach-editor/assets/editor.e48a8a0e.jsdiff --git a/public/vendor/mailcoach-editor/assets/vendor.871f4f88.js b/api/public/vendor/mailcoach-editor/assets/vendor.871f4f88.jssimilarity index 100%rename from public/vendor/mailcoach-editor/assets/vendor.871f4f88.jsrename to api/public/vendor/mailcoach-editor/assets/vendor.871f4f88.jsdiff --git a/public/vendor/mailcoach-editor/manifest.json b/api/public/vendor/mailcoach-editor/manifest.jsonsimilarity index 100%rename from public/vendor/mailcoach-editor/manifest.jsonrename to api/public/vendor/mailcoach-editor/manifest.jsondiff --git a/public/vendor/mailcoach/app.css b/api/public/vendor/mailcoach/app.csssimilarity index 100%rename from public/vendor/mailcoach/app.cssrename to api/public/vendor/mailcoach/app.cssdiff --git a/public/vendor/mailcoach/app.js b/api/public/vendor/mailcoach/app.jssimilarity index 100%rename from public/vendor/mailcoach/app.jsrename to api/public/vendor/mailcoach/app.jsdiff --git a/public/vendor/mailcoach/app.js.LICENSE.txt b/api/public/vendor/mailcoach/app.js.LICENSE.txtsimilarity index 100%rename from public/vendor/mailcoach/app.js.LICENSE.txtrename to api/public/vendor/mailcoach/app.js.LICENSE.txtdiff --git a/public/vendor/mailcoach/images/auth-footer.jpg b/api/public/vendor/mailcoach/images/auth-footer.jpgsimilarity index 100%rename from public/vendor/mailcoach/images/auth-footer.jpgrename to api/public/vendor/mailcoach/images/auth-footer.jpgdiff --git a/public/vendor/model-stats/app.css b/api/public/vendor/model-stats/app.csssimilarity index 100%rename from public/vendor/model-stats/app.cssrename to api/public/vendor/model-stats/app.cssdiff --git a/public/vendor/model-stats/app.js b/api/public/vendor/model-stats/app.jssimilarity index 100%rename from public/vendor/model-stats/app.jsrename to api/public/vendor/model-stats/app.jsdiff --git a/public/vendor/model-stats/app.js.LICENSE.txt b/api/public/vendor/model-stats/app.js.LICENSE.txtsimilarity index 100%rename from public/vendor/model-stats/app.js.LICENSE.txtrename to api/public/vendor/model-stats/app.js.LICENSE.txtdiff --git a/public/vendor/model-stats/mix-manifest.json b/api/public/vendor/model-stats/mix-manifest.jsonsimilarity index 100%rename from public/vendor/model-stats/mix-manifest.jsonrename to api/public/vendor/model-stats/mix-manifest.jsondiff --git a/public/vendor/model-stats/resources_js_views_dashboard_vue.js b/api/public/vendor/model-stats/resources_js_views_dashboard_vue.jssimilarity index 100%rename from public/vendor/model-stats/resources_js_views_dashboard_vue.jsrename to api/public/vendor/model-stats/resources_js_views_dashboard_vue.jsdiff --git a/public/vendor/model-stats/resources_js_views_errors_404_vue.js b/api/public/vendor/model-stats/resources_js_views_errors_404_vue.jssimilarity index 100%rename from public/vendor/model-stats/resources_js_views_errors_404_vue.jsrename to api/public/vendor/model-stats/resources_js_views_errors_404_vue.jsdiff --git a/public/vendor/vapor-ui/app.css b/api/public/vendor/vapor-ui/app.csssimilarity index 100%rename from public/vendor/vapor-ui/app.cssrename to api/public/vendor/vapor-ui/app.cssdiff --git a/public/vendor/vapor-ui/app.js b/api/public/vendor/vapor-ui/app.jssimilarity index 100%rename from public/vendor/vapor-ui/app.jsrename to api/public/vendor/vapor-ui/app.jsdiff --git a/public/vendor/vapor-ui/mix-manifest.json b/api/public/vendor/vapor-ui/mix-manifest.jsonsimilarity index 100%rename from public/vendor/vapor-ui/mix-manifest.jsonrename to api/public/vendor/vapor-ui/mix-manifest.jsondiff --git a/public/web.config b/api/public/web.configsimilarity index 100%rename from public/web.configrename to api/public/web.configdiff --git a/public/widgets/embed-min.js b/api/public/widgets/embed-min.jssimilarity index 100%rename from public/widgets/embed-min.jsrename to api/public/widgets/embed-min.jsdiff --git a/public/widgets/embed.js b/api/public/widgets/embed.jssimilarity index 100%rename from public/widgets/embed.jsrename to api/public/widgets/embed.jsdiff --git a/resources/data/country_code_mapper.json b/api/resources/data/country_code_mapper.jsonsimilarity index 100%rename from resources/data/country_code_mapper.jsonrename to api/resources/data/country_code_mapper.jsondiff --git a/resources/data/country_codes.json b/api/resources/data/country_codes.jsonsimilarity index 100%rename from resources/data/country_codes.jsonrename to api/resources/data/country_codes.jsondiff --git a/resources/data/forms/integrations.json b/api/resources/data/forms/integrations.jsonsimilarity index 100%rename from resources/data/forms/integrations.jsonrename to api/resources/data/forms/integrations.jsondiff --git a/resources/data/forms/templates/industries.json b/api/resources/data/forms/templates/industries.jsonsimilarity index 100%rename from resources/data/forms/templates/industries.jsonrename to api/resources/data/forms/templates/industries.jsondiff --git a/resources/data/forms/templates/types.json b/api/resources/data/forms/templates/types.jsonsimilarity index 100%rename from resources/data/forms/templates/types.jsonrename to api/resources/data/forms/templates/types.jsondiff --git a/resources/data/latin-map.json b/api/resources/data/latin-map.jsonsimilarity index 100%rename from resources/data/latin-map.jsonrename to api/resources/data/latin-map.jsondiff --git a/resources/data/open_filters.json b/api/resources/data/open_filters.jsonsimilarity index 100%rename from resources/data/open_filters.jsonrename to api/resources/data/open_filters.jsondiff --git a/resources/data/timezones.json b/api/resources/data/timezones.jsonsimilarity index 100%rename from resources/data/timezones.jsonrename to api/resources/data/timezones.jsondiff --git a/resources/lang/de-DE/auth.php b/api/resources/lang/de-DE/auth.phpsimilarity index 100%rename from resources/lang/de-DE/auth.phprename to api/resources/lang/de-DE/auth.phpdiff --git a/resources/lang/de-DE/pagination.php b/api/resources/lang/de-DE/pagination.phpsimilarity index 100%rename from resources/lang/de-DE/pagination.phprename to api/resources/lang/de-DE/pagination.phpdiff --git a/resources/lang/de-DE/passwords.php b/api/resources/lang/de-DE/passwords.phpsimilarity index 100%rename from resources/lang/de-DE/passwords.phprename to api/resources/lang/de-DE/passwords.phpdiff --git a/resources/lang/de-DE/validation.php b/api/resources/lang/de-DE/validation.phpsimilarity index 100%rename from resources/lang/de-DE/validation.phprename to api/resources/lang/de-DE/validation.phpdiff --git a/resources/lang/de-DE/verification.php b/api/resources/lang/de-DE/verification.phpsimilarity index 100%rename from resources/lang/de-DE/verification.phprename to api/resources/lang/de-DE/verification.phpdiff --git a/resources/lang/en/auth.php b/api/resources/lang/en/auth.phpsimilarity index 100%rename from resources/lang/en/auth.phprename to api/resources/lang/en/auth.phpdiff --git a/resources/lang/en/pagination.php b/api/resources/lang/en/pagination.phpsimilarity index 100%rename from resources/lang/en/pagination.phprename to api/resources/lang/en/pagination.phpdiff --git a/resources/lang/en/passwords.php b/api/resources/lang/en/passwords.phpsimilarity index 100%rename from resources/lang/en/passwords.phprename to api/resources/lang/en/passwords.phpdiff --git a/resources/lang/en/validation.php b/api/resources/lang/en/validation.phpsimilarity index 100%rename from resources/lang/en/validation.phprename to api/resources/lang/en/validation.phpdiff --git a/resources/lang/en/verification.php b/api/resources/lang/en/verification.phpsimilarity index 100%rename from resources/lang/en/verification.phprename to api/resources/lang/en/verification.phpdiff --git a/resources/lang/es/auth.php b/api/resources/lang/es/auth.phpsimilarity index 100%rename from resources/lang/es/auth.phprename to api/resources/lang/es/auth.phpdiff --git a/resources/lang/es/pagination.php b/api/resources/lang/es/pagination.phpsimilarity index 100%rename from resources/lang/es/pagination.phprename to api/resources/lang/es/pagination.phpdiff --git a/resources/lang/es/passwords.php b/api/resources/lang/es/passwords.phpsimilarity index 100%rename from resources/lang/es/passwords.phprename to api/resources/lang/es/passwords.phpdiff --git a/resources/lang/es/validation.php b/api/resources/lang/es/validation.phpsimilarity index 100%rename from resources/lang/es/validation.phprename to api/resources/lang/es/validation.phpdiff --git a/resources/lang/nb-NO/auth.php b/api/resources/lang/nb-NO/auth.phpsimilarity index 100%rename from resources/lang/nb-NO/auth.phprename to api/resources/lang/nb-NO/auth.phpdiff --git a/resources/lang/nb-NO/pagination.php b/api/resources/lang/nb-NO/pagination.phpsimilarity index 100%rename from resources/lang/nb-NO/pagination.phprename to api/resources/lang/nb-NO/pagination.phpdiff --git a/resources/lang/nb-NO/passwords.php b/api/resources/lang/nb-NO/passwords.phpsimilarity index 100%rename from resources/lang/nb-NO/passwords.phprename to api/resources/lang/nb-NO/passwords.phpdiff --git a/resources/lang/nb-NO/validation.php b/api/resources/lang/nb-NO/validation.phpsimilarity index 100%rename from resources/lang/nb-NO/validation.phprename to api/resources/lang/nb-NO/validation.phpdiff --git a/resources/lang/nb-NO/verification.php b/api/resources/lang/nb-NO/verification.phpsimilarity index 100%rename from resources/lang/nb-NO/verification.phprename to api/resources/lang/nb-NO/verification.phpdiff --git a/resources/lang/pt-BR/auth.php b/api/resources/lang/pt-BR/auth.phpsimilarity index 100%rename from resources/lang/pt-BR/auth.phprename to api/resources/lang/pt-BR/auth.phpdiff --git a/resources/lang/pt-BR/pagination.php b/api/resources/lang/pt-BR/pagination.phpsimilarity index 100%rename from resources/lang/pt-BR/pagination.phprename to api/resources/lang/pt-BR/pagination.phpdiff --git a/resources/lang/pt-BR/passwords.php b/api/resources/lang/pt-BR/passwords.phpsimilarity index 100%rename from resources/lang/pt-BR/passwords.phprename to api/resources/lang/pt-BR/passwords.phpdiff --git a/resources/lang/pt-BR/validation.php b/api/resources/lang/pt-BR/validation.phpsimilarity index 100%rename from resources/lang/pt-BR/validation.phprename to api/resources/lang/pt-BR/validation.phpdiff --git a/resources/lang/zh-CN/auth.php b/api/resources/lang/zh-CN/auth.phpsimilarity index 100%rename from resources/lang/zh-CN/auth.phprename to api/resources/lang/zh-CN/auth.phpdiff --git a/resources/lang/zh-CN/pagination.php b/api/resources/lang/zh-CN/pagination.phpsimilarity index 100%rename from resources/lang/zh-CN/pagination.phprename to api/resources/lang/zh-CN/pagination.phpdiff --git a/resources/lang/zh-CN/passwords.php b/api/resources/lang/zh-CN/passwords.phpsimilarity index 100%rename from resources/lang/zh-CN/passwords.phprename to api/resources/lang/zh-CN/passwords.phpdiff --git a/resources/lang/zh-CN/validation.php b/api/resources/lang/zh-CN/validation.phpsimilarity index 100%rename from resources/lang/zh-CN/validation.phprename to api/resources/lang/zh-CN/validation.phpdiff --git a/resources/views/errors/401.blade.php b/api/resources/views/errors/401.blade.phpsimilarity index 100%rename from resources/views/errors/401.blade.phprename to api/resources/views/errors/401.blade.phpdiff --git a/resources/views/errors/403.blade.php b/api/resources/views/errors/403.blade.phpsimilarity index 100%rename from resources/views/errors/403.blade.phprename to api/resources/views/errors/403.blade.phpdiff --git a/resources/views/errors/404.blade.php b/api/resources/views/errors/404.blade.phpsimilarity index 100%rename from resources/views/errors/404.blade.phprename to api/resources/views/errors/404.blade.phpdiff --git a/resources/views/errors/419.blade.php b/api/resources/views/errors/419.blade.phpsimilarity index 100%rename from resources/views/errors/419.blade.phprename to api/resources/views/errors/419.blade.phpdiff --git a/resources/views/errors/429.blade.php b/api/resources/views/errors/429.blade.phpsimilarity index 100%rename from resources/views/errors/429.blade.phprename to api/resources/views/errors/429.blade.phpdiff --git a/resources/views/errors/500.blade.php b/api/resources/views/errors/500.blade.phpsimilarity index 100%rename from resources/views/errors/500.blade.phprename to api/resources/views/errors/500.blade.phpdiff --git a/resources/views/errors/503.blade.php b/api/resources/views/errors/503.blade.phpsimilarity index 100%rename from resources/views/errors/503.blade.phprename to api/resources/views/errors/503.blade.phpdiff --git a/resources/views/errors/illustrated-layout.blade.php b/api/resources/views/errors/illustrated-layout.blade.phpsimilarity index 100%rename from resources/views/errors/illustrated-layout.blade.phprename to api/resources/views/errors/illustrated-layout.blade.phpdiff --git a/resources/views/errors/layout.blade.php b/api/resources/views/errors/layout.blade.phpsimilarity index 100%rename from resources/views/errors/layout.blade.phprename to api/resources/views/errors/layout.blade.phpdiff --git a/resources/views/errors/minimal.blade.php b/api/resources/views/errors/minimal.blade.phpsimilarity index 100%rename from resources/views/errors/minimal.blade.phprename to api/resources/views/errors/minimal.blade.phpdiff --git a/resources/views/mail/form/confirmation-submission-notification.blade.php b/api/resources/views/mail/form/confirmation-submission-notification.blade.phpsimilarity index 100%rename from resources/views/mail/form/confirmation-submission-notification.blade.phprename to api/resources/views/mail/form/confirmation-submission-notification.blade.phpdiff --git a/resources/views/mail/form/created.blade.php b/api/resources/views/mail/form/created.blade.phpsimilarity index 100%rename from resources/views/mail/form/created.blade.phprename to api/resources/views/mail/form/created.blade.phpdiff --git a/resources/views/mail/form/integrations-event-created.blade.php b/api/resources/views/mail/form/integrations-event-created.blade.phpsimilarity index 100%rename from resources/views/mail/form/integrations-event-created.blade.phprename to api/resources/views/mail/form/integrations-event-created.blade.phpdiff --git a/resources/views/mail/form/submission-notification.blade.php b/api/resources/views/mail/form/submission-notification.blade.phpsimilarity index 100%rename from resources/views/mail/form/submission-notification.blade.phprename to api/resources/views/mail/form/submission-notification.blade.phpdiff --git a/resources/views/mail/user/invitation.blade.php b/api/resources/views/mail/user/invitation.blade.phpsimilarity index 100%rename from resources/views/mail/user/invitation.blade.phprename to api/resources/views/mail/user/invitation.blade.phpdiff --git a/resources/views/notion/callback.blade.php b/api/resources/views/notion/callback.blade.phpsimilarity index 100%rename from resources/views/notion/callback.blade.phprename to api/resources/views/notion/callback.blade.phpdiff --git a/resources/views/oauth/callback.blade.php b/api/resources/views/oauth/callback.blade.phpsimilarity index 100%rename from resources/views/oauth/callback.blade.phprename to api/resources/views/oauth/callback.blade.phpdiff --git a/resources/views/oauth/emailTaken.blade.php b/api/resources/views/oauth/emailTaken.blade.phpsimilarity index 100%rename from resources/views/oauth/emailTaken.blade.phprename to api/resources/views/oauth/emailTaken.blade.phpdiff --git a/resources/views/vendor/mail/html/button.blade.php b/api/resources/views/vendor/mail/html/button.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/html/button.blade.phprename to api/resources/views/vendor/mail/html/button.blade.phpdiff --git a/resources/views/vendor/mail/html/footer.blade.php b/api/resources/views/vendor/mail/html/footer.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/html/footer.blade.phprename to api/resources/views/vendor/mail/html/footer.blade.phpdiff --git a/resources/views/vendor/mail/html/header.blade.php b/api/resources/views/vendor/mail/html/header.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/html/header.blade.phprename to api/resources/views/vendor/mail/html/header.blade.phpdiff --git a/resources/views/vendor/mail/html/layout.blade.php b/api/resources/views/vendor/mail/html/layout.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/html/layout.blade.phprename to api/resources/views/vendor/mail/html/layout.blade.phpdiff --git a/resources/views/vendor/mail/html/message.blade.php b/api/resources/views/vendor/mail/html/message.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/html/message.blade.phprename to api/resources/views/vendor/mail/html/message.blade.phpdiff --git a/resources/views/vendor/mail/html/panel.blade.php b/api/resources/views/vendor/mail/html/panel.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/html/panel.blade.phprename to api/resources/views/vendor/mail/html/panel.blade.phpdiff --git a/resources/views/vendor/mail/html/subcopy.blade.php b/api/resources/views/vendor/mail/html/subcopy.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/html/subcopy.blade.phprename to api/resources/views/vendor/mail/html/subcopy.blade.phpdiff --git a/resources/views/vendor/mail/html/table.blade.php b/api/resources/views/vendor/mail/html/table.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/html/table.blade.phprename to api/resources/views/vendor/mail/html/table.blade.phpdiff --git a/resources/views/vendor/mail/html/themes/default.css b/api/resources/views/vendor/mail/html/themes/default.csssimilarity index 100%rename from resources/views/vendor/mail/html/themes/default.cssrename to api/resources/views/vendor/mail/html/themes/default.cssdiff --git a/resources/views/vendor/mail/text/button.blade.php b/api/resources/views/vendor/mail/text/button.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/text/button.blade.phprename to api/resources/views/vendor/mail/text/button.blade.phpdiff --git a/resources/views/vendor/mail/text/footer.blade.php b/api/resources/views/vendor/mail/text/footer.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/text/footer.blade.phprename to api/resources/views/vendor/mail/text/footer.blade.phpdiff --git a/resources/views/vendor/mail/text/header.blade.php b/api/resources/views/vendor/mail/text/header.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/text/header.blade.phprename to api/resources/views/vendor/mail/text/header.blade.phpdiff --git a/resources/views/vendor/mail/text/layout.blade.php b/api/resources/views/vendor/mail/text/layout.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/text/layout.blade.phprename to api/resources/views/vendor/mail/text/layout.blade.phpdiff --git a/resources/views/vendor/mail/text/message.blade.php b/api/resources/views/vendor/mail/text/message.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/text/message.blade.phprename to api/resources/views/vendor/mail/text/message.blade.phpdiff --git a/resources/views/vendor/mail/text/panel.blade.php b/api/resources/views/vendor/mail/text/panel.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/text/panel.blade.phprename to api/resources/views/vendor/mail/text/panel.blade.phpdiff --git a/resources/views/vendor/mail/text/subcopy.blade.php b/api/resources/views/vendor/mail/text/subcopy.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/text/subcopy.blade.phprename to api/resources/views/vendor/mail/text/subcopy.blade.phpdiff --git a/resources/views/vendor/mail/text/table.blade.php b/api/resources/views/vendor/mail/text/table.blade.phpsimilarity index 100%rename from resources/views/vendor/mail/text/table.blade.phprename to api/resources/views/vendor/mail/text/table.blade.phpdiff --git a/routes/api-external.php b/api/routes/api-external.phpsimilarity index 100%rename from routes/api-external.phprename to api/routes/api-external.phpdiff --git a/routes/api.php b/api/routes/api.phpsimilarity index 100%rename from routes/api.phprename to api/routes/api.phpdiff --git a/routes/channels.php b/api/routes/channels.phpsimilarity index 100%rename from routes/channels.phprename to api/routes/channels.phpdiff --git a/routes/console.php b/api/routes/console.phpsimilarity index 100%rename from routes/console.phprename to api/routes/console.phpdiff --git a/server.php b/api/server.phpsimilarity index 100%rename from server.phprename to api/server.phpdiff --git a/storage/app/.gitignore b/api/storage/app/.gitignoresimilarity index 100%rename from storage/app/.gitignorerename to api/storage/app/.gitignorediff --git a/storage/app/public/.gitignore b/api/storage/app/public/.gitignoresimilarity index 100%rename from storage/app/public/.gitignorerename to api/storage/app/public/.gitignorediff --git a/storage/framework/.gitignore b/api/storage/framework/.gitignoresimilarity index 100%rename from storage/framework/.gitignorerename to api/storage/framework/.gitignorediff --git a/storage/framework/cache/.gitignore b/api/storage/framework/cache/.gitignoresimilarity index 100%rename from storage/framework/cache/.gitignorerename to api/storage/framework/cache/.gitignorediff --git a/storage/framework/cache/data/.gitignore b/api/storage/framework/cache/data/.gitignoresimilarity index 100%rename from storage/framework/cache/data/.gitignorerename to api/storage/framework/cache/data/.gitignorediff --git a/storage/framework/disposable_domains.json b/api/storage/framework/disposable_domains.jsonsimilarity index 100%rename from storage/framework/disposable_domains.jsonrename to api/storage/framework/disposable_domains.jsondiff --git a/storage/framework/sessions/.gitignore b/api/storage/framework/sessions/.gitignoresimilarity index 100%rename from storage/framework/sessions/.gitignorerename to api/storage/framework/sessions/.gitignorediff --git a/storage/framework/testing/.gitignore b/api/storage/framework/testing/.gitignoresimilarity index 100%rename from storage/framework/testing/.gitignorerename to api/storage/framework/testing/.gitignorediff --git a/storage/framework/views/.gitignore b/api/storage/framework/views/.gitignoresimilarity index 100%rename from storage/framework/views/.gitignorerename to api/storage/framework/views/.gitignorediff --git a/storage/logs/.gitignore b/api/storage/logs/.gitignoresimilarity index 100%rename from storage/logs/.gitignorerename to api/storage/logs/.gitignorediff --git a/tests/Browser/LoginTest.php b/api/tests/Browser/LoginTest.phpsimilarity index 100%rename from tests/Browser/LoginTest.phprename to api/tests/Browser/LoginTest.phpdiff --git a/tests/Browser/Pages/Home.php b/api/tests/Browser/Pages/Home.phpsimilarity index 100%rename from tests/Browser/Pages/Home.phprename to api/tests/Browser/Pages/Home.phpdiff --git a/tests/Browser/Pages/HomePage.php b/api/tests/Browser/Pages/HomePage.phpsimilarity index 100%rename from tests/Browser/Pages/HomePage.phprename to api/tests/Browser/Pages/HomePage.phpdiff --git a/tests/Browser/Pages/Login.php b/api/tests/Browser/Pages/Login.phpsimilarity index 100%rename from tests/Browser/Pages/Login.phprename to api/tests/Browser/Pages/Login.phpdiff --git a/tests/Browser/Pages/Onboarding.php b/api/tests/Browser/Pages/Onboarding.phpsimilarity index 100%rename from tests/Browser/Pages/Onboarding.phprename to api/tests/Browser/Pages/Onboarding.phpdiff --git a/tests/Browser/Pages/Page.php b/api/tests/Browser/Pages/Page.phpsimilarity index 100%rename from tests/Browser/Pages/Page.phprename to api/tests/Browser/Pages/Page.phpdiff --git a/tests/Browser/Pages/Register.php b/api/tests/Browser/Pages/Register.phpsimilarity index 100%rename from tests/Browser/Pages/Register.phprename to api/tests/Browser/Pages/Register.phpdiff --git a/tests/Browser/RegisterTest.php b/api/tests/Browser/RegisterTest.phpsimilarity index 100%rename from tests/Browser/RegisterTest.phprename to api/tests/Browser/RegisterTest.phpdiff --git a/tests/Browser/WelcomeTest.php b/api/tests/Browser/WelcomeTest.phpsimilarity index 100%rename from tests/Browser/WelcomeTest.phprename to api/tests/Browser/WelcomeTest.phpdiff --git a/tests/Browser/console/.gitignore b/api/tests/Browser/console/.gitignoresimilarity index 100%rename from tests/Browser/console/.gitignorerename to api/tests/Browser/console/.gitignorediff --git a/tests/Browser/screenshots/.gitignore b/api/tests/Browser/screenshots/.gitignoresimilarity index 100%rename from tests/Browser/screenshots/.gitignorerename to api/tests/Browser/screenshots/.gitignorediff --git a/tests/Browser/source/.gitignore b/api/tests/Browser/source/.gitignoresimilarity index 100%rename from tests/Browser/source/.gitignorerename to api/tests/Browser/source/.gitignorediff --git a/tests/CreatesApplication.php b/api/tests/CreatesApplication.phpsimilarity index 100%rename from tests/CreatesApplication.phprename to api/tests/CreatesApplication.phpdiff --git a/tests/DuskTestCase.php b/api/tests/DuskTestCase.phpsimilarity index 100%rename from tests/DuskTestCase.phprename to api/tests/DuskTestCase.phpdiff --git a/tests/Feature/Forms/AnswerFormTest.php b/api/tests/Feature/Forms/AnswerFormTest.phpsimilarity index 100%rename from tests/Feature/Forms/AnswerFormTest.phprename to api/tests/Feature/Forms/AnswerFormTest.phpdiff --git a/tests/Feature/Forms/CleanDatabaseTest.php b/api/tests/Feature/Forms/CleanDatabaseTest.phpsimilarity index 100%rename from tests/Feature/Forms/CleanDatabaseTest.phprename to api/tests/Feature/Forms/CleanDatabaseTest.phpdiff --git a/tests/Feature/Forms/ConfirmationEmailTest.php b/api/tests/Feature/Forms/ConfirmationEmailTest.phpsimilarity index 100%rename from tests/Feature/Forms/ConfirmationEmailTest.phprename to api/tests/Feature/Forms/ConfirmationEmailTest.phpdiff --git a/tests/Feature/Forms/CreateDynamicSelectOptionTest.php b/api/tests/Feature/Forms/CreateDynamicSelectOptionTest.phpsimilarity index 100%rename from tests/Feature/Forms/CreateDynamicSelectOptionTest.phprename to api/tests/Feature/Forms/CreateDynamicSelectOptionTest.phpdiff --git a/tests/Feature/Forms/FormCaptchaTest.php b/api/tests/Feature/Forms/FormCaptchaTest.phpsimilarity index 100%rename from tests/Feature/Forms/FormCaptchaTest.phprename to api/tests/Feature/Forms/FormCaptchaTest.phpdiff --git a/tests/Feature/Forms/FormIntegrationEventTest.php b/api/tests/Feature/Forms/FormIntegrationEventTest.phpsimilarity index 100%rename from tests/Feature/Forms/FormIntegrationEventTest.phprename to api/tests/Feature/Forms/FormIntegrationEventTest.phpdiff --git a/tests/Feature/Forms/FormIntegrationTest.php b/api/tests/Feature/Forms/FormIntegrationTest.phpsimilarity index 100%rename from tests/Feature/Forms/FormIntegrationTest.phprename to api/tests/Feature/Forms/FormIntegrationTest.phpdiff --git a/tests/Feature/Forms/FormLogicTest.php b/api/tests/Feature/Forms/FormLogicTest.phpsimilarity index 100%rename from tests/Feature/Forms/FormLogicTest.phprename to api/tests/Feature/Forms/FormLogicTest.phpdiff --git a/tests/Feature/Forms/FormPasswordTest.php b/api/tests/Feature/Forms/FormPasswordTest.phpsimilarity index 100%rename from tests/Feature/Forms/FormPasswordTest.phprename to api/tests/Feature/Forms/FormPasswordTest.phpdiff --git a/tests/Feature/Forms/FormPropertyLogicTest.php b/api/tests/Feature/Forms/FormPropertyLogicTest.phpsimilarity index 100%rename from tests/Feature/Forms/FormPropertyLogicTest.phprename to api/tests/Feature/Forms/FormPropertyLogicTest.phpdiff --git a/tests/Feature/Forms/FormStatTest.php b/api/tests/Feature/Forms/FormStatTest.phpsimilarity index 100%rename from tests/Feature/Forms/FormStatTest.phprename to api/tests/Feature/Forms/FormStatTest.phpdiff --git a/tests/Feature/Forms/FormTest.php b/api/tests/Feature/Forms/FormTest.phpsimilarity index 100%rename from tests/Feature/Forms/FormTest.phprename to api/tests/Feature/Forms/FormTest.phpdiff --git a/tests/Feature/Forms/FormUpdateTest.php b/api/tests/Feature/Forms/FormUpdateTest.phpsimilarity index 100%rename from tests/Feature/Forms/FormUpdateTest.phprename to api/tests/Feature/Forms/FormUpdateTest.phpdiff --git a/tests/Feature/Forms/FormViewsTest.php b/api/tests/Feature/Forms/FormViewsTest.phpsimilarity index 100%rename from tests/Feature/Forms/FormViewsTest.phprename to api/tests/Feature/Forms/FormViewsTest.phpdiff --git a/tests/Feature/Forms/HideBrandingOnUpgradeTest.php b/api/tests/Feature/Forms/HideBrandingOnUpgradeTest.phpsimilarity index 100%rename from tests/Feature/Forms/HideBrandingOnUpgradeTest.phprename to api/tests/Feature/Forms/HideBrandingOnUpgradeTest.phpdiff --git a/tests/Feature/Forms/MatrixInputTest.php b/api/tests/Feature/Forms/MatrixInputTest.phpsimilarity index 100%rename from tests/Feature/Forms/MatrixInputTest.phprename to api/tests/Feature/Forms/MatrixInputTest.phpdiff --git a/tests/Feature/Forms/UpdateWorkspaceSelectOptionJobTest.php b/api/tests/Feature/Forms/UpdateWorkspaceSelectOptionJobTest.phpsimilarity index 100%rename from tests/Feature/Forms/UpdateWorkspaceSelectOptionJobTest.phprename to api/tests/Feature/Forms/UpdateWorkspaceSelectOptionJobTest.phpdiff --git a/tests/Feature/Integrations/Google/Sheets/SpreadsheetManagerTest.php b/api/tests/Feature/Integrations/Google/Sheets/SpreadsheetManagerTest.phpsimilarity index 100%rename from tests/Feature/Integrations/Google/Sheets/SpreadsheetManagerTest.phprename to api/tests/Feature/Integrations/Google/Sheets/SpreadsheetManagerTest.phpdiff --git a/tests/Feature/LoginTest.php b/api/tests/Feature/LoginTest.phpsimilarity index 100%rename from tests/Feature/LoginTest.phprename to api/tests/Feature/LoginTest.phpdiff --git a/tests/Feature/RegisterTest.php b/api/tests/Feature/RegisterTest.phpsimilarity index 100%rename from tests/Feature/RegisterTest.phprename to api/tests/Feature/RegisterTest.phpdiff --git a/tests/Feature/SettingsTest.php b/api/tests/Feature/SettingsTest.phpsimilarity index 100%rename from tests/Feature/SettingsTest.phprename to api/tests/Feature/SettingsTest.phpdiff --git a/tests/Feature/Submissions/EditSubmissionTest.php b/api/tests/Feature/Submissions/EditSubmissionTest.phpsimilarity index 100%rename from tests/Feature/Submissions/EditSubmissionTest.phprename to api/tests/Feature/Submissions/EditSubmissionTest.phpdiff --git a/tests/Feature/TemplateTest.php b/api/tests/Feature/TemplateTest.phpsimilarity index 100%rename from tests/Feature/TemplateTest.phprename to api/tests/Feature/TemplateTest.phpdiff --git a/tests/Feature/UserInviteTest.php b/api/tests/Feature/UserInviteTest.phpsimilarity index 100%rename from tests/Feature/UserInviteTest.phprename to api/tests/Feature/UserInviteTest.phpdiff --git a/tests/Feature/VerificationTest.php b/api/tests/Feature/VerificationTest.phpsimilarity index 100%rename from tests/Feature/VerificationTest.phprename to api/tests/Feature/VerificationTest.phpdiff --git a/tests/Feature/WorkspaceTest.php b/api/tests/Feature/WorkspaceTest.phpsimilarity index 100%rename from tests/Feature/WorkspaceTest.phprename to api/tests/Feature/WorkspaceTest.phpdiff --git a/tests/Feature/WorkspaceUserTest.php b/api/tests/Feature/WorkspaceUserTest.phpsimilarity index 100%rename from tests/Feature/WorkspaceUserTest.phprename to api/tests/Feature/WorkspaceUserTest.phpdiff --git a/tests/Feature/Zapier/IntegrationsTest.php b/api/tests/Feature/Zapier/IntegrationsTest.phpsimilarity index 100%rename from tests/Feature/Zapier/IntegrationsTest.phprename to api/tests/Feature/Zapier/IntegrationsTest.phpdiff --git a/tests/Feature/Zapier/ListFormsTest.php b/api/tests/Feature/Zapier/ListFormsTest.phpsimilarity index 100%rename from tests/Feature/Zapier/ListFormsTest.phprename to api/tests/Feature/Zapier/ListFormsTest.phpdiff --git a/tests/Feature/Zapier/ListWorkspacesTest.php b/api/tests/Feature/Zapier/ListWorkspacesTest.phpsimilarity index 100%rename from tests/Feature/Zapier/ListWorkspacesTest.phprename to api/tests/Feature/Zapier/ListWorkspacesTest.phpdiff --git a/tests/Feature/Zapier/ValidateAuthTest.php b/api/tests/Feature/Zapier/ValidateAuthTest.phpsimilarity index 100%rename from tests/Feature/Zapier/ValidateAuthTest.phprename to api/tests/Feature/Zapier/ValidateAuthTest.phpdiff --git a/tests/Helpers/FormSubmissionDataFactory.php b/api/tests/Helpers/FormSubmissionDataFactory.phpsimilarity index 100%rename from tests/Helpers/FormSubmissionDataFactory.phprename to api/tests/Helpers/FormSubmissionDataFactory.phpdiff --git a/tests/Pest.php b/api/tests/Pest.phpsimilarity index 100%rename from tests/Pest.phprename to api/tests/Pest.phpdiff --git a/tests/TestCase.php b/api/tests/TestCase.phpsimilarity index 100%rename from tests/TestCase.phprename to api/tests/TestCase.phpdiff --git a/tests/TestHelpers.php b/api/tests/TestHelpers.phpsimilarity index 100%rename from tests/TestHelpers.phprename to api/tests/TestHelpers.phpdiff --git a/tests/Unit/Rules/StorageFileTest.php b/api/tests/Unit/Rules/StorageFileTest.phpsimilarity index 100%rename from tests/Unit/Rules/StorageFileTest.phprename to api/tests/Unit/Rules/StorageFileTest.phpdiff --git a/tests/Unit/Service/Forms/FormLogicPropertyResolverTest.php b/api/tests/Unit/Service/Forms/FormLogicPropertyResolverTest.phpsimilarity index 100%rename from tests/Unit/Service/Forms/FormLogicPropertyResolverTest.phprename to api/tests/Unit/Service/Forms/FormLogicPropertyResolverTest.phpdiff --git a/tests/Unit/Service/Storage/StorageFileNameParserTest.php b/api/tests/Unit/Service/Storage/StorageFileNameParserTest.phpsimilarity index 100%rename from tests/Unit/Service/Storage/StorageFileNameParserTest.phprename to api/tests/Unit/Service/Storage/StorageFileNameParserTest.phpdiff --git a/tests/Unit/TestHelpersTest.php b/api/tests/Unit/TestHelpersTest.phpsimilarity index 100%rename from tests/Unit/TestHelpersTest.phprename to api/tests/Unit/TestHelpersTest.phpdiff --git a/vapor.yml b/api/vapor.ymlsimilarity index 100%rename from vapor.ymlrename to api/vapor.ymldiff --git a/app/helpers.php b/app/helpers.phpdeleted file mode 100644index 86f2cbfc7..000000000--- a/app/helpers.php+++ /dev/null@@ -1,21 +0,0 @@-<?php--if(!function_exists('front_url')) {- function front_url($path = '')- {- $baseUrl = config('app.front_url');- if (! $baseUrl) {- return $path;- }-- return rtrim($baseUrl, '/').'/'.ltrim($path, '/');- }-}---if(!function_exists('pricing_enabled')) {- function pricing_enabled(): bool- {- return App::environment() !== 'testing' && !is_null(config('cashier.key'));- }-}diff --git a/client/.env.docker b/client/.env.dockerindex 21938a897..97e969c3a 100644--- a/client/.env.docker+++ b/client/.env.docker@@ -1,13 +1,8 @@-NUXT_LOG_LEVEL=NUXT_PUBLIC_APP_URL=/NUXT_PUBLIC_API_BASE=/apiNUXT_PRIVATE_API_BASE=http://ingress/apiNUXT_PUBLIC_AI_FEATURES_ENABLED=false-NUXT_PUBLIC_AMPLITUDE_CODE=-NUXT_PUBLIC_CRISP_WEBSITE_ID=-NUXT_PUBLIC_CUSTOM_DOMAINS_ENABLED=-NUXT_PUBLIC_ENV=local+NUXT_PUBLIC_ENV=devNUXT_PUBLIC_GOOGLE_ANALYTICS_CODE=NUXT_PUBLIC_H_CAPTCHA_SITE_KEY=-NUXT_PUBLIC_PAID_PLANS_ENABLED=NUXT_PUBLIC_S3_ENABLED=false\ No newline at end of filediff --git a/client/middleware/self-hosted-credentials.js b/client/middleware/self-hosted-credentials.jsindex d90f0c4d2..6356aee5a 100644--- a/client/middleware/self-hosted-credentials.js+++ b/client/middleware/self-hosted-credentials.js@@ -1,9 +1,10 @@export default defineNuxtRouteMiddleware(() => {- const authStore = useAuthStore()- const runtimeConfig = useRuntimeConfig()- if (runtimeConfig.public?.selfHosted) {- if (authStore.check && authStore.user?.email === '[email protected]') {- return navigateTo({ name: "update-credentials" })- }+ const authStore = useAuthStore()+ const runtimeConfig = useRuntimeConfig()++ if (runtimeConfig.public?.selfHosted) {+ if (authStore.check && authStore.user?.email === '[email protected]') {+ return navigateTo({ name: "update-credentials" })}- })\ No newline at end of file+ }+})\ No newline at end of filediff --git a/client/pages/settings.vue b/client/pages/settings.vueindex 5d596c16e..9488b111b 100644--- a/client/pages/settings.vue+++ b/client/pages/settings.vue@@ -47,7 +47,7 @@ import { computed } from "vue"import { useAuthStore } from "../stores/auth"definePageMeta({- middleware: "auth",+ middleware: ["auth", "self-hosted-credentials"],})useOpnSeoMeta({diff --git a/docker-compose.yml b/docker-compose.ymlindex d12906c59..f796c8356 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -17,28 +17,23 @@ services:AWS_REGION: eu-west-1AWS_BUCKET: laravel-bucketLOCAL_FILESYSTEM_VISIBILITY: public- FRONT_URL: ${FRONT_URL:-http://localhost}- env_file: ./.env+ env_file:+ - ./api/.envvolumes:- - laravel-persist:/persist- - ./storage/logs:/usr/share/nginx/html/storage/logs+ - ./api/storage:/usr/share/nginx/html/storageapi-worker:<<: *apicommand: ./artisan queue:work+ env_file:+ - ./api/.envvolumes:- - ./storage/logs:/usr/share/nginx/html/storage/logs+ - ./api/storage:/usr/share/nginx/html/storageui:image: jhumanj/opnform-client:latest- environment:- NUXT_PUBLIC_APP_URL: ${NUXT_PUBLIC_APP_URL:-/}- NUXT_PUBLIC_API_BASE: ${NUXT_PUBLIC_API_BASE:-/api}- NUXT_PRIVATE_API_BASE: http://ingress/apienv_file:- - ./client/.env- volumes:- - ./client/.env:/app/.env+ - ./client/.envredis:image: redis:7@@ -60,5 +55,4 @@ services:- 80:80volumes:- laravel-persist:- postgres-data:+ postgres-data:\ No newline at end of filediff --git a/docker/Dockerfile.api b/docker/Dockerfile.apiindex 35a65ffd8..bcd3be7f4 100644--- a/docker/Dockerfile.api+++ b/docker/Dockerfile.api@@ -8,9 +8,8 @@ COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composerENV COMPOSER_ALLOW_SUPERUSER=1RUN docker-php-ext-install pdo pgsql pdo_pgsql gd bcmath zip && pecl install redis && docker-php-ext-enable redis-WORKDIR /usr/share/nginx/html/-ADD composer.json composer.lock artisan ./+ADD api/composer.json api/composer.lock api/artisan ./# NOTE: The project would build more reliably if all php files were added before running# composer install. This would though introduce a dependency which would cause every@@ -22,19 +21,19 @@ ADD composer.json composer.lock artisan ./# post-autoload command from the composer file if we want to run composer without# adding a dependency to all the php files.RUN sed 's_@php artisan package:discover_/bin/true_;' -i composer.json-ADD app/helpers.php app/helpers.php+ADD api/app/helpers.php app/helpers.phpRUN composer install --ignore-platform-req=php-ADD app ./app-ADD bootstrap ./bootstrap-ADD config ./config-ADD database ./database-ADD public public-ADD routes routes-ADD tests tests-ADD resources resources-ADD storage ./storage-RUN chmod 777 -R storage+ADD api/app ./app+ADD api/bootstrap ./bootstrap+ADD api/config ./config+ADD api/database ./database+ADD api/public public+ADD api/routes routes+ADD api/tests tests+ADD api/resources resources+ADD api/storage ./storage+RUN chmod -R 775 storage && chown -R www-data:www-data storage# Manually run the command we deleted from composer.json earlierRUN php artisan package:discover --ansi@@ -43,5 +42,10 @@ COPY docker/php-fpm-entrypoint /usr/local/bin/opnform-entrypointRUN chmod a+x /usr/local/bin/*+# Create necessary directories and set permissions+RUN mkdir -p storage/framework/sessions storage/framework/views storage/framework/cache \+ && chown -R www-data:www-data storage \+ && chmod -R 775 storage+ENTRYPOINT [ "/usr/local/bin/opnform-entrypoint" ]-CMD php-fpm+CMD php-fpm\ No newline at end of filediff --git a/docker/php-fpm-entrypoint b/docker/php-fpm-entrypointindex 1ad0eaa9b..81f77e337 100644--- a/docker/php-fpm-entrypoint+++ b/docker/php-fpm-entrypoint@@ -55,9 +55,6 @@ prep_storage() {touch /var/log/opnform.logchown www-data /var/log/opnform.log-- echo "Linking persistent storage into app"- ln -t . -sf /persist/storage}main "$@"\ No newline at end of filediff --git a/scripts/setup-env.sh b/scripts/setup-env.shindex 8b92e0d9d..bef9f76af 100755--- a/scripts/setup-env.sh+++ b/scripts/setup-env.sh@@ -5,11 +5,11 @@ set -e# Welcome to the OpnForm environment setup script!# Paths to the environment files-ENV_FILE=".env"+ENV_FILE="api/.env"CLIENT_ENV_FILE="client/.env"# Paths to the environment templates-ENV_EXAMPLE=".env.example"+ENV_EXAMPLE="api/.env.example"CLIENT_ENV_EXAMPLE="client/.env.example"# Check for the --docker flag to use Docker-specific environment settings@@ -17,7 +17,7 @@ USE_DOCKER_ENV=falsefor arg in "$@"; doif [ "$arg" == "--docker" ]; thenUSE_DOCKER_ENV=true- ENV_EXAMPLE=".env.docker"+ ENV_EXAMPLE="api/.env.docker"CLIENT_ENV_EXAMPLE="client/.env.docker"echo "OpnForm setup detected the --docker flag. Preparing Docker-specific environment..."break