Skip to content

Personal website, or intended glorify archive. Confusing stuff that I put together 🐧

Notifications You must be signed in to change notification settings

thienguen/website

Repository files navigation

Banner

vankythien.dev, an attempt at web dev, and realized I sucks.
Using Next.js 13, enhanced with Tailwind, powered by TypeScript, and seamlessly deployed via Vercel.

CodeFactor

Preview ☁️

Banner

Getting Started 🎲

Set up the environment variables file with the following variables.

  # https://api.lanyard.rest/v1/users/user_id
  BASE_URL=http://localhost:3000

  NEXT_PUBLIC_DISCORD_ID=
  NEXT_PUBLIC_EMAIL=

  GITHUB_ID=Iv1.
  GITHUB_SECRET=

  GOOGLE_CLIENT_ID=
  GOOGLE_CLIENT_SECRET=

  DATABASE_URL=

  NEXTAUTH_URL_INTERNAL=http://10.240.8.16
  NEXTAUTH_URL=http://localhost:3000
  NEXTAUTH_SECRET=
  • Get GITHUB_ID and GITHUB_SECRET from Github OAuth

  • Get GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET from Google OAuth

  • GET NEXTAUTH_SECRET from NextAuth

    • OR runt the command openssl rand -base64 32 in the CLI
    • OR access to this website NextAuth

Next, run in the CLI (root folder) ☒️

  # install dependencies
  npm install

  # run prisma CLI
  npm prisma run

  # run the development server
  npm run dev
  # or
  yarn dev
  # or
  pnpm dev

Open http://localhost:3000 with your browser to see the result.

Features βœ’οΈ

  • Discord Presence
  • Google OAuth
  • Github OAuth
  • Lanyard API
  • Guestbook
  • Kbar
  • useSound
  • Blog (TBD)
  • Reponsive (breh)

Project Folder Structure πŸ’€

Welcome to the project's folder structure! Below is an organized representation of the directories and subdirectories:

## prisma 
β”œβ”€β”€ πŸ“„ schema.prisma

## public
β”œβ”€β”€ πŸ“‚ bg
β”œβ”€β”€ πŸ“‚ fonts
β”œβ”€β”€ πŸ“‚ icons
β”œβ”€β”€ πŸ“‚ icons-json
β”œβ”€β”€ πŸ“‚ images
β”œβ”€β”€ πŸ“‚ mouse
β”œβ”€β”€ πŸ“‚ rpg
└── πŸ“‚ sounds

## src code
β”œβ”€β”€ πŸ“ app
β”‚   β”œβ”€β”€ πŸ“ about
β”‚   β”œβ”€β”€ πŸ“ api
β”‚   β”œβ”€β”€ πŸ“ dashboard
β”‚   β”œβ”€β”€ πŸ“ contact
β”‚   β”œβ”€β”€ πŸ“ guestbook
β”‚   └── πŸ“ projects
β”œβ”€β”€ πŸ“ components
β”‚   β”œβ”€β”€ πŸ“ about-me
β”‚   β”‚   └── πŸ“ qa
β”‚   β”œβ”€β”€ πŸ“ common
β”‚   β”œβ”€β”€ πŸ“ dashboard
β”‚   β”‚   └── πŸ“ ...
β”‚   β”œβ”€β”€ πŸ“ about-me
β”‚   β”‚   └── πŸ“ ...
β”‚   β”œβ”€β”€ πŸ“ footer
β”‚   β”‚   └── πŸ“ ...
β”‚   β”œβ”€β”€ πŸ“ guestbook
β”‚   β”‚   └── πŸ“ ...
β”‚   β”œβ”€β”€ πŸ“ home
β”‚   β”‚   └── πŸ“ lanyard
β”‚   β”œβ”€β”€ πŸ“ navbar
β”‚   └── πŸ“ purojekuto
β”‚       β”œβ”€β”€ πŸ“ (render)
β”‚       β”‚   β”œβ”€β”€ πŸ“ many
β”‚       β”‚   └── πŸ“ one
β”‚       └── πŸ“ (timeline)
β”œβ”€β”€ πŸ“ ui
β”‚   └── πŸ“ ...
β”œβ”€β”€ πŸ“ hooks
β”‚   └── πŸ“ lanyard
└── πŸ“ lib
    β”œβ”€β”€ πŸ“ nextauth
    └── πŸ“ util

## css
β”œβ”€β”€ πŸ“ styles
β”‚   β”œβ”€β”€ πŸ“„ global.css
β”‚   β”œβ”€β”€ πŸ“„ carousal.css
β”‚   β”œβ”€β”€ πŸ“„ kbar.css
β”‚   β”œβ”€β”€ πŸ“„ navbar.css
β”‚   β”œβ”€β”€ πŸ“„ hi.css
β”‚   β”œβ”€β”€ πŸ“„ timeline.css
β”‚   └── πŸ“„ activity.css
β”‚   └── πŸ“„ solar.css
β”‚   └── πŸ“„ equalizer.css

Tech Stack

πŸ“ˆ Statistic

Alt

Issues 🧻

The repo currently facing two known bugs from Next.js

Aight 🐧

  • Probably not the only one
  • At least I think at some point it was an intended portfolio, until it doens't
  • it turns out, aight.

πŸ“ License & Forking/Cloning

All code in this repository is licensed under the GNU Affero General Public License v3β€”see the LICENSE file for more information. Please remove all of my personal information and related stuff. If you want to use this repo. This is source-available. Feels free to do so and give it a star.