How dongkun8130/mohaengreact works
Mohaeng Admin is a React administration console for a travel-services platform. An administrator enters through the routed app, authenticates, and uses the protected dashboard to manage members, travel products and schedules, reservations, payments, and customer support; analytics and operational tools provide additional oversight. The sampled code shows authentication persistence and API-backed actions for accommodations, reviews, and schedules. Other listed modules are represented by their tree paths and routing, but their internal behavior and wiring were not inspected.
Main entry points: App.jsx Routes And Guards · api.js API Client · AuthContext.jsx Authentication · Accommodations.jsx Travel Products
Components 21
App Platform
- Routes And Guards
src/App.jsx - Authentication
src/contexts/AuthContext.jsx - Login
src/pages/auth/Login.jsx - Admin Layout
src/components/layout/Layout.jsx - API Client
src/api/api.js - Dashboard
src/pages/Dashboard.jsx
Member Management
- General Members
src/pages/members/GeneralMembers.jsx - Business Members
src/pages/members/BusinessMembers.jsx
Travel Operations
- Travel Products
src/pages/products/Accommodations.jsx - Schedules
src/pages/schedules/Schedules.jsx - Travel Content
src/pages/contents/Products.jsx - File Manager
src/pages/contents/FileManager.jsx
Commerce
- Reservations
src/pages/products/Reservations.jsx - Product Reviews
src/pages/contents/ProductReviews.jsx - Payments
src/pages/transactions/Payments.jsx - Settlements
src/pages/transactions/Settlements.jsx
Support And Insights
- Customer Support
src/pages/support/Inquiries.jsx - Notifications
src/pages/notifications/Notifications.jsx - Statistics
src/pages/statistics/ServiceStats.jsx
Other components
- Administrator
- Admin Backend
Connections 25
- Administrator → Routes And Guards: opens
- Routes And Guards → Authentication: provides auth
- Routes And Guards → Login: routes public
- Routes And Guards → Admin Layout: guards routes
- Routes And Guards → Dashboard: routes
- Routes And Guards → General Members: routes
- Routes And Guards → Business Members: routes
- Routes And Guards → Travel Products: routes
- Routes And Guards → Schedules: routes
- Routes And Guards → Travel Content: routes
- Routes And Guards → File Manager: routes
- Routes And Guards → Reservations: routes
- Routes And Guards → Product Reviews: routes
- Routes And Guards → Payments: routes
- Routes And Guards → Settlements: routes
- Routes And Guards → Customer Support: routes
- Routes And Guards → Notifications: routes
- Routes And Guards → Statistics: routes
- Administrator → Login: submits credentials
- Authentication → API Client: requests login
- Authentication → Admin Backend: authenticates
- Travel Products → API Client: loads and updates
- Schedules → API Client: deletes schedule
- Product Reviews → API Client: updates reviews
- API Client → Admin Backend: sends requests