14a32bdc0d
- Unified monorepo with backend (Express), frontend (Next.js), and devops - Backend: ESLint, Prettier, Jest tests (3 passing), health endpoint, .env.example - Frontend: Fixed build errors, fixed all lint errors (0 remaining), tests passing - DevOps: Docker Compose with PostgreSQL, backend, frontend + healthchecks - CI/CD: 3 GitHub Actions workflows (backend, frontend, docker integration) - DX: Husky pre-commit hooks with smart change detection - Docs: Root README with architecture, CONTRIBUTING.md, PR template Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"name": "Website Monitoring Development",
|
|
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-18",
|
|
"workspaceFolder": "/workspaces/devops",
|
|
|
|
// Dies funktioniert sowohl lokal als auch in Codespaces
|
|
"workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces,type=bind,consistency=cached",
|
|
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode",
|
|
"bradlc.vscode-tailwindcss",
|
|
"ms-vscode.vscode-typescript-next"
|
|
],
|
|
"settings": {
|
|
"terminal.integrated.defaultProfile.linux": "bash"
|
|
}
|
|
}
|
|
},
|
|
"forwardPorts": [3000, 5000],
|
|
"remoteEnv": {
|
|
"NEXT_PUBLIC_SUPABASE_URL": "${localEnv:NEXT_PUBLIC_SUPABASE_URL}",
|
|
"NEXT_PUBLIC_SUPABASE_ANON_KEY": "${localEnv:NEXT_PUBLIC_SUPABASE_ANON_KEY}"
|
|
},
|
|
|
|
// Setup-Script (funktioniert in beiden Umgebungen)
|
|
"postCreateCommand": "bash ./.devcontainer/setup-repos.sh",
|
|
|
|
// Öffnet den Workspace nach dem Verbinden
|
|
"postAttachCommand": {
|
|
"Open Workspace": "code ./.vscode/workspace.code-workspace"
|
|
}
|
|
} |