a mini fullstack site i made for my portfolio that implents the following technologies:
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 |
|
AUTH_CLIENT_ID |
|
AUTH_CLIENT_SECRET |
|
AUTH_SECRET |
- 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