- assert test coverage
- test alle scritps
- assert that no part of exercise is forgotten
- test every feature manually
- test the app without internet connection
When running in dev mode, demo data and demo-users are added. To login, enter the following:
- username: dev
- password: dev
- I have added styling with Reactstrap. This required adding css-loaders to
webpack.config.js
. - To ensure consistent code-style, I have used ESlint. This is also configured as an extra script.
- Although not required, I have set up Travis to automatically run tests
- Modifications to yarn scripts:
- configuring
yarn dev
to set environment variable. It indicates wether the server is running in development mode or not. This way, I may add demo data only when application is not in production.
- configuring
- notes about copying from course repo
- Some files are completely copied. Others are copied, and later modified. This is differentiated in the comment.
- JSON-format does not support comments.
package.json
is copied from this file
- dependencies not used in course
- eslint and related plugins. This is to create lint-config appropriate for the project (like support for React)
- nanoid is used for generating random IDs. The library was updated recently, takes minimal amount of space, and has 700k weekly downloads.
- cross-env is used for setting environment variables. I have access to a Mac. This should make sure that environment variable is working fine on non-UNIX systems as well
- style-loader for loading styles to reactsrap.
- on general style
- I could have written some functional components. In particular, the components not having state. However, I stuck with class based components for the sake of consistency.