Skip to content

A fully functional implementation of Mastra + Next.js in line with the Mastra official documentation.

Notifications You must be signed in to change notification settings

foxytanuki/mastra-nextjs-example

Repository files navigation

Mastra + NextJS

Prerequisites

  • Node.js 18.18.0+
  • pnpm 10.7.0+ (recommended)
    • npm or yarn will also work, but this project uses pnpm

Getting Started

  1. Install dependencies
pnpm i
  1. Fill .env with OPEN_AI_API_KEY

  2. Run Next.js

pnpm dev

About

A fully functional implementation of Mastra + Next.js in line with the Mastra official documentation.

Topics

Resources

Stars

Watchers

Forks