Next.js App Router API patterns — Route Handlers, Server Actions, middleware, validation, caching, error handling
92
90%
Does it follow best practices?
Impact
95%
1.58xAverage score across 5 eval scenarios
Passed
No known issues
Build a Next.js App Router application for managing blog posts. The system needs both a public-facing API for external consumers (RSS readers, mobile apps) and an admin interface for creating and editing posts.
Requirements:
Use in-memory storage.
Produce:
package.json with dependenciesYou may create additional files as needed.