Skip to content
forked from leerob/site

built with Next.js, Tailwind, Prisma, and Vercel

License

Notifications You must be signed in to change notification settings

samisbakedham/sam

 
 

Repository files navigation

Deploy with Vercel

leerob.io

Learn More

I've recorded two live streams walking through this repository and answering questions.

Overview

  • data/* - MDX data that is used for blogs and code snippets.
  • 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/* - All other static pages.
  • prisma/* - My Prisma schema, which uses a PlanetScale MySQL database.
  • public/* - Static assets including fonts and images.
  • scripts/* - Two useful scripts to generate an RSS feed and a sitemap.
  • styles/* - A small amount of global styles. I'm mostly using vanilla Tailwind CSS.

Running Locally

This application requires Node.js v16.13+.

$ git clone https://github.com/leerob/leerob.io.git
$ cd leerob.io
$ yarn
$ yarn dev

Create a .env file similar to .env.example.

Cloning / Forking

Please review the license and remove all of my personal information (resume, blog posts, images, etc.).

About

built with Next.js, Tailwind, Prisma, and Vercel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.8%
  • JavaScript 6.8%
  • CSS 4.9%
  • Shell 0.5%