API Routes in Next.js: Building a Full-Stack Application