Skip to content

feat(init): initialize repo with codez#1

Merged
hbjydev merged 20 commits intomainfrom
feature/init
Nov 19, 2025
Merged

feat(init): initialize repo with codez#1
hbjydev merged 20 commits intomainfrom
feature/init

Conversation

@hbjydev
Copy link
Contributor

@hbjydev hbjydev commented Nov 12, 2025

No description provided.

@hbjydev hbjydev marked this pull request as ready for review November 19, 2025 18:28
Copilot AI review requested due to automatic review settings November 19, 2025 18:28
@hbjydev hbjydev merged commit ab57a3d into main Nov 19, 2025
6 checks passed
@hbjydev hbjydev deleted the feature/init branch November 19, 2025 18:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR initializes the repository with a full-stack application infrastructure including:

  • .NET backend with service defaults, infrastructure, migration service, and domain layers
  • React/TypeScript frontend with routing, authentication, and budget management features
  • Database migrations and Entity Framework Core setup with PostgreSQL
  • OpenTelemetry instrumentation and health checks
  • JWT-based authentication with refresh tokens

Key Changes

  • Established .NET 10.0 backend services with Aspire service defaults including OpenTelemetry, health checks, and service discovery
  • Created domain entities for Users, Sessions, Budgets, and BudgetPoints with EF Core migrations
  • Implemented authentication service with BCrypt password hashing and JWT token generation
  • Built React frontend with TanStack Router, React Query, i18n support, and comprehensive UI components
  • Configured OpenAPI code generation for type-safe API client

Reviewed Changes

Copilot reviewed 136 out of 144 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/Den.ServiceDefaults/Extensions.cs Service defaults configuration with OpenTelemetry, health checks, and OpenAPI security scheme setup
src/Den.ServiceDefaults/Den.ServiceDefaults.csproj Project targeting .NET 10.0 with Aspire packages for telemetry and service discovery
src/Den.MigrationService/ Background service for running database migrations with retry logic
src/Den.Infrastructure/Persistence/DenDbContext.cs EF Core DbContext with DbSets for Users, Sessions, Budgets, and related entities
src/Den.Infrastructure/Migrations/ Entity Framework Core migrations for database schema
src/Den.Infrastructure/Budgets/BudgetService.cs CRUD operations for budget management with EF Core queries
src/Den.Infrastructure/Auth/AuthService.cs Authentication service implementing signup, login, and token refresh with BCrypt and JWT
src/Den.Domain/Entities/ Domain entities defining Users, Sessions, Budgets, BudgetPoints, and BudgetSources
src/Den.Client.Web/src/main.tsx React application entry point with router, auth, and query client setup
src/Den.Client.Web/src/routes/ TanStack Router file-based routing with authentication guards
src/Den.Client.Web/src/lib/state/ API client generation, React Query hooks, and authentication state management
src/Den.Client.Web/src/components/ Reusable UI components and feature-specific views
src/Den.Client.Web/vite.config.ts Vite configuration with React, Tailwind, and TanStack Router plugins
Files not reviewed (5)
  • src/Den.Infrastructure/Migrations/20251112211324_Sessions.Designer.cs: Language not supported
  • src/Den.Infrastructure/Migrations/20251113003534_SecurityKeys.Designer.cs: Language not supported
  • src/Den.Infrastructure/Migrations/20251113015059_SecurityKeysUpdates.Designer.cs: Language not supported
  • src/Den.Infrastructure/Migrations/20251117223956_RemoveSecurityKeys.Designer.cs: Language not supported
  • src/Den.Infrastructure/Migrations/20251118200110_AddBudgetTimestamps.Designer.cs: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

num++;
ReadOnlySpan<string> readOnlySpan = new(array);
readOnlySpan.CopyTo(new Span<string>(array2).Slice(num, readOnlySpan.Length));
num += readOnlySpan.Length;
Copy link

Copilot AI Nov 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assignment to num is useless, since its value is never read.

Suggested change
num += readOnlySpan.Length;

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants