5483dd291e
- Auth system (login/register/profile) - Nur AI chat with persona system - Souq marketplace with FLH economy - Forum community with Shariah moderation - Wallet & FLH top-up - Premium/Pro tier upgrade with Polar.sh - Halal Monitor with map & bookmarks - Home dashboard with daily verse & streaks - Health endpoints Next.js 16.2.7, Prisma v5 SQLite, JWT auth, Tailwind CSS v4
13 lines
268 B
TypeScript
13 lines
268 B
TypeScript
export const runtime = "nodejs";
|
|
|
|
import { DAILY_VERSE } from "@/lib/ai";
|
|
|
|
export async function GET() {
|
|
const verse = DAILY_VERSE[Math.floor(Math.random() * DAILY_VERSE.length)];
|
|
|
|
return Response.json({
|
|
verse,
|
|
fetchedAt: new Date().toISOString(),
|
|
});
|
|
}
|