App Review
This package is the @app-review
section.
start local sandbox
npm start
requirements:
- mooc installed and running to expose a local API.
- copy and rename
.env.sample
to .env
with a local token (API_TEST_TOKEN
) to access the mooc API.
developing views locally
Be sure to build es/
on @coorpademy/components
> cd ../@coorpademy-components
> npm run build:es
then start the sandbox
generate /static
npm run static
(This script is used by lerna to publish the static web app)
unit tests
npm run test:unit
or
npx ava --watch
dependencies notes
react
must also be the same version on this package and the rootApp
(possible generic error Warning: Invalid hook call. [...] 3. You might have more than one copy of React in the same app)