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