NZWalks
The application provides users with detailed descriptions of each track, including distance, location, and track difficulty, making it easier to plan hikes and outdoor activities.
Install / Use
/learn @hieumt24/NZWalksREADME
NZWalks
If you find this project useful, please give it a star. Thanks! ⭐
##Technology stack - Using ASP.NET CORE WEB API 8
Reposioty Pattern
- Design pattern to separete data access layer from the application
- Provides interface without exposing implementation
- Helps create abstraction
Benefit Repository Pattern
-Decoupling
-Consistency
-Performance
-Multiple data source(switching)
Automapper
- Object-to-object mapping
- Simplification
- Map between DTOs and Domain Models and Vice-versa
- Quite powerful apart from just simple object-to-object mapping
Navigation Properties
- Allow to Navigate From one Entity To Another
- Walks Domain model will have Region Navigation Property
Authenticatin
- The process to determine a user's Identity
- Username and Password
- By using authenticatin, we check if we trust the user
Authorization
- User permission
- Roles, Policies, Claims
- Check if User has ReadOnly or ReadWrite Role
JWT token
- JWT or Json web token is an open standard the defines a compact and seft-contained way for securely transmitting information between parties as a Json object.
Install nuget package:
+ Microsoft.AspNetCore.Authentication.JwtBearer
+ Microsoft.IdentityModel.Tokens
+ System.IdentityModel.Tokens.Jwt
+ Microsoft.AspNetCore.Identity.EntityFrameworkCore
Image Upload
-Add migration : Add-Migration "Adding Images Table" -Context "NZWalksDbContext"
-Update database : Update-Database -Context "NZWalksDbContext"
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
