Skip to content

Commit 088f9b5

Browse files
committed
fix: update API build paths and README for Aspire configuration
1 parent 057ec04 commit 088f9b5

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/workflows/api-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches: main
55
paths:
6-
- 'backend/src/**'
6+
- 'backend/**'
77

88
jobs:
99
main:
@@ -24,5 +24,5 @@ jobs:
2424
id: docker_build
2525
uses: docker/build-push-action@v2
2626
with:
27-
context: backend/src/.
28-
file: backend/src/Dockerfile
27+
context: backend/.
28+
file: Dockerfile.api

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Clean Architecture Full-Stack Starter: .NET, Angular, and PostgreSQL
2-
2+
> Clean Architecture with RBAC implementation for API (.Net) and UI (Angular)
33
<p align="center">
44
<a href="https://github.com/nitin27may/clean-architecture-docker-dotnet-angular/actions/workflows/angular-build.yml">
55
<img src="https://github.com/nitin27may/clean-architecture-docker-dotnet-angular/actions/workflows/angular-build.yml/badge.svg" alt="Angular Build">
@@ -10,7 +10,7 @@
1010
<a href="LICENSE">
1111
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="MIT License">
1212
</a>
13-
<img src="https://img.shields.io/badge/Angular-21-DD0031.svg" alt="Angular 21">
13+
<img src="https://img.shields.io/badge/Angular-21-512BD4.svg" alt="Angular 21">
1414
<img src="https://img.shields.io/badge/.NET-10-512BD4.svg" alt=".NET 10">
1515
<img src="https://img.shields.io/badge/PostgreSQL-17-336791.svg" alt="PostgreSQL 17">
1616
<img src="https://img.shields.io/badge/Aspire-9.5-6C3483.svg" alt=".NET Aspire 9.5">
@@ -83,8 +83,8 @@ dotnet run --project aspire/AppHost
8383
🔗 Then access:
8484
- **Aspire Dashboard**: https://localhost:17178 (see all services, logs, traces)
8585
- **Frontend**: http://localhost:4200
86-
- **API**: https://localhost:7224
87-
- **Scalar API Docs**: https://localhost:7224/scalar/v1
86+
- **API**: Check Aspire dashboard for the assigned port
87+
- **Scalar API Docs**: `{API_URL}/scalar/v1`
8888
- **pgAdmin**: Check Aspire dashboard for the assigned port
8989

9090
### Option 2: Using Docker Compose (Production-like)

frontend/angular.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
"scripts": [],
3939
"server": "src/main.server.ts",
4040
"prerender": false,
41-
"ssr": {
42-
"entry": "src/server.ts"
43-
}
41+
"ssr": false
4442
},
4543
"configurations": {
4644
"production": {

0 commit comments

Comments
 (0)