Skip to content

mrob11/nextjs-blog

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Next.js + Contentful + Vercel static generated blog application

This is the code from the tutorial series on building a static generated blog with Next.js, Contentful, and Vercel, available on my blog at https://heymike.dev.

The code for each part is available in branches that will be updated as new parts to the series are released. The master branch will always represent the current state of the tutorial.

Articles

Code Branches

Prerequisites

Setting up this application locally

Clone the repository:

git clone https://github.com/mike360/nextjs-blog.git
cd nextjs-blog
npm install

Create a local environment variable file .env:

CONTENTFUL_SPACE_ID=<your space ID here>
CONTENTFUL_ACCESS_TOKEN=<your contentful access token here>

Refer to Part One for setting up Contentful.

About

A Next.js + Contentful blog application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published