- graphql-yoga: 🧘 Fully-featured GraphQL Server with focus on easy setup, performance & great developer experience
- Prisma: Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB)
- Backpack: minimalistic build system for Node.js projects.
- Now.sh v2: To host GraphQL server.
- graphql-shield: 🛡 A GraphQL tool to ease the creation of permission layer.
- aws-elasticbeanstalk: Deploy/Host your graphql server on AWS elasticbeanstalk
- ESLint: code linter.
- Prettier: opinionated code formatter.
- babel-plugin-proposal-optional-chaining: Transform optional chaining operators into a series of nil checks
- Dotenv: Loads environment variables from .env for nodejs projects.
- Node stable version. Preferred: Use nvm: Node Version Manager.
- create
.development.env
,.test.env
, and.production.env
file according to.development.example.env
yarn
(npm if you want)yarn dev
- To start the development server with debug mode.yarn dev-deploy
/yarn test-deploy
/yarn prod-deploy
- to generate the buld and deploy prisma server and graphql server
- aws-cli: Required if you're using S3 to upload files.
- aws-elasticbeanstalk: Required if you're deploying your GraphQL server on aws-elasticbeanstalk.
-Other commands
- To generate the build
"dev-build": "NODE_ENV=development yarn build",
"test-build": "NODE_ENV=test yarn build",
"prod-build": "NODE_ENV=production yarn build",
- To deploy prisma
"prisma-deploy-dev": "prisma deploy --env-file .development.env",
"prisma-deploy-test": "prisma deploy --env-file .test.env",
"prisma-deploy-prod": "prisma deploy --env-file .production.env",