Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/patrick11514/web

Personal website
https://github.com/patrick11514/web

personal-website portfolio website

Last synced: about 2 months ago
JSON representation

Personal website

Awesome Lists containing this project

README

        

# Info

Source code of my main website [patrick115.eu](https://patrick115.eu)

## Dev mode

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

## Build

Building app:

```bash
npm run build
```

Show builded preview: `npm run preview`.
Start builded app using `npm run start` with [Node Adapter](https://kit.svelte.dev/docs/adapter-node) or config command in package.json using your own [Adapter](https://kit.svelte.dev/docs/adapters)

## Example ENV file (.env.example)

```YAML
#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
```