Command | Description |
---|---|
npm start | starts the aplitaction |
npm test | Unit testing |
npm run test:e2e | e2e testing |
npm run lint | Runs eslint with airbnb rules |
We have a new client that needs to easily see the current weather conditions in various cities around the world. Our team has quickly built an MVP app and now needs your help to improve it.
Please see the following points where we think we need to improve:
- Files and folders structure
- Component size
- Testing
- Error handling
- Logic coupling
Here are some bonus points:
- Don't use classes
- Use react hooks / custom hooks
- Use local storage to store the last search between sessions
- Use react context
- Use Error Boundaries
- Use Typescript