https://github.com/leerob/next-mdx-blog
Next.js + MDX blog template with Tailwind CSS and TypeScript.
https://github.com/leerob/next-mdx-blog
blog mdx nextjs postgres react tailwindcss vercel
Last synced: 11 days ago
JSON representation
Next.js + MDX blog template with Tailwind CSS and TypeScript.
- Host: GitHub
- URL: https://github.com/leerob/next-mdx-blog
- Owner: leerob
- Created: 2018-12-16T18:22:37.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-06-05T19:25:19.000Z (16 days ago)
- Last Synced: 2025-06-05T20:28:53.429Z (16 days ago)
- Topics: blog, mdx, nextjs, postgres, react, tailwindcss, vercel
- Language: TypeScript
- Homepage: https://next-blog-mdx.vercel.app
- Size: 198 MB
- Stars: 7,436
- Watchers: 50
- Forks: 1,435
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fleerob%2Fnext-mdx-blog)
# next-mdx-blog
This is a blog template built with:
- **Framework**: [Next.js](https://nextjs.org)
- **Deployment**: [Vercel](https://vercel.com)
- **Styling**: [Tailwind CSS](https://tailwindcss.com)
- **Analytics**: [Vercel Analytics](https://vercel.com/analytics)
- **Database** (Optional): [Postgres](https://vercel.com/postgres)## Running Locally
This application requires Node.js v18.17+.
```bash
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.
```sql
CREATE TABLE redirects (
id SERIAL PRIMARY KEY,
source VARCHAR(255) NOT NULL,
destination VARCHAR(255) NOT NULL,
permanent BOOLEAN NOT NULL
);
```