안녕하세요
DB 만드는 명령어
# 그냥 DB파일만 만들때
npx prisma db push
# DB 테이블의 변경사항을 적용
npx prisma migrate dev
별건 아닌 명령어들
# 만들어진 DB를 확인하는 인터페이스
npx prisma studio
# .prisma 파일을 이쁘게 만들어줌
npx prisma format
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.