chore: add gitignore files and database fix admin user script

add root, server, client gitignore files for different environment ignore rules, and add sql script to fix or initialize admin user with bcrypt encrypted password
This commit is contained in:
2026-05-23 15:12:56 +08:00
parent 1c6599e50f
commit 3f5ea4bffd
4 changed files with 114 additions and 0 deletions

44
client/.gitignore vendored Normal file
View File

@@ -0,0 +1,44 @@
# Dependencies
node_modules/
.pnp
.pnp.js
# Build
dist/
dist-ssr/
*.local
# IDE
.idea/
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
# OS
.DS_Store
Thumbs.db
# Test
coverage/
*.lcov
# Environment
.env
.env.local
.env.*.local
# Cache
.cache/
.temp/
*.tmp