- Create OrderController with GET /api/orders endpoint (authenticated) - Add OrderResponse DTO (id, plate, template, status, trackingId, createdAt) - Seed 3 test orders for test@bilhalsning.se via V6 migration (sent, pending_payment, delivered) - Create OrderControllerTest with 4 tests (auth, empty list, full fields, user not found) - Create frontend api/orders.ts with typed fetchOrders() client - Build out OrdersPage.vue with card list: plate, template, status badge, tracking link - Add 12 Vitest tests for OrdersPage (loading, data, badges, links, empty, error) - Add 5 Playwright E2E tests (auth guard, seeded data, badges, tracking, templates) |
||
|---|---|---|
| .. | ||
| e2e | ||
| public | ||
| src | ||
| .gitignore | ||
| .prettierrc | ||
| eslint.config.ts | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.