Skip to content

zapbr/nexus-prisma-aws-serverless-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nexus-prisma-aws-serverless-demo

Demo with Nexus, Prisma and Serverless in AWS Lambda. To help to solve the issue with the Nexus Serverless described here: graphql-nexus/nexus#782

How to reproduce

  1. yarn build
  2. yarn start
  3. go to http://localhost:4000/ - At this point all schema was loaded.
  4. exit
  5. yarn serverless offline
  6. go to http://localhost:3000/test/playground
  7. change GraphQL url to http://localhost:3000/test/graphql
  8. no schema was loaded and in the console log the message is presented
  9. compare .nexus/build/index.js to .nexus/build/api/app.js, the schema requires are missing
.
.
.
 263 ▲ nexus:schema Your GraphQL schema is empty. This is normal if you have not defined any GraphQL types yet. If you did however, check that your files are contained in the same directory specified in the `rootDir` property of your tsconfig.json file.
.
.
.

Releases

No releases published

Packages

No packages published