{"id":50758994,"url":"https://github.com/tulbadex/suiteva","last_synced_at":"2026-06-11T08:01:54.696Z","repository":{"id":350477954,"uuid":"1206997604","full_name":"tulbadex/suiteva","owner":"tulbadex","description":"A full-stack hotel reservation and management platform built with Angular 19 and ASP.NET Core Web API. Features JWT authentication, role-based access control, room booking, billing, seasonal rates, and admin dashboard.","archived":false,"fork":false,"pushed_at":"2026-04-10T15:16:04.000Z","size":4673,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-10T15:29:42.413Z","etag":null,"topics":["angular","angular-material","aspnet-core","csharp","dotnet","entity-framework-core","full-stack","hotel-management","jwt-authentication","repository-pattern","reservation-system","role-based-access-control","sql-server","typescript","unit-of-work","web-api"],"latest_commit_sha":null,"homepage":"","language":"C#","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/tulbadex.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-10T13:19:19.000Z","updated_at":"2026-04-10T15:16:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tulbadex/suiteva","commit_stats":null,"previous_names":["tulbadex/suiteva"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tulbadex/suiteva","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulbadex%2Fsuiteva","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulbadex%2Fsuiteva/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulbadex%2Fsuiteva/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulbadex%2Fsuiteva/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tulbadex","download_url":"https://codeload.github.com/tulbadex/suiteva/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulbadex%2Fsuiteva/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34188272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["angular","angular-material","aspnet-core","csharp","dotnet","entity-framework-core","full-stack","hotel-management","jwt-authentication","repository-pattern","reservation-system","role-based-access-control","sql-server","typescript","unit-of-work","web-api"],"created_at":"2026-06-11T08:01:51.641Z","updated_at":"2026-06-11T08:01:54.687Z","avatar_url":"https://github.com/tulbadex.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Suiteva — Where Every Stay Feels Suite\n\nA full-stack hotel reservation and management platform built with **Angular 19** and **ASP.NET Core Web API (.NET 9)**. Features JWT authentication, role-based access control, room booking, billing, seasonal rates, and admin dashboard.\n\n## Features\n\n- **JWT Authentication** — Secure login/register with role-based access (Admin, Manager, Receptionist, Guest)\n- **Hotel Management** — Create and manage multiple hotel properties\n- **Room Booking** — Browse available rooms, make reservations with date selection\n- **Billing System** — Automatic bill generation with seasonal rate adjustments\n- **Seasonal Rates** — Dynamic pricing based on seasons and demand\n- **User Management** — Admin dashboard for managing users and roles\n- **Notifications** — Background service for reservation notifications\n- **Reports** — Admin reporting dashboard\n\n## Tech Stack\n\n| Layer | Technology |\n|-------|-----------|\n| Frontend | Angular 19, Angular Material, TypeScript |\n| Backend | ASP.NET Core Web API (.NET 9) |\n| Database | SQL Server (LocalDB) |\n| Auth | JWT (JSON Web Tokens) |\n| ORM | Entity Framework Core 9 |\n| Testing | xUnit, Moq |\n\n## Project Structure\n\n```\nSuiteva/\n├── suiteva-client/          # Angular 19 SPA\n│   ├── src/app/\n│   │   ├── features/        # Admin, Billing, Hotel, Reservation modules\n│   │   ├── guards/          # Auth guards\n│   │   ├── interceptors/    # JWT interceptor\n│   │   ├── layout/          # Dashboard layout\n│   │   ├── models/          # TypeScript interfaces\n│   │   ├── pages/           # Login, Register, Welcome\n│   │   └── services/        # API services\n│   └── public/              # Static assets, favicon\n├── Suiteva.API/             # ASP.NET Core Web API\n│   ├── Controllers/         # API endpoints\n│   ├── Data/                # DbContext, seeder\n│   ├── DTOs/                # Data transfer objects\n│   ├── Helpers/             # JWT helper\n│   ├── Middleware/           # Exception handling\n│   ├── Models/              # Entity models\n│   ├── Repositories/        # Generic repository + Unit of Work\n│   └── Services/            # Business logic\n├── Suiteva.Tests/           # Unit tests\n└── docs/                    # Documentation\n```\n\n## Getting Started\n\n### Prerequisites\n- [.NET 9 SDK](https://dotnet.microsoft.com/download/dotnet/9.0)\n- [Node.js 18+](https://nodejs.org/)\n- SQL Server LocalDB (included with Visual Studio)\n\n### Backend Setup\n\n```bash\ncd Suiteva.API\ndotnet restore\ndotnet ef database update\ndotnet run\n```\n\nAPI runs at `http://localhost:5157` — Swagger UI at `http://localhost:5157/swagger`\n\n### Frontend Setup\n\n```bash\ncd suiteva-client\nnpm install\nng serve\n```\n\nAngular app runs at `http://localhost:4200`\n\n### Seeded Users\n\n| Username | Password | Role |\n|----------|----------|------|\n| admin@suiteva.com | Admin@123 | Admin |\n| manager@suiteva.com | Manager@123 | HotelManager |\n| receptionist@suiteva.com | Reception@123 | Receptionist |\n\n## API Endpoints\n\n| Method | Endpoint | Auth | Description |\n|--------|----------|------|-------------|\n| POST | `/api/auth/register` | — | Register new user |\n| POST | `/api/auth/login` | — | Login, returns JWT |\n| GET | `/api/hotels` | ✅ | List hotels |\n| GET | `/api/rooms` | ✅ | List rooms |\n| POST | `/api/reservations` | ✅ | Create reservation |\n| GET | `/api/reservations` | ✅ | List reservations |\n| GET | `/api/bills` | ✅ | List bills |\n| GET | `/api/users` | Admin | Manage users |\n| GET | `/api/seasonal-rates` | Admin | Manage rates |\n\n## Architecture Patterns\n\n- **Generic Repository + Unit of Work** — Abstracted data access\n- **Service Layer** — Business logic decoupled from controllers\n- **DTOs** — Clean data transfer between layers\n- **JWT Auth + Guards** — Secure API + Angular route protection\n- **Interceptors** — Automatic token attachment\n- **Exception Middleware** — Centralized error handling\n- **Background Services** — Notification processing\n\n## Author\n\n**Ibrahim** — [ibrahimadedayo@rocketmail.com](mailto:ibrahimadedayo@rocketmail.com) — [GitHub](https://github.com/tulbadex)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftulbadex%2Fsuiteva","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftulbadex%2Fsuiteva","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftulbadex%2Fsuiteva/lists"}