Skip to content

Latest commit

 

History

History

cobadged

Cobadged

In this example we integrate Primer's Web SDK v2 headless with co-badged cards.

It uses Astro as the base tool, but feel free to build your website and server however you'd like.

Running on your browser

Click here to immediately launch it on your browser.

Once it's open, make sure to:

  1. Rename .env.example to .env
  2. Get an API_KEY from your Primer Dashboard and paste it there
    • Example: API_KEY=1234-1234-1234-1234

Running locally

  1. Install Bun
  2. Run bun install on a terminal
  3. Follow the same instructions described on the section above about the API_KEY
  4. Execute the following script on a terminal window:
    bun start