Giter VIP home page Giter VIP logo

multiplehats / jaydens-stack Goto Github PK

View Code? Open in Web Editor NEW
64.0 64.0 2.0 913 KB

A modern, efficient, and feature-packed monorepo boilerplate. Uses SvelteKit, tRPC, Shadcn, Tailwind CSS and Turborepo

Home Page: https://jaydens-stack-web.vercel.app

JavaScript 9.86% Shell 0.55% CSS 3.51% HTML 0.65% TypeScript 47.31% Svelte 38.11%
authjs monorepo-boilerplate next-auth prisma shadcn shadcn-ui svelte sveltekit sveltekit-boilerplate tanstack-query trpc turborepo

jaydens-stack's People

Contributors

multiplehats avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

simonphumin

jaydens-stack's Issues

module is not defined

@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.

Unable to add new components

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 into apps/web and run the shadcn CLI command, e.g. npx shadcn-svelte add accordion. This will put the new component in the packages/ui directory.

but i'm getting Configuration is missing. Please run init to create a components.json file.

add support for Edge routes.

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.