Skip to content

johngohrw/next-strapi-static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

next-strapi-static

A static site generation boilerplate using Next.js and Strapi.

Opinionated Boilerplate

The code at main branch will remain unopinionated and minimal. For a more opinionated starting point, check out the opinionated branch.

Getting Started

Make sure that your .env files are created in both /backend and /frontend folders based on their respective .env.example files.

Start Strapi instance

cd backend
npm run build
npm run develop

Start Next.js development server

cd frontend
npm run dev

Build static Next.js site

cd frontend
npm run build

Site Examples

Some websites built with this boilerplate:

DJ Yang's Website Meiyin Ooi's personal portfolio

About

A static site generation boilerplate using Next.js and Strapi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published