Since we're already using firebase I am surprised there is not an API we
This commit is contained in:
parent
5387f3ff01
commit
59cee0f58f
1 changed files with 5 additions and 0 deletions
5
src/app/api/hello/route.ts
Normal file
5
src/app/api/hello/route.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { NextResponse } from 'next/server';
|
||||
|
||||
export async function GET(request: Request) {
|
||||
return NextResponse.json({ message: 'Hello from the API!' });
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue