MCPcopy Index your code
hub / github.com/aurorascharff/next15-message-box

github.com/aurorascharff/next15-message-box @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
15 symbols 60 edges 22 files 0 documented · 0% updated 44d ago★ 331 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Next 15 Message Box

This is a Next.js project bootstrapped with create-next-app.

It displays a messaging box using Next 15 with Server Actions, Tailwind CSS, and Prisma, and is progressively enhanced with React 19 features.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Getting Started

First, install the dependencies:

pnpm install

Then, run the development server:

pnpm dev

Open http://localhost:3000 with your browser to see the result.

Prisma Setup

You need decide between prisma local development with sqlite or a real database with for example sqlserver. Define it in the schema.prisma file.

Consider adding a .env file to the root of the project and using these inside schema.prisma with env("DATABASE_URL"), refer to .env.sample.

After switching, delete the prisma/migrations folder before running the migration command.

When using sqlserver, you need to migrate the database schema with:

pnpm prisma.migrate

When using sqlite, initialize with:

pnpm prisma.push

Seed prisma/seed.ts for initial data:

pnpm prisma.seed

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Core symbols most depended-on inside this repo

slow
called by 2
utils/slow.ts
getMessages
called by 2
data/services/getMessages.ts
cn
called by 1
utils/cn.ts
seedMessages
called by 1
prisma/seed.ts
AutomaticScroller
called by 0
components/AutomaticScroller.tsx
SubmitButton
called by 0
components/SubmitButton.tsx
MessageBox
called by 0
components/message-box/MessageBox.tsx
resetMessages
called by 0
components/message-box/MessageBox.tsx

Shape

Function 15

Languages

TypeScript100%

Modules by API surface

components/message-box/MessageBox.tsx2 symbols
utils/slow.ts1 symbols
utils/cn.ts1 symbols
prisma/seed.ts1 symbols
data/services/getMessages.ts1 symbols
data/actions/submitMessage.ts1 symbols
components/ui/Spinner.tsx1 symbols
components/ui/Button.tsx1 symbols
components/message-box/MessageInput.tsx1 symbols
components/message-box/MessageDisplay.tsx1 symbols
components/SubmitButton.tsx1 symbols
components/AutomaticScroller.tsx1 symbols

For agents

$ claude mcp add next15-message-box \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact