Skip to content

Commit a7eabfc

Browse files
Session server sample app
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 1563b2f commit a7eabfc

48 files changed

Lines changed: 15133 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vscode/launch.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "launch",
7+
"name": "Launch Frontend",
8+
"skipFiles": [
9+
"<node_internals>/**"
10+
],
11+
"runtimeExecutable": "${workspaceFolder}/app/node_modules/.bin/tsx",
12+
"program": "${workspaceFolder}/app/src/index.ts",
13+
"cwd": "${workspaceFolder}/app",
14+
"console": "integratedTerminal"
15+
}
16+
]
17+
}

app/.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
sessions
3+
.copilot

app/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
sessions/
3+
.copilot/

app/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM node:22-slim
2+
3+
RUN apt-get update && apt-get install -y --no-install-recommends rsync && rm -rf /var/lib/apt/lists/*
4+
5+
WORKDIR /app
6+
7+
# Install dependencies (postinstall needs scripts/)
8+
COPY package.json package-lock.json* ./
9+
COPY scripts ./scripts
10+
RUN npm install
11+
12+
# Source is bind-mounted in dev, but copy for production builds
13+
COPY . .
14+
15+
EXPOSE 3001
16+
17+
CMD ["npm", "run", "dev"]

app/components.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "",
8+
"css": "src/web-ui/index.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"iconLibrary": "lucide",
14+
"rtl": false,
15+
"aliases": {
16+
"components": "@/components",
17+
"utils": "@/lib/utils",
18+
"ui": "@/components/ui",
19+
"lib": "@/lib",
20+
"hooks": "@/hooks"
21+
},
22+
"menuColor": "default",
23+
"menuAccent": "subtle",
24+
"registries": {}
25+
}

0 commit comments

Comments
 (0)