MCPcopy Index your code
hub / github.com/Hendrixer/headless-nextjs

github.com/Hendrixer/headless-nextjs @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
86 symbols 200 edges 62 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Frontend Masters

This repo is a companion to the Headless CMSs course on Frontend Masters.

Requirements

  • Node version 20 & npm

Getting Started

To being the course, clone the repo and check out the step/0 branch. The main branch contains an example solution of the final application build throughout the course. The other step/X branches are checkpoint branches during the course.

git clone https://github.com/Hendrixer/headless-nextjs.git
cd headless-nextjs
git checkout step/0
npm install
npm run dev

Contentful CMS

Contenful is the CMS used in this course. Create a free Contentful account and add environment variables to your project:

  1. Create a Contentful account
  2. Create a new "Space" in Contentful for the project
  3. Add these environment variables to a .env file in the root of your project. The values can be found in Contentful under Settings > API keys:
CONTENTFUL_SPACE_ID=""
CONTENTFUL_ACCESS_TOKEN=""
CONTENTFUL_PREVIEW_ACCESS_TOKEN=""
CONTENTFUL_PREVIEW_SECRET=""

Extension points exported contracts — how you extend this code

Item (Interface)
(no doc)
components/testimonials-02.tsx
Item (Interface)
(no doc)
components/team.tsx
ParticlesProps (Interface)
(no doc)
components/particles.tsx
Item (Interface)
(no doc)
components/recruitment.tsx
Item (Interface)
(no doc)
components/testimonials.tsx
MousePosition (Interface)
(no doc)
components/utils/mouse-position.tsx

Core symbols most depended-on inside this repo

drawCircle
called by 3
components/particles.tsx
heightFix
called by 3
components/testimonials.tsx
initCanvas
called by 2
components/particles.tsx
circleParams
called by 2
components/particles.tsx
clearContext
called by 2
components/particles.tsx
initContainer
called by 2
components/highlighter.tsx
onMouseMove
called by 1
components/particles.tsx
resizeCanvas
called by 1
components/particles.tsx

Shape

Function 80
Interface 6

Languages

TypeScript100%

Modules by API surface

components/particles.tsx11 symbols
content/queries.ts5 symbols
components/highlighter.tsx5 symbols
components/utils/mouse-position.tsx3 symbols
components/ui/mobile-menu.tsx3 symbols
components/testimonials.tsx3 symbols
components/testimonials-02.tsx2 symbols
components/team.tsx2 symbols
components/recruitment.tsx2 symbols
app/(default)/integrations/integrations-list.tsx2 symbols
app/(default)/customers/[slug]/page.tsx2 symbols
content/fetch.ts1 symbols

For agents

$ claude mcp add headless-nextjs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact