Thanks to visit codestin.com
Credit goes to github.com

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

a2937/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

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Nunjucks 97.0%
  • JavaScript 2.9%
  • Dockerfile 0.1%