This is a Next.js App Router using Next-Auth. There are many examples such as server session
, protected route
, server action
, api from client
and api from server
.
First, run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.