/graphql-template-project

showcase graphql api

Primary LanguageJavaScript

Next steps:

  1. Open folder: cd prisma
  2. Start your Prisma server: docker-compose up -d
  3. Deploy your Prisma service: prisma deploy
  4. Read more about Prisma server: http://bit.ly/prisma-server-overview

NodeJS API URLS

http://localhost:4000

Your Prisma endpoint is live:

HTTP: http://localhost:4466 WS: ws://localhost:4466

You can view & edit your data here:

Prisma Admin: http://localhost:4466/_admin

Primsa Schema Generation

Creating a Primsa GraphQL Schema Generation

  • npm i -s graphql-binding graphql-cli

Configure .graphqlconfig

  • create prisma.graphql file

Add NPM SCript

  • graphql-cli get-schema

Prisma Commands

  • prisma delete --force
  • prisma deploy

Prod PRISMA CLOUD URLS

Prisma Cloud

Test

  • DB: dcnjoe7r6pjqrs
  • User: ooqiilaktwrbnj

Navigating Around With DataBrowser:

  • Click "try Prisma" on prisma.io/cloud
  • Login
  • Click Service
  • Dashboard

Navigating Around in PGAdmin:

  • Click "try Prisma" on prisma.io/cloud
  • Login
  • Select "Servers" at top
  • Click "server" then select "View On Heroku"
  • Select "Hosted..."
  • Select "View ..."
  • Configure PGAdmin to use these.

Heroku Prod URL:

Heroku Build

  • git push -u heroku master