/prisma_playground

Just playing with prisma & graphql

Primary LanguageJavaScriptMIT LicenseMIT

Playing with PRISMA

Create PRISMA Steps

  1. Install the prisma cli

$ npm i -g prisma

  1. Get a local prisma server

See the docker-compose.yml file

  1. Create a prisma configuration file

See the prisma.yml file

  1. Create a datamodel file

See the datamodel.graphql

  1. Run prisma server

$ docker-compose up prisma

  1. Deploy to prisma

$ prisma deploy

  1. Test some graphql queries

Connect the prisma graphql playground in http://localhost:4466 and get impressed

Create GraphQL server in front of Prisma

TODO xD