Next API Routes

Define backend endpoints inside the pages/api directory.