[READ-ONLY] Mirror of https://github.com/danielroe/n3dium. This is a tiny, incomplete example for a paywalled content site built in Nuxt 3 for a live-coding session at Vue.js Global Summit 2022. n3dium.netlify.app/
0

Configure Feed

Select the types of activity you want to include in your feed.

137 5 0

Clone this repository

https://git.vm.fail/danielroe.dev/n3dium https://git.vm.fail/did:plc:joj3pjndyhhsi67dei5thkas
ssh://git@knot1.tangled.sh:2222/danielroe.dev/n3dium ssh://git@knot1.tangled.sh:2222/did:plc:joj3pjndyhhsi67dei5thkas

For self-hosted knots, clone URLs may differ based on your setup.


README.md

Nuxt 3 + Medium (n3dium)#

This is a tiny, incomplete example for a paywalled content site built in Nuxt 3 for a live-coding session at Vue.js Global Summit 2022 and Vue.js Amsterdam 2022.

Features#

Try it out#

Setup#

# install dependencies
pnpm install # or yarn

# set up keys (used for JWT signing/verification)
openssl ecparam -genkey -name prime256v1 -noout -out key-pair.pem
openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in key-pair.pem -out private.key
openssl ec -in key-pair.pem -pubout -out public.key

# serve in dev mode, with hot reload at localhost:3000
pnpm dev

# build for production (universal)
pnpm build

# preview in production mode
pnpm start

Deployment#

You should be able to deploy this repository with zero or minimal configuration.

License#

MIT