Skip to content

Latest commit

 

History

History
53 lines (32 loc) · 1.68 KB

README.md

File metadata and controls

53 lines (32 loc) · 1.68 KB

Netlify Status github workflow status

Coverage lines Coverage functions Coverage branches Coverage statements

This project was bootstrapped with Create React App.

Barbie Meals

A place for Barbie to store his favorite meals, view it in action here

build commands

yarn build build a prod version of both the app and lambda functions

yarn build:app build only the app in prod mode

yarn build:lambda build only the lambda functions in prod mode

start commands

yarn start runs the app in dev mode and the lambda functions in prod mode

yarn start:app runs only the app in dev mode

yarn start:lambda runs only the lambda functions in prod mode

yarn start-dev:lambda runs the lambda functions in dev mode

testing commands

yarn test

yarn test:watch

yarn test:coverage

misc commands

yarn lint

yarn generate if lambda functions are being run in dev mode, will generate hooks based on src/graphql/*.graphql

Generates files:

  • graphql.schema.json
  • src/graphql/types/index.ts

yarn storybook

yarn lint, build, test

further dev notes

codegen.js is only used by the script generate, similartly, graphql.schema.json is auto-generated via running that script.