- Framework: Next.js
- Database: PlanetScale
- ORM: Prisma
- Authentication: NextAuth.js
- Deployment: Vercel
- CMS: Sanity
- Styling: Tailwind CSS
I've recorded two live streams walking through this repository and answering questions.
- Stream #2 - Nov 10, 2021 (1h 4min)
- Browse repository at this point in time.
- Stream #1 - Jan 27, 2021 (1h 11min)
- Browse repository at this point in time.
layouts/*
- The different page layouts each MDX category (blog, snippets) uses.lib/*
- Short for "library", a collection of helpful utilities or code for external services.pages/api/*
- API Routes powering/dashboard
, newsletter subscription, guestbook, and post views.pages/blog/*
- Static pre-rendered blog pages using MDX.pages/dashboard
- Personal dashboard tracking metrics.pages/sitemap.xml.tsx
- Automatically generated sitemap.pages/feed.xml.tsx
- Automatically generated RSS feed.pages/*
- All other static pages.prisma/*
- My Prisma schema, which uses a PlanetScale MySQL database.public/*
- Static assets including fonts and images.styles/*
- A small amount of global styles. I'm mostly using vanilla Tailwind CSS.
This application requires Node.js v16.13+.
git clone https://github.com/danydodson/danydodson.dev.git
cd danydodson.dev
pnpm install
pnpm dev
Create a .env
file similar to .env.example
.
Please review the license and remove all of my personal information (resume, blog posts, images, etc.).