The Sveltekit respository for Turbodota.com: The Tracker for Turbo
This is the 4th iteration of our Turbo Dota tracking site:
- v1 - Vue and Firebase
- v2 - React and Firebase
- v3 - Sveltekit and no database
v4 Built using:
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
):
To migrate the schema to your local SQLite instance, use
npm run prisma
Which runs:
npx prisma generate && npx prisma db push
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.
-
API testing https://www.usebruno.com/
-
Mocking Prisma https://www.prisma.io/blog/testing-series-1-8eRB5p0Y8o
Prisma connection pooling with Supabase
https://discord.com/channels/1004048134218981416/1119986172383469569
Form actions with hidden input fields
https://joyofcode.xyz/working-with-forms-in-sveltekit#working-with-forms-using-api-endpoints
- @pilcrow on the Lucia Discord
- @khromov on the Svelte Discord