multiplehats / jaydens-stack Goto Github PK
View Code? Open in Web Editor NEWA modern, efficient, and feature-packed monorepo boilerplate. Uses SvelteKit, tRPC, Shadcn, Tailwind CSS and Turborepo
Home Page: https://jaydens-stack-web.vercel.app
A modern, efficient, and feature-packed monorepo boilerplate. Uses SvelteKit, tRPC, Shadcn, Tailwind CSS and Turborepo
Home Page: https://jaydens-stack-web.vercel.app
@prisma/client
needs to be both installed in apps/web
as well as packages/database
.
It's currently not possible to do import { PrismaClient } from '@acme/database'
as it will throw an error: module is not defined
.
Related to this issue, alternatively see this Slack thread.
I followed the instructions mentioned in the readme
Adding shadcn components
Adding new components is pretty simple, you can either manually over components to the
packages/ui
directory. Or,cd
intoapps/web
and run the shadcn CLI command, e.g.npx shadcn-svelte add accordion
. This will put the new component in thepackages/ui
directory.
but i'm getting Configuration is missing. Please run init to create a components.json file.
It could make sense to spin off tRPC into packages/trpc
. but might add additional unneeded complexity.
Edge routes are currently not supported because of SvelteKitAuth in hooks.server.ts
. Because hooks.server.ts
intercepts each requests, it will load the Authjs config, and in turn load Prisma.
Have solved this in other projects by copying over these functions and changing /auth/
to /api/auth/
and creating a custom +page.server.ts
handle. (adopted from the SvelteKitAuth handle)
But for this template it's probably better to wait until this hardcoded path is fixed upstream and these functions allow for custom base paths so that our custom +page.server.ts
"handle" can go in /src/routes/api/auth/[...authjs]
next to the custom tRPC handle entrypoint (the custom tRPC is also there for that very reason, to support one-off edge routes)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.