/qs2

Primary LanguageTypeScript

GraphQL CLI Basic Full Stack Template

Starter Full Stack template using GraphQL CLI.

Usage

This project has been created using GraphQL CLI. Run the project using the following steps:

  • Install
yarn install
  • Start the database
docker-compose up -d
  • Generate resources(schema and resolvers) and create database
yarn graphql generate --backend
yarn graphql generate --db
  • Start the server
yarn dev
  • Generate queries, mutations and subscriptions for client-side project
yarn graphql generate --client
  • Generate React components
yarn graphql codegen
  • Start React App
cd client/ && yarn start
  • Dependencies
brew install buildifier fswatch
brew tap bazelbuild/tap
brew install bazelbuild/tap/bazel bazelbuild/tap/ibazel