insonl
← all work

Edoya Hotel

Edoya Hotel is a booking platform and website in English and Japanese. Guests browse rooms, travel guides and location reviews and send multi-room booking requests; staff manage hotels, rooms, prices, blocked dates and bookings from an admin panel and are notified by email.

Year
2025
Category
Web Platform Development
Stack
TypeScript
Edoya Hotel

About the project

Edoya needed its own booking channel for guests in English and Japanese, and a back office its staff could run without a developer. We built both on one Next.js codebase with a PostgreSQL database.

Key features

  1. Two languages throughout: every page, room description, guide and review is translated, with locale routing handled in middleware.
  2. Multi-room booking requests: guests can ask for several rooms at once. The server calculates the price, so the figure on the confirmation matches what staff see.
  3. Date-specific pricing: room prices can vary by date and are shown on the hotel page.
  4. Time zones handled deliberately: check-in and check-out dates are tied to the hotel’s time zone, so guests in other zones do not see dates shift by a day.
  5. Admin panel: staff manage hotels, room types, images, amenities, blocked dates, bookings and content, with sign-in through NextAuth.
  6. Email notifications: managers are emailed about new bookings and guests when a booking is confirmed, through Resend or SMTP. Contact requests notify staff and show both the guest’s time and the hotel’s time.
  7. Travel content: blog posts, travel guides and location reviews with galleries.

Where AI is used

The code does not use AI. This is a conventional booking and content system.

Technical aspects

  • Framework: Next.js App Router, React and TypeScript
  • Data: PostgreSQL with Prisma
  • Auth: NextAuth with role-based access for admins and managers
  • Quality: automated tests with Vitest; Docker setups for development and production

next case

Vu Duy Auto

Vu Duy Auto