/LaurasWebsite

Primary LanguageJavaScript

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

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

Strapi

Creating Content Types

  1. Go to Plugins > Content-Type Builder using the left side bar.
  2. Create new single type.
  3. Add fields corresponding to the content that is on the page
  4. Save the Content Type you just created

Editing Content Information

  1. Go to Content Manager using the left side bar.
  2. Click the name of the Content Type you just created
  3. Add information from lauras website to that content type.
  4. Save your changes and Publish

Exposing new content with API

  1. Go to Settings > Roles > Public
  2. Find the content in the Permissions section and Click the drop down
  3. Select the find checkbox. Take note of the route url in the section on the right next to GET

Displaying content from strapi in next.js application