Source code of my main website patrick115.eu
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building app:
npm run build
Show builded preview: npm run preview
.
Start builded app using npm run start
with Node Adapter or config command in package.json using your own Adapter
#webserver config
HOST=0.0.0.0
PORT=5178
ORIGIN=http://localhost:5178
PUBLIC_ORIGIN=https://myweb.cz
BODY_SIZE_LIMIT=16777216 # max upload size in bytes
#database config
DATABASE_IP=10.10.10.223
DATABASE_PORT=3306
DATABASE_USER=superclovek
DATABASE_PASSWORD=tajnyheslo123456
DATABASE_NAME=website
DATABASE_URL=mysql://superclovek:[email protected]:3306/website
#secret pro JWT (tím se bude podepisovat JWT token - https://jwt.io/)
JWT_SECRET=text
#v sekundách (10 min = 10 * 60)
#expiruje pouze pokud uživatel danou dobu nic nedělá (neprochází stránky)
COOKIE_EXPIRE=1200
#v sekundách (5 minut = 5 * 60)
PUBLIC_CHECK_COOKIE_INTERVAL=300