Skip to content

Feature/peformance optimizing #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 87 commits into from
Apr 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
4f75e8d
refactor testing
minhsangdotcom Mar 30, 2025
bb04074
remove !
minhsangdotcom Mar 31, 2025
d22f480
upgrade fluent assertions
minhsangdotcom Mar 31, 2025
f34e6c5
apply changing
minhsangdotcom Apr 2, 2025
574a25e
convert type fixing datetimeoffset
minhsangdotcom Apr 3, 2025
d56cbda
refactor repositories and remove automapper at role module
minhsangdotcom Apr 3, 2025
8849844
remove auto mapper at regions and role
minhsangdotcom Apr 3, 2025
20050c7
add missing repository method
minhsangdotcom Apr 4, 2025
b9e64fd
refactor repository
minhsangdotcom Apr 4, 2025
598c051
get rid of automapper the rest module
minhsangdotcom Apr 5, 2025
3800010
refactor
minhsangdotcom Apr 5, 2025
dc8de4f
modify mail service
minhsangdotcom Apr 6, 2025
4f76b38
remove unnecessary code
minhsangdotcom Apr 6, 2025
e21c1f7
modify elasticsearch service stuffs
minhsangdotcom Apr 6, 2025
a2d26f2
fixing missing error
minhsangdotcom Apr 6, 2025
d62f198
change name of repository at unitof work
minhsangdotcom Apr 7, 2025
e9d9b48
remove redundant code
minhsangdotcom Apr 7, 2025
54540f9
refactor ProcessImagePathBehavior
minhsangdotcom Apr 7, 2025
6d989fb
refactor names of identity
minhsangdotcom Apr 7, 2025
1da4377
refactor name repositories
minhsangdotcom Apr 7, 2025
40a4068
refactor region response
minhsangdotcom Apr 7, 2025
c282f45
modify the repository name at unit of work
minhsangdotcom Apr 7, 2025
b92319a
migrate from custome error to problemdetail
minhsangdotcom Apr 9, 2025
eb2bb14
add error types
minhsangdotcom Apr 9, 2025
5646bcc
migrate throw ex to result for mediar
minhsangdotcom Apr 10, 2025
328e7c4
remove redundant code
minhsangdotcom Apr 10, 2025
b9d0509
refactor tests
minhsangdotcom Apr 10, 2025
c8dccd9
refactor validate query
minhsangdotcom Apr 10, 2025
d3fecb4
remove redundant orderby
minhsangdotcom Apr 10, 2025
fb5de7c
delete all old reset password token before release new one.
minhsangdotcom Apr 10, 2025
9bf4fb1
comments
minhsangdotcom Apr 10, 2025
266292d
remove automatic register service
minhsangdotcom Apr 11, 2025
ce18cd3
adjust match method in Result
minhsangdotcom Apr 11, 2025
3e1670c
add minimal api setup
minhsangdotcom Apr 13, 2025
f88a0a0
add validation endpoint
minhsangdotcom Apr 13, 2025
9960ea4
add versioning api
minhsangdotcom Apr 13, 2025
2d916b0
migrate audilog,permission,regions,role controller to minimal api
minhsangdotcom Apr 13, 2025
c154e7d
migrate the rest
minhsangdotcom Apr 13, 2025
e3a0b6f
update document openapi
minhsangdotcom Apr 13, 2025
c7a3435
refactor names
minhsangdotcom Apr 13, 2025
44f3249
modify region property names and update new data
minhsangdotcom Apr 13, 2025
fefeab2
remove redundant code
minhsangdotcom Apr 13, 2025
be417a3
migrate identity error to problem detail
minhsangdotcom Apr 13, 2025
4db2303
refactor structures and property names
minhsangdotcom Apr 14, 2025
b109ae4
fixing duplicated key when initalize permissions
minhsangdotcom Apr 14, 2025
9802dc3
add check relative permissions
minhsangdotcom Apr 14, 2025
0d70c99
refactor program
minhsangdotcom Apr 14, 2025
d7c1a92
add swaggerrouterefix at appsetting
minhsangdotcom Apr 15, 2025
5a23b3e
adjust relation permissions
minhsangdotcom Apr 15, 2025
792c1d4
remove address response property
minhsangdotcom Apr 15, 2025
723f9dc
modify code when change address properties
minhsangdotcom Apr 15, 2025
eca619a
fixing error unitofwork
minhsangdotcom Apr 15, 2025
30af515
modify address input at user logic
minhsangdotcom Apr 15, 2025
f391eed
update validate filter
minhsangdotcom Apr 15, 2025
4f5845d
add refresh token endpoint
minhsangdotcom Apr 16, 2025
bb247a7
modify appsettings
minhsangdotcom Apr 16, 2025
72cb569
update messages
minhsangdotcom Apr 16, 2025
cca272d
add custom authorization
minhsangdotcom Apr 16, 2025
12a2da8
Add Permisson for minimal apis
minhsangdotcom Apr 16, 2025
98842c2
fixing error create update user
minhsangdotcom Apr 16, 2025
9d6fd21
modify cache nuget package
minhsangdotcom Apr 16, 2025
6fc4982
update docker
minhsangdotcom Apr 16, 2025
e1c5979
Merge branch 'feature/RefactorTesting' into feature/PeformanceOptimizing
minhsangdotcom Apr 17, 2025
3c71c9e
fixing error
minhsangdotcom Apr 17, 2025
46d0bb6
add package lock
minhsangdotcom Apr 17, 2025
090bd74
modify fluent validation test
minhsangdotcom Apr 20, 2025
aab4af9
add region not found cases
minhsangdotcom Apr 20, 2025
3a31ed4
fixing testing
minhsangdotcom Apr 20, 2025
2e4a47b
migrate from fluent assertion to shouldly
minhsangdotcom Apr 20, 2025
b730f6c
add update profile test
minhsangdotcom Apr 21, 2025
9e5eec7
add get detail role test
minhsangdotcom Apr 21, 2025
4112faf
add list role test
minhsangdotcom Apr 21, 2025
85182d5
add get detail user test
minhsangdotcom Apr 21, 2025
5fbcac5
add get user profile test
minhsangdotcom Apr 21, 2025
9c07436
add change password user test
minhsangdotcom Apr 21, 2025
7549a7e
remove deadletter queue in queue
minhsangdotcom Apr 21, 2025
c7c7375
modify cache key
minhsangdotcom Apr 21, 2025
a40c97c
set env docker in production
minhsangdotcom Apr 21, 2025
6cb3e30
refactor dockerfile
minhsangdotcom Apr 21, 2025
6dc0bad
comment unused code
minhsangdotcom Apr 21, 2025
067b269
add comment queue
minhsangdotcom Apr 22, 2025
5c4b53f
update readme
minhsangdotcom Apr 22, 2025
d7e97ea
update readme
minhsangdotcom Apr 23, 2025
130f8da
Update README files to enhance clarity and add new NuGet version badg…
minhsangdotcom Apr 23, 2025
2e40963
Update .gitignore to include .vscode directory for better project con…
minhsangdotcom Apr 23, 2025
7d11a24
Refactor GetRolePermissionClaimsAsync to return KeyValuePair<string, …
minhsangdotcom Apr 23, 2025
fb1e35d
remove cache
minhsangdotcom Apr 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 15 additions & 7 deletions .github/workflows/github-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ on:
branches:
- main

