Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.45 KB

README.md

File metadata and controls

37 lines (28 loc) · 1.45 KB

Next + Sanity

Overview

  • 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, guestbook, project, snippet, and post views.
  • pages/blog/* - Static pre-rendered blog pages using MDX.
  • 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.

Running Locally

This application requires Node.js v16.13+.

$ git clone https://github.com/passiondev0503/passiondev0503-next-sanityio.git
$ cd passiondev0503-next-sanityio
$ yarn
$ yarn dev

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