{"id":30708601,"url":"https://github.com/wolney-fo/teamspace","last_synced_at":"2026-04-08T18:02:22.691Z","repository":{"id":310388845,"uuid":"1028759791","full_name":"wolney-fo/teamspace","owner":"wolney-fo","description":"A comprehensive Next.js SaaS boilerplate with built-in multi-tenancy, authentication, and Role-Based Access Control (RBAC). Perfect for building team collaboration platforms, project management tools, or any multi-organizational SaaS application.","archived":false,"fork":false,"pushed_at":"2025-08-17T18:36:49.000Z","size":221,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-03T01:54:09.397Z","etag":null,"topics":["fastify","nextjs","nodejs","rbac","reactjs","saas","typescript"],"latest_commit_sha":null,"homepage":"http://teamspace.wolney.dev","language":"TypeScript","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/wolney-fo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2025-07-30T03:00:39.000Z","updated_at":"2025-08-17T18:36:53.000Z","dependencies_parsed_at":"2025-08-21T15:02:03.841Z","dependency_job_id":null,"html_url":"https://github.com/wolney-fo/teamspace","commit_stats":null,"previous_names":["wolney-fo/teamspace"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wolney-fo/teamspace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolney-fo%2Fteamspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolney-fo%2Fteamspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolney-fo%2Fteamspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolney-fo%2Fteamspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wolney-fo","download_url":"https://codeload.github.com/wolney-fo/teamspace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolney-fo%2Fteamspace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31567227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["fastify","nextjs","nodejs","rbac","reactjs","saas","typescript"],"created_at":"2025-09-02T22:01:54.998Z","updated_at":"2026-04-08T18:02:22.674Z","avatar_url":"https://github.com/wolney-fo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TeamSpace\n\nA comprehensive **Next.js SaaS boilerplate** with built-in multi-tenancy, authentication, and Role-Based Access Control (RBAC). Perfect for building team collaboration platforms, project management tools, or any multi-organizational SaaS application.\n\n## Table of Contents\n\n- [TeamSpace](#teamspace)\n  - [Table of Contents](#table-of-contents)\n  - [✨ Features](#-features)\n    - [🔐 Authentication](#-authentication)\n    - [🏢 Organizations](#-organizations)\n    - [📨 Team Invitations](#-team-invitations)\n    - [👥 Member Management](#-member-management)\n    - [📁 Project Management](#-project-management)\n    - [💰 Billing Integration](#-billing-integration)\n  - [🛡️ Role-Based Access Control (RBAC)](#️-role-based-access-control-rbac)\n    - [Available Roles](#available-roles)\n    - [Permissions Matrix](#permissions-matrix)\n  - [🚀 Quick Start](#-quick-start)\n    - [Prerequisites](#prerequisites)\n    - [Installation](#installation)\n  - [🤝 Contributing](#-contributing)\n  - [📄 License](#-license)\n\n## ✨ Features\n\n### 🔐 Authentication\n\n- **Email \u0026 Password** authentication\n- **GitHub OAuth** integration\n- **Password recovery** via email\n- **User registration** with email verification\n\n### 🏢 Organizations\n\n- **Multi-tenant architecture** with organization isolation\n- **Create and manage** organizations\n- **Organization settings** and configuration\n- **Ownership transfer** capabilities\n- **Organization shutdown** with data cleanup\n\n### 📨 Team Invitations\n\n- **Invite members** via email with role assignment\n- **Pending invitation** management\n- **Accept/decline** invitation workflow\n- **Bulk invitation** support\n\n### 👥 Member Management\n\n- **Role-based member** listing and management\n- **Dynamic role assignment** and updates\n- **Member activity** tracking\n- **Permission-based** UI rendering\n\n### 📁 Project Management\n\n- **Organization-scoped** project creation\n- **Project metadata** management (name, URL, description)\n- **Project ownership** and collaboration\n- **Bulk project** operations\n\n### 💰 Billing Integration\n\n- **Usage-based billing** ($20/project, $10/member)\n- **Billing role** separation\n- **Invoice generation** and export\n- **Payment tracking** and reporting\n\n## 🛡️ Role-Based Access Control (RBAC)\n\n### Available Roles\n\n| Role              | Description              | Scope                        |\n| ----------------- | ------------------------ | ---------------------------- |\n| **Administrator** | Management permissions   | Organization-wide            |\n| **Member**        | Standard user access     | Limited to assigned projects |\n| **Billing**       | Financial oversight only | Billing and invoicing        |\n\n### Permissions Matrix\n\n|                     | Owner | Admin | Member | Billing | Anonymous |\n| ------------------- | ----- | ----- | ------ | ------- | --------- |\n| Update organization | ✅    | ✅    | ❌     | ❌      | ❌        |\n| Delete organization | ✅    | ✅    | ❌     | ❌      | ❌        |\n| Invite members      | ✅    | ✅    | ❌     | ❌      | ❌        |\n| Revoke invitations  | ✅    | ✅    | ❌     | ❌      | ❌        |\n| List members        | ✅    | ✅    | ✅     | ✅      | ❌        |\n| Transfer ownership  | ✅    | ❌    | ❌     | ❌      | ❌        |\n| Update member roles | ✅    | ✅    | ❌     | ❌      | ❌        |\n| Remove members      | ✅    | ✅    | ⚠️\\*   | ❌      | ❌        |\n| List projects       | ✅    | ✅    | ✅     | ✅      | ❌        |\n| Create projects     | ✅    | ✅    | ✅     | ❌      | ❌        |\n| Update projects     | ✅    | ✅    | ⚠️\\*   | ❌      | ❌        |\n| Delete projects     | ✅    | ✅    | ⚠️\\*   | ❌      | ❌        |\n| View billing        | ✅    | ✅    | ❌     | ✅      | ❌        |\n| Export billing      | ✅    | ✅    | ❌     | ✅      | ❌        |\n\n\u003e **Legend:** ✅ Allowed | ❌ Not allowed | ⚠️ Conditional access\n\u003e\n\u003e **\\*Conditions:**\n\u003e\n\u003e - Members can only leave their own organization\n\u003e - Project updates/deletion limited to project authors\n\u003e - Ownership transfer restricted to current owners only\n\n## 🚀 Quick Start\n\n### Prerequisites\n\n- **Node.js** 18+ and pnpm\n- **PostgreSQL** database\n- **Docker**\n\n### Installation\n\n```bash\n# Clone the repository\ngit clone git@github.com:wolney-fo/teamspace.git\ncd teamspace\n\n# Install dependencies\npnpm install\n\n# Set up environment variables\ncp .env.example .env.local\n# Edit .env.local with your configuration\n\n# Start development server\npnpm run dev\n```\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolney-fo%2Fteamspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwolney-fo%2Fteamspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolney-fo%2Fteamspace/lists"}