Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

joysofcode/sveltekit-for-beginners

Repository files navigation

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

About

💪 Full stack web development with SvelteKit

Resources

Stars

Watchers

Forks