env:
DOTNET_INSTALL_DIR: "./.dotnet"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
#env:
#DOTNET_INSTALL_DIR: "./.dotnet"
#NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

jobs:
build-and-deploy:
Expand All @@ -27,9 +27,17 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.406"
cache: true
cache-dependency-path: "**/packages.lock.json"
dotnet-version: "8.0.408"
#cache: true
#cache-dependency-path: "src/**/packages.lock.json"
- name: Cache NuGet packages
id: cache-nuget
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('src/**/packages.lock.json','tests/**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Install dependencies
run: dotnet restore --locked-mode
- name: Build
Expand All @@ -40,7 +48,7 @@ jobs:
run: dotnet publish -c Release -o app/publish
- uses: actions/upload-artifact@v4
with:
name: my-artifact
name: dotnet-app
path: |
app/publish
app/output/test-results
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# dotenv files
.env

.vscode/
# User-specific files
*.rsuser
*.suo
Expand Down
36 changes: 0 additions & 36 deletions .vscode/launch.json

This file was deleted.

41 changes: 0 additions & 41 deletions .vscode/tasks.json

This file was deleted.

8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
# Use the official .NET runtime image as a base for production
FROM mcr.microsoft.com/dotnet/aspnet:8.0.12 AS base
WORKDIR /app
EXPOSE 8080

# Copy the published application from the workflow
FROM base AS final
FROM mcr.microsoft.com/dotnet/aspnet:8.0.15
WORKDIR /app
COPY app/publish .
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
Expand Down
Loading
Loading