witch part am i wrong about ?
# orm-help
d
witch part am i wrong about ?
n
Hey Dmitry 👋 if you're using a file called
prisma.yml
, you likely still use Prisma 1. If you want to spin up a GraphQL API with Prisma, definitely try out Nexus 🙂 I also recently gave a quick introduction to Nexus and Prisma for GraphQL

hereâ–¾

, feel free to follow up if you have any questions after watching the video! 🙌
d
Hey there, Nikolas, thanks for the reply, figured out already there's a prisma 2 also, will try out nexus and your introduction!
👌 1
Nikolas, sorry to bother you again, just wanted to ask you what kind of empty project do you use when you start with prisma in your video

https://youtu.be/AnJxKWQG_fM?t=679â–¾

timing here
is that something you can install via npm or all dependencies should be written by myself?
n
It's a barebones npm setup for TypeScript that you can achieve with these commands:
Copy code
mkdir myproject
cd myproject/
npm init -y
npm install typescript ts-node @types/node --save-dev
mkdir src
touch src/index.ts
You can then run the demo script with:
Copy code
npx ts-node src/index.ts
(note that these commands are for Mac OS, windows might be different)
d
thanks a lot again!
👌 1