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

Latest commit

 

History

History
59 lines (38 loc) · 734 Bytes

README.md

File metadata and controls

59 lines (38 loc) · 734 Bytes

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