This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
If you want to specify the specific Coral instance to target, you can add a .env
file with the following:
NEXT_PUBLIC_CORAL_DOMAIN=localhost:3000
# Or the domain to have all the URL's based off of
NEXT_PUBLIC_BASE_URL=http://localhost:4000
Open http://localhost:4000 with your browser to see the result.
All content is stored under the content/
directory as markdown files. These markdown files require the following frontmatter:
---
title: "Title for your new story"
date: "2021-01-13T08:57:48-07:00"
author: Coral Project Team
# set to "COMMENTS", "QA", or "RATINGS_AND_REVIEWS" (passed directly as `storyMode` in stream embed)
mode: "QA"
---
Your awesome lorem-ipsum.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!