sveltekit-for-beginners Svelte Themes

Sveltekit For Beginners

šŸ’Ŗ Full stack web development with SvelteKit

SvelteKit For Beginners

Learn full stack web development with SvelteKit.

Project Setup

šŸ§‘ā€šŸ¤ā€šŸ§‘ Clone the project

git clone https://github.com/joysofcode/sveltekit-for-beginners.git

šŸ“¦ļø Install dependencies

npm i

Database

āœļø Rename .env.example to .env

DATABASE_URL="file:./dev.db"

šŸ”Ø Create the database from the Prisma schema

npx prisma db push

šŸŒ± Seed the database

npx prisma db seed

šŸ”Ž Inspect your database with Prisma Studio

npx prisma studio

Development

šŸ¦„ Start the project and open http://localhost:3000/

npm run dev

Production

šŸ”Ø Build and preview

npm run build && npm run preview

Top categories

Loading Svelte Themes