Flags SDK Workshop

Project Setup

In this session, we'll be exploring implementing flags in a Next.js project with the Flags SDK.

Let's start by setting up our project.

Deploy this template

Clone the new project's repository locally.

git clone https://github.com/your-username/flags-sdk-workshop-starter.git
cd flags-sdk-workshop-starter

Install the Vercel CLI globally.

npm i -g vercel

Link to your Vercel project.

vercel link

Pull environment variables from Vercel.

vercel env pull

Install dependencies.

pnpm install

Start the development server.

pnpm dev

Head over to http://localhost:3000 to see your project in action