Nestjs + Svelte Template
git clone https://github.com/Luxw098/nestjs-svelte-template ProjectName
cd ProjectName
bun run setup
- Do your personalisation
bun run dev
- Edit
backend/src/app.module.ts to configure controllers and providers.
- Backend API
- Prisma ORM
- Socket.IO Server
- Edit
backend/prisma/schema.prisma to configure your database.
- Default database is SQLite
- If applicable, edit
backend/.env to configure your database URL.
- Setup ports at these locations:
backend/src/main.ts for Back-end ports
frontend/vite.config.ts for Front-end ports
- Run
bun run dev to start the server in dev mode.
bun run build to generate the production build.
bun run start to start the production server.
