https://github.com/seino914/prisma_study
Prisma学習用リポジトリ
https://github.com/seino914/prisma_study
docker nodejs prisma supabase tyepscript
Last synced: 6 months ago
JSON representation
Prisma学習用リポジトリ
- Host: GitHub
- URL: https://github.com/seino914/prisma_study
- Owner: seino914
- Created: 2025-04-06T05:51:55.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-04-06T05:59:00.000Z (10 months ago)
- Last Synced: 2025-04-06T06:27:47.893Z (10 months ago)
- Topics: docker, nodejs, prisma, supabase, tyepscript
- Language: TypeScript
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prisma 学習
→[参考サイト](https://zenn.dev/hayato94087/books/e9c2721ff22ac7)
### 技術スタック
- TypeScript
- Node.js
- Prisma
- Supabase
- Docker
### 環境構築
```
pnpm install
```
ローカルデータベースを開始
```
npx supabase start
```
ローカルデータベースを停止
```
npx supabase stop
```
ローカルデータベースをリセット
```
npx supabase db reset
```
Prisma のスキーマのフォーマット
```
pnpm run format:fix
```
Prisma スキーマの検証
```
pnpm run lint
```
マイグレーション
```
npx prisma migrate dev --name マイグレーション名
```
seed
```
npx prisma db seed
```
Prisma Studio 起動
```
npx prisma studio
```