Hi Team, I am new to prisma and exploring it . I h...
# orm-help
s
Hi Team, I am new to prisma and exploring it . I have deployed Prisma and tried to run the mutation on playground but getting below error { "data": null, "errors": [ { "message": "Only absolute URLs are supported", "locations": [ { "line": 2, "column": 3 } ], "path": [ "post" ] } ] } Not sure what I am missing. I did check prisma.yml and I did not find endpoint defined. My yml file looks like - # Specifies the HTTP endpoint of your Prisma API. endpoint: '' # Defines your models, each model is mapped to the database as a table. datamodel: datamodel.prisma # Specifies the language and directory for the  generated Prisma client. generate:   - generator: javascript-client     output: ../src/generated/prisma-client # Ensures Prisma client is re-generated after a datamodel change. hooks:   post-deploy:     - prisma generate
r
Hey @shilpa mittal 👋 Yes you need to pass an endpoint in your
prisma.yml
file that would point to the Prisma Server. But as you're getting started with Prisma, I would suggest Prisma 2 as it's stable and actively developed. You can check out this tutorial here 🙂
s
Hey Ryan. Thanks. I am reffering to this tutorial to learn GRAPHql with typescript and react. Could you also help me to understand why am I not able to see schema in playgroup which gets loaded at localhost:4000
This is what I see
on clicking schema my screen is blank
r
This is a Prisma 1 Playground issue. You shouldn't face this with the above tutorial that I have sent you 🙂