nestjs-svelte-template Svelte Themes

Nestjs Svelte Template

Nestjs + Svelte Template

  • Install Guide

  1. git clone https://github.com/Luxw098/nestjs-svelte-template
  2. cd nestjs-svelte-template
  3. bun run setup
  4. bun run db If you want the Prisma ORM.
  5. bun run dev


  • Customization

  1. Edit backend/src/app.module.ts to configure controllers and providers.
  • Backend API
  • Prisma ORM
  • Accounts & JWTCookie Authentication (Prisma Required)
  • Socket.IO Server
  1. Edit backend/prisma/schema.prisma to configure your database.
  • Default database is SQLite
  1. run bun run db to update the database
  2. If applicable, edit backend/.env to configure your database URL.
  3. Setup ports at these locations:
  • backend/src/main.ts for NestJS/Back-end PORT
  • frontend/vite.config.ts for Vite/Front-end PORTS
  1. Run bun run dev to start the server.


  • Production

  1. bun run build to generate the production build.
  2. bun run start to start the production server.

Top categories

Loading Svelte Themes