Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joelhooks/next-typescript-tailwind-mdx-starter

Opinionated Next.js Starter with TypeScript, Tailwind, MDX, and decent SEO
https://github.com/joelhooks/next-typescript-tailwind-mdx-starter

jest mdx nextjs react react-testing-library tailwindcss testing-library typescript

Last synced: 3 months ago
JSON representation

Opinionated Next.js Starter with TypeScript, Tailwind, MDX, and decent SEO

Awesome Lists containing this project

README

        

[![Depfu](https://badges.depfu.com/badges/0eb0914942401daa2b5b7022cfcba170/count.svg)](https://depfu.com/github/joelhooks/next-typescript-tailwind-mdx-starter?project_id=17632)

This is an opinonated Next.js starter project that makes it relatively simple to spin up a new project.

## Getting Started

First, run the development server:

```bash
yarn dev
```

If you'd like serverless function support:

```bash
vercel dev
```

I'm personally in the "just do Next.js the Vercel way because it gives me modern best practices without a lot of friction" but if you've got other preferences you probably know how to manage them anyway.

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `src/pages/index.js`. The page auto-updates as you edit the file.

You can also add mdx files in `src/pages/` and they will be presented at the cooresponding route.

Tailwind and Emotion are available for styling using utility classes and css-in-js respectively.

Testing is facilitated through React Testing Library and Jest.

`next-seo` and `next-sitemap` are doing their jobs very well. Be sure to update `/next-sitemap.js` and `/next-seo.json` with your information!