{"id":34659211,"url":"https://github.com/ntfelix/rms","last_synced_at":"2026-05-28T02:02:29.716Z","repository":{"id":330625489,"uuid":"831134208","full_name":"NtFelix/RMS","owner":"NtFelix","description":"Die zentrale Plattform für die Verwaltung von Mieteingängen, Mietern, Wohnungen und die einfache Erstellung von Betriebskostenabrechnungen","archived":false,"fork":false,"pushed_at":"2026-02-28T00:14:57.000Z","size":25354,"stargazers_count":2,"open_issues_count":86,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-28T06:39:38.966Z","etag":null,"topics":["cloudflare","cloudflare-pages","cloudflare-workers","nextjs","posthog","stripe","supabase","typescript"],"latest_commit_sha":null,"homepage":"https://mietevo.de/","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/NtFelix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-07-19T18:34:35.000Z","updated_at":"2026-02-28T00:14:59.000Z","dependencies_parsed_at":"2026-02-24T11:11:52.732Z","dependency_job_id":null,"html_url":"https://github.com/NtFelix/RMS","commit_stats":null,"previous_names":["ntfelix/rms"],"tags_count":221,"template":false,"template_full_name":null,"purl":"pkg:github/NtFelix/RMS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NtFelix%2FRMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NtFelix%2FRMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NtFelix%2FRMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NtFelix%2FRMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NtFelix","download_url":"https://codeload.github.com/NtFelix/RMS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NtFelix%2FRMS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30156842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"ssl_error","status_checked_at":"2026-03-05T22:39:24.771Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cloudflare","cloudflare-pages","cloudflare-workers","nextjs","posthog","stripe","supabase","typescript"],"created_at":"2025-12-24T18:39:13.799Z","updated_at":"2026-05-28T02:02:29.710Z","avatar_url":"https://github.com/NtFelix.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mietevo - Property Management System\n\nMietevo is a comprehensive property management SaaS application tailored for the German market. It provides tools for managing tenants (Mieter), apartments (Wohnungen), houses (Häuser), finances (Finanzen), and operating costs (Betriebskosten).\n\n## Tech Stack\n\nThe application is built with a modern stack emphasizing performance, type safety, and developer experience:\n\n-   **Framework:** [Next.js 15 (App Router)](https://nextjs.org/)\n-   **Language:** [TypeScript](https://www.typescriptlang.org/) (Strict mode)\n-   **Frontend:** [React 18](https://react.dev/), [Tailwind CSS](https://tailwindcss.com/), [Shadcn/ui](https://ui.shadcn.com/)\n-   **Backend / Database:** [Supabase](https://supabase.com/) (PostgreSQL, Auth, Realtime, Storage)\n-   **State Management:** [Zustand](https://github.com/pmndrs/zustand)\n-   **Validation:** [Zod](https://zod.dev/)\n-   **Payments:** [Stripe](https://stripe.com/)\n-   **Analytics:** [PostHog](https://posthog.com/)\n-   **Testing:** [Jest](https://jestjs.io/), [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/), [Playwright](https://playwright.dev/)\n\n## Prerequisites\n\n-   Node.js (v20 or higher recommended)\n-   npm\n\n## Installation\n\n1.  Clone the repository:\n    ```bash\n    git clone \u003crepository-url\u003e\n    cd mietevo\n    ```\n\n2.  Install dependencies:\n    ```bash\n    npm install\n    ```\n\n## Environment Variables\n\nCreate a `.env.local` file in the root directory. You will need credentials for Supabase, Stripe, and PostHog.\n\n```env\n# Supabase\nNEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url\nNEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key\nSUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key\n\n# Stripe\nSTRIPE_SECRET_KEY=your_stripe_secret_key\nNEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key\nSTRIPE_WEBHOOK_SIGNING_SECRET=your_stripe_webhook_signing_secret\n\n# PostHog (Analytics)\nNEXT_PUBLIC_POSTHOG_KEY=phc_your_public_project_key\nNEXT_PUBLIC_POSTHOG_HOST=/assets/v2\nNEXT_PUBLIC_POSTHOG_UI_HOST=https://eu.posthog.com\nPOSTHOG_API_KEY=phc_your_server_project_key\nPOSTHOG_HOST=https://eu.i.posthog.com\nPOSTHOG_PERSONAL_API_KEY=phx_your_personal_api_key\n# Optional: force the route-handler proxy if edge rewrites fail\n# POSTHOG_PROXY_MODE=route\n```\n\n## Running the Application\n\nStart the development server:\n\n```bash\nnpm run dev\n```\n\nThe application will be available at `http://localhost:3000`.\n\n## Scripts\n\n-   `npm run dev`: Starts the development server with TurboPack.\n-   `npm run build`: Builds the application for production.\n-   `npm start`: Starts the production server.\n-   `npm run lint`: Runs ESLint to check for code quality issues.\n-   `npm test`: Runs the Jest test suite.\n\n## Project Structure\n\n-   **`app/`**: Next.js App Router directory. Contains pages, layouts, and API routes.\n    -   `app/(dashboard)`: Protected dashboard routes.\n    -   `app/[entity]-actions.ts`: Server Actions for business logic (e.g., `mieter-actions.ts`).\n-   **`components/`**: Reusable React components.\n    -   `components/ui/`: Shadcn/ui primitives.\n-   **`lib/`**: Backend utilities and service configurations (Supabase, Stripe).\n-   **`utils/`**: General utility functions (calculations, formatting).\n-   **`types/`**: TypeScript type definitions.\n    -   `types/supabase.ts`: Generated database types.\n-   **`supabase/`**: Database migrations and configuration.\n-   **`public/`**: Static assets.\n\n## Architecture \u0026 Conventions\n\n### Server vs. Client Components\nThe application leverages Next.js Server Components for data fetching and initial rendering. Client Components (`'use client'`) are used for interactive elements.\n\n### Server Actions\nData mutations (Create, Update, Delete) are handled via Server Actions located in `app/[entity]-actions.ts` files. These actions handle validation, database interaction, and revalidation.\n\n### Database \u0026 Domain Language\nWhile the code and documentation are in English, the database schema and business logic concepts use **German** terminology to match the domain:\n-   `Mieter` (Tenant)\n-   `Wohnung` (Apartment)\n-   `Haus` (House)\n-   `Betriebskosten` (Operating Costs)\n\n### Deployment\nThe project is containerized using **Docker** and deployed to **Google Cloud Run**. \n\n- **CI/CD:** GitHub Actions handles building the Docker image, pushing it to **Artifact Registry**, and deploying preview environments for pull requests.\n- **Production:** The `main` branch is automatically deployed to production upon passing CI checks.\n\n### Docker Support\nYou can build and run the application locally using Docker:\n\n```bash\n# Build the image\ndocker build -t mietevo .\n\n# Run the container\ndocker run -p 3000:3000 --env-file .env.local mietevo\n```\n\n## Testing\n\nThe project maintains a comprehensive test suite.\n\n-   **Unit \u0026 Integration Tests**: Run via Jest.\n    ```bash\n    npm test\n    ```\n-   **Frontend Verification**: Playwright scripts are used for end-to-end verification.\n\n## License\n\nPrivate\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntfelix%2Frms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntfelix%2Frms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntfelix%2Frms/lists"}