Skip to content

Latest commit

 

History

History
74 lines (48 loc) · 1.84 KB

README.md

File metadata and controls

74 lines (48 loc) · 1.84 KB

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/ravgeetdhillon/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