Skip to content

This is an application similar to LinkTree, builded with Next.js and powered by GraphCMS

Notifications You must be signed in to change notification settings

adeonir/graphcms-link-tree

Repository files navigation

GraphCMS Link Tree

This is an application similar to LinkTree, builded with Next.js and powered by GraphCMS.

How to use

  1. Create a new GraphCMS project
  2. Download manually this repo:
npx degit adeonir/graphcms-link-tree graphcms-link-tree
  1. Add .env:
cp .env.example .env
  1. Provide values for GRAPHCMS_AUTH_TOKEN and GRAPHCMS_ENDPOINT
  2. Install dependencies:
yarn
  1. Run the migrations:
yarn migrations

At this point, you should see 4 models in the GraphCMS Schema dashboard: Creator, Link, Page and Video

  1. On GraphCMS Dashboard, create new content. Each page can have one creator and multiple links or videos
  2. Run the server:
yarn dev
  1. Open the browser and go to http://localhost:3000/slug, where slug is the text you provided on the Page model

What's inside


Made with ♥️ by Adeonir Kohl

Releases

No releases published