--- type: entity tags: [parking, stack, backend] sources: [parking-system-architecture] updated: 2026-06-14 --- # Fastify The backend framework (Node.js). Chosen over Express: lighter, faster, with a clean plugin/hook model. (See [[parking-system-architecture]] §2.) - **Hardware drivers live as isolated Fastify plugins** emitting onto a shared internal event bus — this is the implementation vehicle for the [[device-adapter-pattern]]. - Also serves the [[react-vite-spa]] frontend. - Hosts [[local-jwt-auth]] via `@fastify/jwt`; authorization is a simple `preHandler` role guard per route. Part of the [[technology-stack]]. License: MIT.