{"id":16225617,"url":"https://github.com/xulioc/sveltekit-multitenant-rbac","last_synced_at":"2026-03-16T23:36:01.557Z","repository":{"id":249840418,"uuid":"832713293","full_name":"xulioc/sveltekit-multitenant-rbac","owner":"xulioc","description":"Svelte MultiTenant RBAC Dashboard","archived":false,"fork":false,"pushed_at":"2024-10-20T06:23:22.000Z","size":1464,"stargazers_count":34,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T13:43:19.712Z","etag":null,"topics":["dashboard","drizzle-orm","formsnap","lucia-auth","multitenancy","rbac","shadcn-ui","superforms","svelte","sveltekit"],"latest_commit_sha":null,"homepage":"https://sveltekit-multitenant-rbac.vercel.app/","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xulioc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-23T15:14:02.000Z","updated_at":"2025-02-18T18:12:07.000Z","dependencies_parsed_at":"2024-09-07T11:29:37.158Z","dependency_job_id":"6f57abd4-ccf3-4ec6-bb05-0fb1ace6f28c","html_url":"https://github.com/xulioc/sveltekit-multitenant-rbac","commit_stats":null,"previous_names":["xulioc/sveltekit-multitenant-rbac"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xulioc%2Fsveltekit-multitenant-rbac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xulioc%2Fsveltekit-multitenant-rbac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xulioc%2Fsveltekit-multitenant-rbac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xulioc%2Fsveltekit-multitenant-rbac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xulioc","download_url":"https://codeload.github.com/xulioc/sveltekit-multitenant-rbac/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246947763,"owners_count":20859311,"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":["dashboard","drizzle-orm","formsnap","lucia-auth","multitenancy","rbac","shadcn-ui","superforms","svelte","sveltekit"],"created_at":"2024-10-10T12:45:42.024Z","updated_at":"2026-03-16T23:36:01.500Z","avatar_url":"https://github.com/xulioc.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte MultiTenant RBAC Dashboard\n\n\u003ch3\u003e\nOne more Svelte starter, now with Multi-Tenancy and Role Based Access Control\n\u003c/h3\u003e\n\n![dashboard](https://github.com/xulioc/sveltekit-multitenant-rbac/blob/main/static/images/dashboard.png?raw=true)\n\n---\n\n##\n\n\u003ch3\u003e\n\u003cspan style=\"color:red\"\u003e\nDISCLAIMER: This project is not production ready. Svelte5 is not stable and RBAC is not fully tested. Use at your own risk.\n\u003c/h3\u003e\n\u003c/span\u003e\n\n## Features\n\n- Authentication (Email \u0026 GitHub OAuth)\n- [Multitenancy](https://github.com/xulioc/sveltekit-multitenant-rbac/blob/main/static/doc/MT.md) (Groups \u0026 Organizations)\n- [Role Based Acces Control](https://github.com/xulioc/sveltekit-multitenant-rbac/blob/main/static/doc/RBAC.md) (RBAC)\n- [Soft deletion](https://en.wiktionary.org/wiki/soft_deletion)\n- User tracking\n\n## Technologies\n\n- [Svelte5](https://svelte.dev/) and [SvelteKit](https://kit.svelte.dev/) application framework\n- [PostgreSQL](https://www.postgresql.org/) relational database\n- [DrizzleKit](https://orm.drizzle.team/) TypeScript ORM on top of PortgreSQL\n- [Lucia](https://lucia-auth.com/) auth library\n- [TailwindCSS](https://tailwindcss.com/) CSS framework\n- [Shadcn-svelte](https://www.shadcn-svelte.com/) UI component library\n- [Superforms](https://superforms.rocks/) form validation and SSR submission\n- [Formsnap](https://www.formsnap.dev/) form building\n- [Layerchart](https://www.layerchart.com/) charts\n- [Lucide Icons](https://lucide.dev/) icon pack\n- [Resend](https://resend.com/) email service API\n- [Umami](https://umami.is/) analytics\n- [Vercel](https://vercel.com/) deployment platform\n\n## Installation\n\n### Clone the repo\n\n```bash\ngit clone https://github.com/xulioc/sveltekit-multitenant-rbac.git\ncd sveltekit-multitenant-rbac\n```\n\n### Setup environment variables\n\nCreate a new `.env` file\n\n```bash\ncp .env.example .env\n```\n\nEdit your `.env` file\n\n```bash\n# MANDATORY VARIABLES\nPRIVATE_POSTGRES_URL=\"postgresql://\u003cYOUR POSTGRESS URL\u003e\"\n\n```\n\n### Initialize database\n\n```bash\npnpm db:generate\npnpm db:push\n```\n\nTo start in development mode:\n\n```bash\npnpm dev\n```\n\nTo build and start in production mode:\n\n```bash\npnpm build\npnpm preview\n```\n\n### Deploy\n\nTo deploy to Vercel please follow instructions [here](https://vercel.com/guides/deploying-svelte-with-vercel).\n\n## Contribute\n\nFeel free to contribute. Issues and Pull Requests are welcome.\n\n## License\n\n[MIT](https://github.com/xulioc/sveltekit-multitenant-rbac/blob/main/LICENSE)\n\n## Resources\n\n| Link                                                                                                 |                                                                                                                     |\n| ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |\n| [sveltekit-auth](https://github.com/delay/sveltekit-auth)                                            | ![GitHub Repo stars](https://img.shields.io/github/stars/delay/sveltekit-auth?style=flat)                           |\n| [sveltekit-supabase-dashboard](https://github.com/xulioc/sveltekit-supabase-dashboard)               | ![GitHub Repo stars](https://img.shields.io/github/stars/xulioc/sveltekit-supabase-dashboard?style=flat)            |\n| [auth-sveltekit](https://github.com/daedalus-developers/auth-sveltekit/)                             | ![GitHub Repo stars](https://img.shields.io/github/stars/edwardspresume/sveltekit-lucia-auth-v3-example?style=flat) |\n| [sveltekit-lucia-auth-v3-example](https://github.com/edwardspresume/sveltekit-lucia-auth-v3-example) | ![GitHub Repo stars](https://img.shields.io/github/stars/daedalus-developers/auth-sveltekit?style=flat)             |\n| [sveltekit-stackter](https://github.com/shamscorner/sveltekit-stackter)                              | ![GitHub Repo stars](https://img.shields.io/github/stars/shamscorner/sveltekit-stackter?style=flat)                 |\n| [saas-starter](https://github.com/startino/saas-starter)                                             | ![GitHub Repo stars](https://img.shields.io/github/stars/startino/saas-starter?style=flat)                          |\n| [sveltekit-starter-svelte5](https://github.com/szig83/sveltekit-starter-svelte5)                     | ![GitHub Repo stars](https://img.shields.io/github/stars/szig83/sveltekit-starter-svelte5?style=flat)               |\n| https://www.shadcn-svelte.com/blocks                                                                 |\n| https://dev.to/permify/implementing-role-based-access-control-in-sveltekit-56hf                      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxulioc%2Fsveltekit-multitenant-rbac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxulioc%2Fsveltekit-multitenant-rbac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxulioc%2Fsveltekit-multitenant-rbac/lists"}