- Run
npm install - Update your schema in the
types/src/schema.graphqlfile. - Add your operations/queries/mutations in the
types/src/queriesfolder as.graphqlfiles (follow the example there). - Run
npm run build --workspace=types - Start the GraphQL server using
npm run start --workspace=server - Start the React server with
npm run dev --workspace=frontend
If you have any problems with dependencies not updating, you can re-install the types package with npm install @bts-schema-sharing-demo/types --workspace=server or npm install @bts-schema-sharing-demo/types --workspace=frontend