Skip to content

danielschmitz/blog-nextjs-crud

 
 

Repository files navigation

Simple Full-Stack CRUD with Next.js 14, PostgreSQL, and Prisma

This is an implementation of CRUD with Next.js 14. A blog about this can be found here: Simple Full-Stack CRUD with Next.js 14, PostgreSQL, and Prisma | Fajarwz.

Configuration

Create .env file from .env.example

cp .env.example .env

Database Integration

  1. Open .env file
  2. Create a database and connect it with Next.js by adjusting the DATABASE_URL with your own configuration

Migrate the Database Migration

npx prisma db push

Installation

Node Packages

npm install

Run App

npm run dev

About

Simple example of how to create CRUD in Next.js with PostgreSQL and Prisma

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.6%
  • CSS 5.7%
  • JavaScript 1.7%