This repo was made to explore graphQL with node and apollo following along with this udemy course
Check out the production deployment: production playground
prerequisites:
- Node v8+ / NPM
- Download required dependencies:
$ npm install -g prisma
- docker ce for appropriate operating system
- docker-engine for appropriate operating system
- Configure Heroku (or other host site)
- Run
$ npm install
- Run
$ npm run dev
- Visit graphql playground to run queries
- Connect to frontend
OR
npm run prisma-deploy-dev
git status
git add .
git commit -m "commit message here"
heroku push main
npm run prisma-deploy-prod
- graphql-yoga - for running the server
- graphql-cli - for running common graphql commands from the command line
- prisma - for managing database queries in accordance with schema (ORM+)
- Docker - for deployment with heroku
- Heroku - hosting the database and server
- Nodemon - for server refresh on file change during development
- babel[plugins] - for TS/ES7+ etc.
- bcrypt - for password hashing
- env cmd - for environment path mapping
- jest - mock testing framework
- jwt - for tokens
- uuid - for random id generation