🎈 Welcome to the Marketplace — Explore and discover the ecosystem around DatoCMS, and share your own work with the community!

Next.js blog starter

Next.js Event Coverage Liveblog

A virtual event starter built with Next.js and DatoCMS with real-time updates

Next.js blog starter
Want to create your own starter project? Learn how to do that in our documentation!

Note: More recent examples are available

This example was built with an older version of Next.js. For examples using more recent versions of Next and other frameworks, please see our most current demos and starter kits.

This is a Next.js project bootstrapped with create-next-app, demonstrating the use of DatoCMS Real-time Updates API.

Final result

Demo here: https://next-event-coverage-liveblog.vercel.app/

Screenshot

Deploy this demo project for free!

Click this button to test and deploy this demo project to Vercel, along with a fully configured DatoCMS project and a Github repo:

Deploy with DatoCMS

Learn More

To learn more about how to integrate DatoCMS with your Next.js project, take a look at the following resources:

Starting the development server

First, create a .env.local and put a NEXT_PUBLIC_DATOCMS_API_TOKEN env variable containing the API token of your DatoCMS project:

Terminal window
echo NEXT_PUBLIC_DATOCMS_API_TOKEN=<YOUR_API_TOKEN> > .env.local

Then, run the development server:

Terminal window
npm run dev
# or
yarn dev

Open localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Subscribe to our newsletter! 📥
One update per month. All the latest news and sneak peeks directly in your inbox.
support@datocms.com ©2024 Dato srl, all rights reserved P.IVA 06969620480