Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.08 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.08 KB

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

setting up prisma

npx prisma db push # Introspects the database to infer and executes the changes required to make your database schema reflect the state of your Prisma schema
npx prisma studio # to open the database as a user interface to interact with it easily