fullstack-apollo-express-postgresql-boilerplate icon indicating copy to clipboard operation
fullstack-apollo-express-postgresql-boilerplate copied to clipboard

Update dependencies and fix errors

Open skoblenick opened this issue 5 years ago • 1 comments

The related tutorial is nicely done however once it becomes dated it can be a hurdle for newcomers to debug a technology stack they have little experience with. Most developers need to know the latest API's and best practices because it is where they're generally starting when looking at with a boilerplate repo. Debugging many of GraphQL errors aren't fun when you have to know the order of execution, how the stack generally works and how to track down the sometimes cryptic error backs.

This PR will close out several outstanding issues and PR's made by others. In addition the PR adds:

  • a NPM test script to run the server and test execution script in parallel
  • an ignore-file to nodemon when test files are updated as test changes do not impact the code execution or compilation

skoblenick avatar Jan 04 '20 07:01 skoblenick

I am making assumption the env vars: SECRET, DATABASE_USER, DATABASE_PASSWORD and PORT are defined within the Travis project settings, otherwise they will need to be added to the NPM script.

skoblenick avatar Jan 06 '20 00:01 skoblenick