{"id":13810495,"url":"https://github.com/multiplehats/jaydens-stack","last_synced_at":"2025-04-16T18:52:28.938Z","repository":{"id":217290359,"uuid":"655683636","full_name":"multiplehats/jaydens-stack","owner":"multiplehats","description":"A modern, efficient, and feature-packed monorepo boilerplate. Uses SvelteKit, tRPC, Shadcn, Tailwind CSS and Turborepo","archived":false,"fork":false,"pushed_at":"2023-06-23T20:27:27.000Z","size":913,"stargazers_count":75,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T05:34:32.356Z","etag":null,"topics":["authjs","monorepo-boilerplate","next-auth","prisma","shadcn","shadcn-ui","svelte","sveltekit","sveltekit-boilerplate","tanstack-query","trpc","turborepo"],"latest_commit_sha":null,"homepage":"https://jaydens-stack-web.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/multiplehats.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-06-19T11:41:02.000Z","updated_at":"2025-03-12T23:39:56.000Z","dependencies_parsed_at":"2024-01-15T15:06:37.795Z","dependency_job_id":null,"html_url":"https://github.com/multiplehats/jaydens-stack","commit_stats":null,"previous_names":["multiplehats/jaydens-stack"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiplehats%2Fjaydens-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiplehats%2Fjaydens-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiplehats%2Fjaydens-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiplehats%2Fjaydens-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/multiplehats","download_url":"https://codeload.github.com/multiplehats/jaydens-stack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249266655,"owners_count":21240792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authjs","monorepo-boilerplate","next-auth","prisma","shadcn","shadcn-ui","svelte","sveltekit","sveltekit-boilerplate","tanstack-query","trpc","turborepo"],"created_at":"2024-08-04T02:00:56.304Z","updated_at":"2025-04-16T18:52:28.915Z","avatar_url":"https://github.com/multiplehats.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Boilerplates \u0026 Starters"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n \u003cimg align=\"center\" src=\"https://github.com/multiplehats/jaydens-stack/blob/main/apps/web/static/opengraph.png\" /\u003e\n \u003ch1 align=\"center\"\u003e\n  Jayden's Stack ✨\n \u003c/h1\u003e\n\u003c/p\u003e\n\nWelcome to Jayden's Stack 👋, a modern, efficient, and feature-packed monorepo boilerplate focused on SvelteKit. This project is all about enhanced developer experience, massive scalability, and high performance.\n\nGive me a [follow on Twitter](https://twitter.com/itschrisjayden) for updates. And if you dig this repo, don't forget to give it a star ⭐️\n\n\u003e **Note** \u003cbr\u003e **This is quite an opinionated monorepo** \u003cbr\u003e But, it's the exact structure I've used to build several production apps. And for me (and team members) it totally rocks. Over time, I might add additional utitilies and other libraries, but I'm trying to keep things \"simple\" (for my own sake).\n\n## But, I don't need \"X\"\nWhen building this monorepo template, I tried to make it so that if you don't need something, it's relatively easy to eject. There might be some manual work involved if you want to get rid of something (sorry, no fancy CLI's yet), but the main goal here is to save myself time and hopefully yours! 🎉\n\n## Todos / Features\n\n- [x] tRPC\n- [x] Integrate Prisma + Planetscale\n- [x] Incorporate AuthJS.\n- [ ] Spin tRPC off into its own package.\n- [ ] Edge routes are currently not supported because of `SvelteKitAuth` in hooks.server.ts (it loads Prisma).\n\n  Have solved this in other projects by copying over [these functions](https://github.com/nextauthjs/next-auth/blob/50a88bb8783b3d81b29a567bf680a6fc6dcd6573/packages/frameworks-sveltekit/src/lib/client.ts#L37) and changing `/auth/` to `/api/auth/`. 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 \"handle\" can sit in `/src/routes/api/auth/[...authjs]` next to the `trpc` entrypoint.\n\n## Featured Technologies\n- **tRPC**: Enables you to make end-to-end typesafe APIs like a ninja. It allows for the freedom of serverless applications without lock-ins and can be easily spun into a standalone server.\n- **TanStack Query**: Your utility belt for fetching, caching, and updating asynchronous data. Its integration with tRPC and SvelteKit is just flawless.\n- **SvelteKit**: A UI framework that's built on Svelte, enabling you to write stunningly concise components.\n- **Tailwind CSS**: A utility-first CSS framework that lets you create modern websites in record time without ever leaving your HTML.\n- **Shadcn Svelte**: Offers beautifully designed components without any lock-in. Just copy and paste them into your project. Simple as that!\n- **TurboRepo**: A Rust-built, incremental build system that's optimized for JavaScript and TypeScript.\n\n## Installation\n1. Clone this repository using git:\n   ```\n   git clone https://github.com/multiplehats/jaydens-stack myapp\n   ```\n2. Navigate into your newly created project directory:\n   ```\n   cd myapp\n   ```\n3. Replace instances of `acme`.\n4. Install the dependencies:\n    ```\n    pnpm install\n    ```\n\n5. Copy .env.example in the root of the project. Generate a new `AUTH_SECRET`. And set the `DATABASE_URL`. The schema is setup for Planetscale, but you can easily modify it to a different need.\n   ```\n   openssl rand -base64 32 # generate secret\n   ```\n\n6. Start the party:\n    ```\n    pnpm dev\n    ```\nVoila! You now have a local running instance of Jayden's Stack!\n\n## Adding shadcn components\n\nAdding 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.\n\nDon't forget to update imports ✌️\n\n## Gotcha's \u0026 Notes\n\n- Prisma needs to be installed in `apps/web` as well as `packages/database`, because of this [issue](https://github.com/prisma/prisma/issues/6603), alternatively see [this Slack thread](https://prisma.slack.com/archives/CA491RJH0/p1677500075237659).\n\n## Contributing\nContributions, issues, and feature requests are welcome! See our [Contributing Guide](CONTRIBUTING.md) for more details.\n\n**Show your support**\nIf this project helped you, give it a ⭐️!\n\nFeel free to provide feedback, report bugs, or make feature requests. You're welcome to create Pull Requests, too.\n\nHappy coding!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultiplehats%2Fjaydens-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmultiplehats%2Fjaydens-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultiplehats%2Fjaydens-stack/lists"}