Skip to content

pikadun/vue-nestjs-ssr-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-nestjs-ssr-starter

A lightweight full-stack SSR starter with Vue 3, NestJS, Fastify, PrimeVue, and Rsbuild.

Tech Stack

  • Vue 3 + Vue Router (SSR) + PrimeVue
  • NestJS + Fastify
  • Rsbuild 2 + TypeScript
  • Sequelize + SQLite (:memory:)
  • Zod + nestjs-zod

Requirements

  • Node.js >= 22.6.0
  • npm

Quick Start

npm install
npm run dev

Default development URL: http://localhost:8888/development

Scripts

  • npm run dev
  • npm run build
  • npm run preview
  • npm run lint
  • npm run type-check

Project Layout

eng/        # Engineering configuration
scripts/    # Build and development bootstrap
src/client/ # Frontend and SSR app composition
src/server/ # Nest service and SSR/API modules
src/shared/ # Shared code for frontend and backend

TODO

  • The project currently suffers from a FOUC (Flash of Unstyled Content) issue during SSR. PrimeVue styles are not inlined at server render time, causing a visible style flash on first load. This needs to be resolved upstream by the PrimeVue community. Tracking: primefaces/primevue#7289, primefaces/primevue#8044

License

MIT

About

A lightweight full-stack SSR starter with Vue 3, NestJS, Fastify, PrimeVue, and Rsbuild.

Resources

Stars

Watchers

Forks

Contributors