Skip to content

philhawksworth/demo-odb-news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Breaking/Archived news demo

See the demo https://demo-odb-news.netlify.app/:

This example news site shows news items of three types:

Current News

Most common news type. These are all pages generated as part of the build and served as static assets.

Archived News

Older news articles which are no longer being updated or in regular display rotation can be removed from the build and only rendered on the occasion that somebody first requests them, (via a an ODB function which then persists that view to the CDN)

Breaking News

Breaking news is updated all the time and shouldn't trigger a re-build. We should source those stories directly form the content API via a severless function for each request.

Content source

To help visualise the content abstraction, this demo source its news content from a trello board's JSON API. Content is pulled in either at build time or on demand via serverless functions as required.

About

A demonstration of using Netlify On Demand Build functions to power a news archive site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published