e1df743eb22dd791833325c341fa74375809f689
Run and deploy your AI Studio app
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/b6ca5081-8525-4b56-8fbc-92c242c9ae8a
Run Locally
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
Run With Docker
Production deployment (minimum Docker download):
- Create
.env.localfrom.env.exampleand setGEMINI_API_KEY. - Build the static files locally with the dependencies already installed:
npm run build - Start the production container:
docker compose up --build -d - Open
http://localhost:8080.
The production compose stack runs two services:
app: nginx serves the host-builtdistfolder onhttp://localhost:8080api: the VISA API runs onhttp://localhost:4000
nginx also proxies API calls under http://localhost:8080/api/... to the API
container. The frontend image copies the local dist directory into
nginx:stable-alpine3.23-slim; it does not download Node or reinstall npm
packages inside the frontend Docker image.
Development server (optional, downloads a Node image and dependencies):
- Create
.env.localfrom.env.exampleand setGEMINI_API_KEY. - Start the development container:
docker compose -f docker-compose.dev.yml up --build - Open
http://localhost:3000.
The development compose stack runs Vite on http://localhost:3000 and the VISA
API on http://localhost:4000.
Description
Languages
TypeScript
89.5%
Python
10.2%
CSS
0.2%
HTML
0.1%