Dmitry Belozerov
05/24/2020, 12:36 PMnikolasburk
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 , feel free to follow up if you have any questions after watching the video! 🙌Dmitry Belozerov
05/24/2020, 3:25 PMDmitry Belozerov
05/25/2020, 8:02 AMnikolasburk
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:
npx ts-node src/index.ts
nikolasburk
Dmitry Belozerov
05/25/2020, 9:02 AM