next-mdx-blog
Next.js + MDX blog template with Tailwind CSS and TypeScript.
TypeScript★ 7.6k⑂ 1.5k forksupdated 3 days ago
README.mdfork it — it’s yours
next-mdx-blog
This is a blog template built with:
- Framework: Next.js
- Deployment: Vercel
- Styling: Tailwind CSS
- Analytics: Vercel Analytics
- Database (Optional): Postgres
Running Locally
This application requires Node.js v18.17+.
git clone https://github.com/leerob/next-mdx-blog.git cd next-mdx-blog pnpm install pnpm dev
Database (Optional)
Create a .env.local file with your POSTGRES_URL environment variable to store redirects.
CREATE TABLE redirects ( id SERIAL PRIMARY KEY, source VARCHAR(255) NOT NULL, destination VARCHAR(255) NOT NULL, permanent BOOLEAN NOT NULL );
more like this