My portfolio has transformed over the years - from a static HTML site, to Jekyll, to Hugo, and finally to Next.js/React/MDX. My personal slice of the internet provides a platform for my writing and to showcase my latest work.
pages/api/*
- API routes powering/dashboard
, newsletter subscription, and post views.pages/blog/*
- Static pre-rendered blog pages using MDX.pages/dashboard
- Personal dashboard containing metrics from YouTube, Google Analytics, and Unsplash.pages/*
- All other static pages.
$ git clone https://github.com/leerob/leerob.io.git
$ cd leerob.io
$ yarn
$ yarn dev
To use anything that requires API routes, you will need to run now dev
and have a .env
file similar to this.
FIREBASE_PRIVATE_KEY=
FIREBASE_CLIENT_EMAIL=
UNSPLASH_ACCESS_KEY=
GOOGLE_ENCRYPTION_KEY=
GOOGLE_ENCRYPTION_IV=
BUTTONDOWN_API_KEY=