refactor(backend): better code quality, fix timeout issue, fix website eat port 3000, fix nginx wrong point, better docker compose file, moving some file and change some import, update package dependency etc.

This commit is contained in:
2026-07-06 21:44:30 +07:00 Unverified
parent 6a4f06f5aa
commit 05cf38d020
11 changed files with 238 additions and 198 deletions
+15 -15
View File
@@ -3,9 +3,9 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "PORT=4000 bun --bun next dev --turbopack",
"dev": "PORT=4000 bun --bun next dev",
"build": "next build",
"start": "next start",
"start": "next start -H 0.0.0.0",
"lint": "eslint",
"up": "docker compose up -d --build",
"logs": "docker compose logs -f erika",
@@ -17,28 +17,28 @@
"dependencies": {
"@auth/drizzle-adapter": "^1.11.2",
"@hookform/resolvers": "^5.4.0",
"@radix-ui/react-label": "^2.1.10",
"@radix-ui/react-label": "^2.1.11",
"@radix-ui/react-slot": "^1.3.0",
"@tailwindcss/typography": "^0.5.20",
"@tiptap/extension-bubble-menu": "^3.27.1",
"@tiptap/extension-link": "^3.27.1",
"@tiptap/extension-underline": "^3.27.1",
"@tiptap/pm": "^3.27.1",
"@tiptap/react": "^3.27.1",
"@tiptap/starter-kit": "^3.27.1",
"@tiptap/extension-bubble-menu": "^3.27.2",
"@tiptap/extension-link": "^3.27.2",
"@tiptap/extension-underline": "^3.27.2",
"@tiptap/pm": "^3.27.2",
"@tiptap/react": "^3.27.2",
"@tiptap/starter-kit": "^3.27.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"drizzle-orm": "^0.45.2",
"lucide-react": "^1.21.0",
"lucide-react": "^1.23.0",
"next": "^16.2.10",
"next-auth": "^4.24.14",
"next-themes": "^0.4.6",
"postgres": "^3.4.9",
"radix-ui": "^1.6.0",
"radix-ui": "^1.6.1",
"react": "19.2.7",
"react-dom": "19.2.7",
"react-hook-form": "^7.80.0",
"shadcn": "^4.11.1",
"react-hook-form": "^7.81.0",
"shadcn": "^4.13.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.6.0",
"tw-animate-css": "^1.4.0",
@@ -46,14 +46,14 @@
"zod": "^4.4.3"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.1",
"@tailwindcss/postcss": "^4.3.2",
"@types/node": "^20.19.43",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"drizzle-kit": "^0.31.10",
"eslint": "^9.39.4",
"eslint-config-next": "16.2.9",
"tailwindcss": "^4.3.1",
"tailwindcss": "^4.3.2",
"typescript": "^5.9.3"
},
"ignoreScripts": [