Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Get your next React project up and running quickly with Next.js, Theme UI, MDX and more.
Next Project Starter is a GitHub boilerplate that scaffolds React applications with Next.js, Theme UI, MDX, and Cypress, providing a landing page, documentation, and an example stateful route out of the box.
Next Project Starter is a starter repository created by johnpolacek on GitHub for getting a React project running quickly. It takes a fresh clone from https://github.com/johnpolacek/project-starter.git and produces a multi-page Next.js site: after npm install, npm run dev starts a local development server. The included pages cover a markdown-authored homepage, a docs view imported from the project's top-level README.md, and an example /app route that demonstrates a shared app context.
/pages folder; each page uses a Layout component that composes Header, Footer, and Main components.src/layout/Theme.js following the System UI Theme Specification; components can be styled with Theme UI's sx prop or built-in components.src/markdown/Home.mdx, and the docs page imports the top-level README.md file.npm run format-watch to enable automatic code formatting with Prettier in the local dev environment.cypress/integration, with a custom command in cypress/support/commands.js. Run them with npm run test.npm run deploy script runs tests, pushes to master, and deploys to Vercel (formerly now); the first run requires setting up a Vercel account.src/layout/Head.js for the global title, description, and meta tags, and add services like Google Analytics to the Wrapper component in src/layout/Wrapper.js.src/markdown/Home.mdx to rewrite the homepage content, while Layout and Wrapper handle metadata and embedded services./app route and AppContext to switch between color modes and share that state across components such as the Main component.README.md into a docs view and style it with Theme UI components, with routing handled by Next.js.Clone the repository with git clone https://github.com/johnpolacek/project-starter.git your-project-name, then run npm install to install dependencies. Start the dev server with npm run dev, and optionally run npm run format-watch to enable Prettier. Tests are executed with npm run test, and npm run deploy runs tests, pushes to master, and deploys to Vercel.
