Compra tus lentillas, fácil y rápido.
|
|
||
|---|---|---|
| .cursor/rules | ||
| server | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| env.example | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
lentillas
Compra tus lentillas, fácil y rápido.
Desarrollo
npm install
npm run db:init
npm run dev
El frontend corre con Vite y proxifica /api al backend Express. El backend usa las
variables de env.example.
Producción
npm run build
npm start
El Dockerfile construye la app React y la sirve desde el backend Node en el puerto 3000, listo para desplegar en EasyPanel.