A preview service for freeCodeCamp.org news for posts on Hashnode (headless) CMS.
This uses Hashnode's GraphQL API and Nunjucks to render an approximate preview
of a post as it will appear when published live on /news
.
Warning
Please note that changes to the nunjucks templates will not be reflected in the watch mode.
pnpm install
pnpm run start
-
The app is deployed on DigitalOcean App Platform, and all changes merged to the
main
branch are deployed using thedeploy.yml
workflow. -
Alternatively, you can run the app using the included
docker-compose.yml
file.docker compose build docker compose up -d