Restructure project layout

This commit is contained in:
Micha
2025-12-24 12:03:44 +01:00
parent e1552a8c2e
commit 98a2f1d536
47 changed files with 7 additions and 11 deletions

9
.gitignore vendored
View File

@@ -2,7 +2,8 @@
node_modules/ node_modules/
frontend/node_modules/ frontend/node_modules/
frontend/dist/ frontend/dist/
speedBB/var/ api/var/
speedBB/vendor/ api/vendor/
speedBB/.env.local api/public/app/
speedBB/.env.*.local api/.env.local
api/.env.*.local

View File

@@ -31,10 +31,5 @@ DEFAULT_URI=http://localhost
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
# #
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db" # DATABASE_URL="sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db"
DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/speedbb?serverVersion=8.0.32&charset=utf8mb4" # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/speedbb?serverVersion=8.0.32&charset=utf8mb4"
###< doctrine/doctrine-bundle ### ###< doctrine/doctrine-bundle ###
###> lexik/jwt-authentication-bundle ###
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=c578af49bd0f08c74489304657f8f7c8f654dd4a89bb6b6e1693cf347fb12912
###< lexik/jwt-authentication-bundle ###

View File

@@ -7,7 +7,7 @@ export default defineConfig({
plugins: [react()], plugins: [react()],
base: '/app/', base: '/app/',
build: { build: {
outDir: path.resolve(__dirname, '../speedBB/public/app'), outDir: path.resolve(__dirname, '../api/public/app'),
emptyOutDir: true, emptyOutDir: true,
}, },
}) })