Skip to content

Marktawa/strapi-nextjs-previews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

31 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

License: MIT

Content Previews with Strapi and Next.js

This repository serves as a code container for the tutorial I wrote on Strapi's Blog.

Features

  • Ready to use Strapi Blog Template
  • Next.js for Blog Frontend
  • Next.js Preview Mode API
  • Custom Strapi Content Manager with in-built Preview button

Prerequisites

These things are required before setting up the project.

Getting Started

Follow these instructions to get the project up and running.

# clone the repo
$ git clone https://github.com/Marktawa/strapi-nextjs-previews.git

# change directory
$ cd strapi-nextjs-previews

For Strapi

# navigate to backend directory that holds strapi code
$ cd backend

# install dependencies
$ npm install

# served at http://localhost:1337
$ npm run develop

For Next.js

# navigate to frontend directory that holds next.js code
$ cd frontend

# install dependencies
$ npm install

# served at http://localhost:3000
$ npm run dev

For detailed instructions, read the blog.

Tech Stack

Authors

Extra

About

๐Ÿ‘€ Content Previews using Strapi and Next.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published