Learn how to integrate Next.js and Prisma with Cerbos to create dynamic and secure web applications. Configure a SQLite database with Prisma, use getServerSideProps function in Next.js for authorization, and deploy the app to Vercel. Adapt the code to use PostgreSQL and deploy Cerbos in a production environment.
Table of contents
What we’re buildingThe database layerA note on authenticationPrefetching protected contentDeploying to VercelProductionizingFinSort: