/graphql_template

a template for graphql init and queryes

Primary LanguageJavaScript

A simple graphql/apollo/prisma template ->

  1. clone repo
  2. npm i -D in root directory
  3. create MDB Atlas cluster, store connection string ad DATABASE_URL in .env in root
  4. run npm run dev ("dev": "ts-node-dev --no-notify --respawn --transpile-only src/index.ts")
  5. visit http://pris.ly/e/ts/graphql-typegraphql#using-the-graphql-api for sample queries