Refactor auth-service to iam-service and update related configurations

- Renamed auth-service to iam-service across various files for consistency.
- Updated deployment workflows, database migration scripts, and documentation to reflect the service name change.
- Enhanced bilingual documentation for clarity on the new service structure and usage.
- Removed outdated references to auth-service in scripts and configuration files to streamline the project structure.
This commit is contained in:
Ho Ngoc Hai
2025-12-30 21:03:00 +07:00
parent b104fafa85
commit 019c79b898
23 changed files with 57 additions and 58 deletions

View File

@@ -6,7 +6,7 @@ SERVICE=$1
# VI: Kiểm tra cách sử dụng
if [ -z "$SERVICE" ]; then
echo "Usage: $0 <service-name> / Cách dùng: $0 <tên-service>"
echo "Example: $0 auth-service"
echo "Example: $0 iam-service"
echo ""
echo "Or use 'docker' to view Docker logs: / Hoặc dùng 'docker' để xem log Docker:"
echo " $0 docker <container-name>"

View File

@@ -92,12 +92,12 @@ echo " - Set DATABASE_URL from Neon Console"
echo " - Each service needs its own database"
echo ""
echo "3. Create databases in Neon:"
echo " - goodgo_auth_dev (for auth-service)"
echo " - goodgo_iam_dev (for iam-service)"
echo " - goodgo_user_dev (for user-service)"
echo " - etc."
echo ""
echo "4. Run migrations:"
echo " ./scripts/db/migrate.sh auth-service dev"
echo " ./scripts/db/migrate.sh iam-service dev"
echo ""
echo "5. Start development:"
echo " ./scripts/dev/start-all.sh"

View File

@@ -8,7 +8,7 @@ SERVICE=$1
# VI: Xác thực tham số
if [ -z "$SERVICE" ]; then
echo "Usage: $0 <service-name>"
echo "Example: $0 auth-service"
echo "Example: $0 iam-service"
exit 1
fi