Mass replace irelax with homaroma across project

This commit is contained in:
Your Name committed 2026-06-03 11:01:01 +07:00
1 parent 5e6cb851de
commit d9c79aa900
57 files changed
+117 -117

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "backend",
"version": "1.0.0",
"description": "iRelax API — Elysia.js + Prisma 7",
"description": "HomAroma API — Elysia.js + Prisma 7",
"module": "src/index.ts",
"type": "module",
"scripts": {
+1 -1
View File
@@ -118,7 +118,7 @@ model StoreSettings {
id Int @id @default(1)
shippingFee Float @default(35)
bankName String @default("KASIKORNBANK (KBANK)")
bankAccountName String @default("iRelax Aroma Co., Ltd.")
bankAccountName String @default("HomAroma Co., Ltd.")
bankAccountNumber String @default("012-3-45678-9")
updatedAt DateTime @updatedAt
}
+2 -2
View File
@@ -86,7 +86,7 @@ async function main() {
}
// 0. Seed Admin User
const adminPassword = await bcrypt.hash('irelax123', 10);
const adminPassword = await bcrypt.hash('homaroma123', 10);
await prisma.user.upsert({
where: { username: 'admin' },
update: { password: adminPassword },
@@ -96,7 +96,7 @@ async function main() {
role: 'ADMIN'
}
});
process.stdout.write('✅ Seeded Admin User (admin / irelax123).\n');
process.stdout.write('✅ Seeded Admin User (admin / homaroma123).\n');
// 1. Seed Scents & Categories
const scents = [];
+1 -1
View File
@@ -7,7 +7,7 @@ export const authRoute = new Elysia({ prefix: "/auth" })
.use(
jwt({
name: "jwt",
secret: process.env.JWT_SECRET || "irelax_secret_2026_scent",
secret: process.env.JWT_SECRET || "homaroma_secret_2026_scent",
exp: "24h",
})
)