Supporting blog post on dev.to.
This is the starter code, for the finished code visit this repository.
This repository uses Lerna and Nx.
For the code to run, you need to generate a token for the Github API.
Open packages/client/src/view/post/index.ts and replace {{github_token}}
with a token generated from GitHub
npm install
npm run dev
Open a web browser, preferably one that supports Declarative Shadow DOM. Visit http://localhost:4444
npm run build
npm run preview