Learn full stack web development with SvelteKit.
š§āš¤āš§ Clone the project
git clone https://github.com/joysofcode/sveltekit-for-beginners.git
š¦ļø Install dependencies
npm i
āļø 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
š¦ Start the project and open http://localhost:3000/
npm run dev
šØ Build and preview
npm run build && npm run preview