This is the final code of the GraphQL API built in the Nexus tutorial 🚀.
Code will evolve as we update the tutorial.
npm install
docker run --detach --publish 5432:5432 -e POSTGRES_PASSWORD=postgres --name postgres postgres:10.12
To interact with the API in a GraphQL Playground, all you need to do is execute the dev
script defined in the package.json:
npm run dev
npm run test