Add simple Next.js API route

This commit is contained in:
Randall Stillwell 2025-07-23 08:32:03 -05:00
parent 9a86a5a834
commit df48fd784d

3
pages/api/hello.js Normal file
View file

@ -0,0 +1,3 @@
export default function handler(req, res) {
res.status(200).json({ message: 'Hello from Next.js API!' })
}