Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/patrick11514/web
- Owner: patrick11514
- Created: 2021-03-01T20:02:20.000Z (almost 4 years ago)
- Default Branch: V2
- Last Pushed: 2024-11-15T14:51:05.000Z (2 months ago)
- Last Synced: 2024-11-15T15:43:51.028Z (2 months ago)
- Topics: personal-website, portfolio, website
- Language: TypeScript
- Homepage: https://patrick115.eu
- Size: 62.8 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```