Skip to content

markhudsonn/portfolio

 
 

Repository files navigation

My Personal Website

My personal portfolio website designed to be simplistic and clean while including features like MDX blog posts with view counts, a dark mode toggle, gear list, an about page, and more.

Tech Stack

backend:

frontend:

Getting Started

Make sure you have Node.js v18.17.0+ installed on your machine.

  1. Install Dependencies: npm install
  2. Environment variables: Copy .env.example to a new .env.local
  3. Database Setup: See Database Setup
  4. Prisma Setup: npm install @prisma/client (if you haven't already), then run npx prisma generate.
  5. Start Developing: npm run dev, this will automatically create the .contentlayer files and start the Next.js development server.

Database Setup

  • Sign up for a PlanetScale account
  • Create a new database in PlanetScale
  • Update the DATABASE_URL environment variable in your project's .env.local file with the connection string provided by PlanetScale

Deployment

This project can be easily deployed to Vercel. Simply connect your Vercel account to your GitHub repository, and Vercel will automatically build and deploy your application with each new push to the main branch.

Add the project .env variables to your Vercel project settings.

Languages

  • TypeScript 53.3%
  • MDX 29.2%
  • CSS 14.7%
  • JavaScript 2.8%