GitXplorerGitXplorer
v

shirt-shop

public
16 stars
5 forks
0 issues

Commits

List of commits on branch main.
Verified
c69e50e6dde00bbfe48be28f53fbf3cbd3940f42

Adds acknowledgments and credits

mmanovotny committed 2 months ago
Verified
00ebb59087df2608ca15586fe54a1a8175354802

Adds .env.example

mmanovotny committed 2 months ago
Verified
be6ec0abbbf67939c2dc6e21ab44f048483211ad

Update README.md

AAAorris committed 4 months ago
Verified
3b99ee6df8becf6b56bf08cb213aa5081480c5a8

Merge pull request #3 from vercel/upgrade-flags-api

ddferber90 committed 4 months ago
Verified
a1876166a1f335cd016d784cc3e881922d16630b

use stable version

ddferber90 committed 4 months ago
Verified
7ac71d866bbec1e7e693d19d200c2c4ad7b640f8

upgrade @vercel/flags

ddferber90 committed 4 months ago

README

The README file for this repository.

Shirt Shop

A @vercel/flags/next example

This example shows how to use @vercel/flags for Next.js applications.

This application requires a FLAGS_SECRET environment variable.

You can generate one with this command

node -e "console.log(crypto.randomBytes(32).toString('base64url'))"

When running locally, you will need to run vercel link to link one of your Vercel projects. The environment variable mentioned above need to be defined on the linked project in the Vercel dashboard. Run Having them in local .env files is not enough.

How to Use

You can choose from one of the following two methods to use this repository:

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel

Clone and Deploy

Execute create-next-app with pnpm to bootstrap the example:

pnpm create next-app --example https://github.com/vercel/shirt-shop

Next, run Next.js in development mode:

pnpm dev

Deploy it to the cloud with Vercel (Documentation).

Acknowledgements & Credits

Thanks to following for a delightful demo: