for setup, check the setup below
Scaling architecture
illustrating potential solution to scale the full stack architecture to support large real time data sets
- typescript + zod <3
- vue 3 + pinia + vue router
- tailwind css
- express with http-request-middleware
- axios
- vitest for testing (unit, snapshots and inline snapshotting)
- login /logout
- dashboard overview
- revenue overview
- start session form
- multiple layouts
- request cancellations
- offline indicator
- some responsiveness for small screen size support
- loading indicators skeleton loaders
- some charts
- some confetti for fun
Request cancellation is an extra ability to cancel outgoing requests while some are requests are still pending.
Demo video on loom
https://www.loom.com/share/e32271c3eccc43bb98fffea73a906287?sid=994b6628-1f24-4ae1-bd83-bdd603157bb8
This template should help get you started developing with Vue 3 in Vite.
node version >= 18
VSCode + Volar (and disable Vetur).
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue
types.
See Vite Configuration Reference.
npm install
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test:unit
Lint with ESLint
npm run lint
npm run prod
if you testing on safari, check server/index.js
for details about how to
get around safari not storing localhost cookies
this will run a quick production mode preview on localhost:3000