Skip to content

A preview service for freeCodeCamp.org news for posts on Hashnode (headless) CMS.

Notifications You must be signed in to change notification settings

freeCodeCamp/hashnode-preview

Repository files navigation

hashnode-preview

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.

Development

Warning

Please note that changes to the nunjucks templates will not be reflected in the watch mode.

pnpm install
pnpm run start

Deployment

  • The app is deployed on DigitalOcean App Platform, and all changes merged to the main branch are deployed using the deploy.yml workflow.

  • Alternatively, you can run the app using the included docker-compose.yml file.

    docker compose build
    docker compose up -d

About

A preview service for freeCodeCamp.org news for posts on Hashnode (headless) CMS.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •