Tutorial: Next.js starter app


This tutorial demonstrates how to build and embed a BigCommerce app using Node.js, React.js, Next.js, and BigDesign, BigCommerce's library of React components.

You will learn how to connect your app to BigCommerce, integrate an API, and set up a database to store app data. You will use BigDesign to give your app a native BigCommerce visual style and behavior.

At the end of this tutorial, you will have a functional single-click app that can make API calls and store app data in a database.

Heroku option

To get the app up and running quickly, follow the steps described in Quick Start: Deploy to Heroku Install Flow.


To successfully complete this tutorial, you need the following:

You will be using Next.js (opens in a new tab), BigDesign (opens in a new tab), and styled-components (opens in a new tab) to build this sample app.

Next.js (opens in a new tab) is a production-ready React framework equipped with many built-in features that allows you to create static and dynamic React-based applications quickly. Next.js handles a lot of the backend work for you giving you a jump start on building applications. Among other built-in features, Next.js comes with a page-based (opens in a new tab) routing system, server-side rendering (opens in a new tab), and client-side routing (opens in a new tab).

With the exception of automated routing, our sample app is very React-ive. Even if you haven't worked with Next.js before, having React experience will enable you to read the app.

BigDesign (opens in a new tab) is a BigCommerce library of React components. Using BigDesign when developing your BigCommerce apps will ensure that your app has a similar interface and adheres to the same user experience standards as the rest of the BigCommerce platform. We encourage you to familiarize yourself with BigDesign to simplify future integrations with BigCommerce.

Next: Set up Your Local Environment

Did you find what you were looking for?