Skip to content
/ sveltekit-starter Public template

A simple CRUD project using SvelteKit, Prisma, sqlite, and TypeScript

License

Notifications You must be signed in to change notification settings

ronsen/sveltekit-starter

Repository files navigation

sveltekit-starter

A simple CRUD project using SvelteKit, Prisma, sqlite, Tailwind CSS, and TypeScript with many-to-many relationship example.

Clone this project:

git clone [email protected]:ronsen/sveltekit-starter.git

Or you can use degit:

npx degit ronsen/sveltekit-starter sveltekit-starter

Run these following commands to try locally:

cd sveltekit-starter
npm install
npm run dev

Migrate the database:

npx prisma migrate dev --name init

Database seeding:

npx prisma db seed

Create /static/images directory.

Sign in with a sample user:

Username: admin
Password: password