Skip to content

Commit

Permalink
update deps and readme for basics/extension example
Browse files Browse the repository at this point in the history
  • Loading branch information
marcjulian committed Feb 2, 2024
1 parent cc6ad98 commit b23d482
Show file tree
Hide file tree
Showing 6 changed files with 2,540 additions and 1,331 deletions.
16 changes: 12 additions & 4 deletions examples/basics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,24 @@

NestJS app with Express, Prisma and nestjs-prisma.

Adjust `prisma/schema.prisma` and perform a migration:

```sh
npm i
npx prisma migrate dev
```

npm run start:dev
Seed the example database:

```sh
npx prisma db seed
```

Adjust `prisma/schema.prisma` and perform a migration:
Start the Nest app and open [localhost:3000](http://localhost:3000).

```sh
npx prisma migrate dev
npm i

npm run start:dev
```

Use `PrismaService` to access the type-safe generated `PrismaClient`.
Expand Down
Loading

0 comments on commit b23d482

Please sign in to comment.