Skip to content

Simple repository to reproduce error with server actions

Notifications You must be signed in to change notification settings

fblenkle/nextjs-metrics-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

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

Valid URLs

Shows content of simple counter metric with buttons to increment

  • one uses server action from client component
  • one uses server action passed from RSC to client component

GET endpoint to read metrics for prometheus POST endpoint to allow increment

About

Simple repository to reproduce error with server actions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published