Next.js is a next-generation ORM that can be used to access a database in Node.js and TypeScript applications. In this guide, you'll learn how to implement a fullstack sample blogging application using the following technologies. You'll use a single PrismaClient instance that you can import into any file where it's needed. You
Table of contents
PrerequisitesStep 1: Set up your Next.js starter projectStep 2: Set up Prisma and connect your PostgreSQL databaseStep 3. Create your database schema with PrismaStep 3. Install and generate Prisma ClientStep 4. Update the existing views to load data from the databaseStep 5. Set up GitHub authentication with NextAuthStep 5. Add Log In functionalityStep 6. Add new post functionalityStep 6. Add drafts functionalityStep 7. Add Publish functionalityStep 8. Add Delete functionalityStep 9. Deploy to VercelConclusionSort: