Skip to content

ohqte/site

Repository files navigation

ohqte/site

intro · setup · used

license vercel-status blogs

📖 intro

a mini fullstack site i made for my portfolio that implents the following technologies:

🔍 todo

name type badge
✔️ / page svelte
/blog page svelte
✔️ /blog/[slug] page svelte
/projects page svelte
/connect page svelte
✔️ Prisma ORM database prisma
✔️ PlantScale MySQL database pscale
feed api RSS Badge
sitemap api svelte
Command Palette component svelte
Giscus Comments component gh
@vercel/og component vercel
@vercel/analytics analytics vercel

⚙ setup

Warning

incompleted documentation

  • setup a .env file in the following format:
# .env

# giscus
GISCUS_REPO = "user/repo"

# authjs
AUTH_CLIENT_ID = "***-***"
AUTH_CLIENT_SECRET = "***-***"
AUTH_SECRET = "***-***"
  • setup the following variables on the respective platforms:
variable platform
GISCUS_REPO v
AUTH_CLIENT_ID v
AUTH_CLIENT_SECRET v
AUTH_SECRET v
  • run the following commands to host site on localhost:
$ cd site/
>
$ pnpm dev
> [email protected] dev ~/site
> vite dev

VITE v4.0.0  ready in 1000 ms
  ➜  Local:   http://localhost:2000/
  ➜  Network: use --host to expose
  ➜  press h to show help

🗂️ used

🔌 dependencies

pnpm vite vercel svelte sveltekit scss rss