79b959aac7d28a1093b31c8597b8efdb3a9e82ec
photobooth
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VS Code + Vue (Official) (and disable Vetur).
Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
Customize configuration
See Vite Configuration Reference.
Project Setup
yarn
Environment
Create .env.local (or copy from .env.example) and set:
VITE_API_BASE_URL=https://your-api.example.com
Compile and Hot-Reload for Development
yarn dev
Compile and Minify for Production
yarn build
Backend requirements (for auth + saved strips)
This app expects a backend that implements:
POST /auth/signupPOST /auth/loginPOST /auth/refresh(uses HttpOnly refresh cookie)POST /auth/logoutGET /meGET /media?type=stripPOST /media(acceptsdataUrlfor strip PNG)DELETE /media/:id
If frontend and backend are on different domains, backend must support:
- CORS with an explicit
Access-Control-Allow-Origin(not*) Access-Control-Allow-Credentials: true- refresh cookie set with
HttpOnly; Secure; SameSite=None
Description
Languages
Vue
53%
JavaScript
37%
PowerShell
6.6%
Shell
2.3%
Batchfile
0.8%
Other
0.3%