Skip to content

nicolaerario/next-snippets

Repository files navigation

Save and share your code snippets!

A simple CRUD app with Nextjs + Prisma ORM + TailwindCSS

Getting Started

First steps first:

  • Clone this repository
  • Run:
npm i

to install all dependencies.

Database connection:

  • Create an .env file based on .env.example and enter the db URL.
  • Run:
npx prisma migrate dev

to create the tables in your database.

Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser.