/university

GatherContent example project, publishing content to Vercel or Netlify, which then uses Next.js to present on the front end.

Primary LanguageJavaScriptMIT LicenseMIT

GatherContent + Next.js demo

The open source GitHub repository is set-up to work with a GatherContent example project, publishing content to Vercel or Netlify, which then uses Next.js to present on the front end. You can adapt this to pull content from any of your projects, and see how quick you can build out websites and other experiences on top of GatherContent.

Deploying

To deploy with Vercel, click:

Deploy with Vercel

To deploy with Netlify, click:

Deploy with Vercel

Required environment variables

GATHERCONTENT_API_USERNAME=<email>
GATHERCONTENT_API_KEY=<api-key>
GATHERCONTENT_PROJECT_ID=<project-id>
  • GATHERCONTENT_API_USERNAME is your email address which you used to sign up to GatherContent
  • GATHERCONTENT_API_KEY - follow instructions to find your API key
  • GATHERCONTENT_PROJECT_ID - the easiest way to get the ID is to copy it from the URL. Go to your project, the structure will look like this: gathercontent.com/content/<PROJECT-ID>/items

Local development

To run project locally, first you need to fork this repo or clone it:

git clone

Next, install all dependencies:

yarn

Create .env file and fill it up with all required environment variables

touch .env

Finally, you can start development server:

yarn develop