A developer has just made a POC for our new restaurant application.
Alas, he's called on a new mission!
You're the one to finish the job.
It was almost done, but there is some TODO
in the code that need do be fixed.
Don't neglect to fix any typescript
/test
you encounter.
Keep in mind that we style with Tailwind
- Make a new repo and push your code in it.
- Make the commit as much atomic as possible.
- When done, share your updated repository with us!
# install the dependencies
$ pnpm
# serve with hot reload at http://localhost:5173 (may change the port if already in use)
$ pnpm start
# run all checks (linter/typescript/test)
$ pnpm test:all
# test with live reload
$ pnpm test
# test unit (no watch/live release)
$ pnpm test:unit
# test coverage
$ pnpm test:coverage
VueJS comes with a solid documentation
You might be very interested in computed properties: it's a way to have derived that from your original one
name | description | doc |
---|---|---|
Typescript | typings in JS | https://www.typescriptlang.org/ |
Vue | web framework | https://vuejs.org/ |
Vuetify | material components | https://vuetifyjs.com/en/ |
Vue-Query | query composables | https://vue-query.vercel.app/ |
Ky | fetch wrapper | https://www.npmjs.com/package/ky |
Tailwind | utility classes | https://tailwindcss.com/ |