Skip to content

Latest commit

 

History

History
84 lines (61 loc) · 1.73 KB

README.md

File metadata and controls

84 lines (61 loc) · 1.73 KB

Avett Rx

Avett Rx "prescribes" you a song by The Avett Brothers based on how you're feeling.

Setup

yarn install

Test

# for the whole enchilada
yarn test:ci

# unit and integration
yarn test
yarn test:watch # with live reload
yarn test:coverage # with coverage report

# e2e
yarn test:cy-open # with GUI
yarn test:cy-run # headless

GraphQL Schema Updates

After editing schema.graphql, upload it to FaunaDB via:

yarn schema:update

GraphQL Code Generator

Autogenerate TypeScript types based on the GraphQL schema and types.

yarn types:build # for a quick update
yarn types:watch # during active development

Local development

yarn dev

Open http://localhost:3000 with your browser to see the result.

Deploy

Local prod build

yarn build
yarn start

Previews and Production

All pushed changes are auto-deployed on Vercel.

Tools