add client: React + Vite + Capacitor prototype

Web app React 18 + TypeScript con quattro schermate: Setup (URL server +
password + test connessione), Ingredients (lista ingredienti e preferenze),
Recipes (lista 3 ricette generate), RecipeDetail (dettaglio e procedimento).
Persistenza URL/password via Capacitor Preferences. Pronto per build Android.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 00:08:20 +02:00
parent 3d330655a6
commit f1f9be5ded
17 changed files with 3838 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
{
"name": "appetito-client",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"cap:add:android": "cap add android",
"cap:sync": "cap sync",
"cap:open:android": "cap open android"
},
"dependencies": {
"@capacitor/android": "^6.0.0",
"@capacitor/core": "^6.0.0",
"@capacitor/preferences": "^6.0.0",
"react": "^18.3.0",
"react-dom": "^18.3.0"
},
"devDependencies": {
"@capacitor/cli": "^6.0.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.0",
"typescript": "^5.4.0",
"vite": "^5.3.0"
}
}