- npm run install
- npm run dev
- npm run test:unit
- Used Vue as you guys are using it I believe. I used 3 as well in order for me to explore the new version.
- Used Pinia to easily managed the state.
- Used Vue-Router to easily configure the routes.
- Used vanilla CSS as I don't have experience using Tailwind (willing to learn).
- Used native browser inputs to save time
- Avoided making reusable element to save time.
/assets
- CSS styling that is reusable across the app/datas
- Data of countries & plans/logic
- Business logic of the premium calculator (with unit test). Purely typescript to make it easy to test and to port to other platform like ReactNative/router
- Routing configuration/stores
- States that are shareable across the app/types
- Typings mainly for countries & plans/views
- Page of the app.