Skip to content

HichemBenChaaben/vue-real-world-application-parking-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend coding challenge - ParkingBusiness

for setup, check the setup below

SPA BFF BE Architecture

"Image description"

Scaling architecture

"Image description"

illustrating potential solution to scale the full stack architecture to support large real time data sets

Tech stack

  • typescript + zod <3
  • vue 3 + pinia + vue router
  • tailwind css
  • express with http-request-middleware
  • axios
  • vitest for testing (unit, snapshots and inline snapshotting)

Features

  • login /logout
  • dashboard overview
  • revenue overview
  • start session form

Extra added features

  • 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.

Preview

Demo video on loom

https://www.loom.com/share/e32271c3eccc43bb98fffea73a906287?sid=994b6628-1f24-4ae1-bd83-bdd603157bb8

"Image description" "Image description" "Image description"

SETUP

This template should help get you started developing with Vue 3 in Vite.

Prerequisits

node version >= 18

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

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.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Lint with ESLint

npm run lint

Run production ready mode and preview on localhost:3000

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published