0621f51676
Add WhatsApp and National Number fields to registration forms
...
Build frontend / build (push) Successful in 38s
- Tenant form: added WhatsApp number + National number inputs
- Owner form: added National number input (already had WhatsApp)
- Both forms send whatsAppNumber and nationalNumber in payload
- Added validation for required fields
2026-03-28 15:38:40 +00:00
d698305d79
Update registration to match new API schema
...
Build frontend / build (push) Successful in 37s
- FullName split into FirstName + LastName in both forms and API
- File fields renamed: FrontIdCarImage -> FrontIdCarImagePath, RearIdCarImage -> RearIdCarImagePath
- Added Language field to form data
- getRentProperty now uses /RentProperties/GetRentPropertyById/{id}
2026-03-28 15:29:06 +00:00
bb15a7934e
Redesign app download section: dropdown for Android + iOS coming soon
...
Build frontend / build (push) Successful in 46s
- Desktop: hover dropdown with Android APK download + iOS coming soon
- Mobile: download links in hamburger menu
2026-03-28 15:18:19 +00:00
2424da2d45
Fix registration 415: send multipart form data with ID images
...
Build frontend / build (push) Successful in 1m10s
- addCustomer/addOwner now use FormData with multipart upload
- Front and back ID images appended as FrontIdCarImage/RearIdCarImage
- Registration pages pass idImages.front and idImages.back to API
- Field names mapped to PascalCase for .NET API (FullName, Email, etc.)
2026-03-28 15:15:09 +00:00
c2235cf575
Fix build: syntax errors, duplicate useEffects, import paths
...
Build frontend / build (push) Successful in 1m26s
- Fixed broken useEffect syntax in 4 owner pages (bookings, calendar, profits, properties)
- Removed duplicate useEffect blocks
- Fixed ClientLayout import path for AuthService (../ -> ./)
2026-03-28 14:53:45 +00:00
6394f1d71a
Fix CustomerType and OwnerType enums: send int instead of string
...
Build frontend / build (push) Failing after 45s
- CustomerType: PERSONAL=0, FAMILY=1 (was 'Personal', 'Family')
- OwnerType: PERSON=0, REAL_ESTATE_AGENCY=1 (was 'peerson', 'RealEstateAgency')
- Backend Type column is int(11), sending strings caused 415 errors
2026-03-28 14:15:40 +00:00
9cddee841b
Add FullName field to owner and customer signup request payloads
Build frontend / build (push) Successful in 38s
2026-03-27 22:01:00 +00:00
3c21c1873e
Fix register pages: both have 2 steps with ID upload, OTP as modal overlay
Build frontend / build (push) Successful in 40s
2026-03-27 18:19:32 +00:00
eff0b41b78
Add enums, AuthService, and integrate backend registration endpoints
...
Build frontend / build (push) Successful in 57s
- Add separate enum files: BuildingType, PropertyStatus, BookingStatus, CommissionType, IdentityType, UserRole, City, LoginMethod, OwnerType, CustomerType
- Add AuthService (addToken/getToken/deleteToken)
- Update api.js: use AuthService, add Owner/Add and Customer/Add endpoints
- Update login page to use AuthService for token storage
- Rewrite owner register: 3-step flow with OwnerType dropdown, backend integration, OTP verification
- Rewrite tenant register: 2-step flow with CustomerType dropdown, backend integration, OTP verification
- Update homepage and property detail to use enums instead of hardcoded maps
- Update AddPropertyForm to import from enums directly
- Add console logs and status toasts linked to API response messages
2026-03-27 18:03:12 +00:00
2fb55db360
changed the appVersion
Build frontend / build (push) Successful in 1m6s
2026-03-27 00:06:13 +00:00
b613bde682
Implement login with email/phone + OTP verification flow
...
Build frontend / build (push) Successful in 40s
Login page:
- Email/phone tabs with auto-detect from input
- Calls LogInWithEmail or LogInWithPhoneNumber API
- On 206 (Partial Content): shows OTP step, sends OTP, then verifies
- On 200: stores JWT in localStorage, decodes user info
- OTP step with resend button and back navigation
- Console logs throughout all auth flows
API client:
- Added authFetch() for raw status code handling (200/206)
- Added loginWithEmail, loginWithPhone, sendEmailOTP, sendPhoneOTP,
verifyEmail, verifyPhone, isEmail, isPhoneNumber
- apiFetch now accepts 206 as non-error
2026-03-26 23:56:18 +00:00
211ac42ad9
Clean up API client - use nested propertyInformation directly
...
Build frontend / build (push) Successful in 42s
- Removed manual enrichment calls (Properties/Get fallback no longer needed)
- Removed unused hasNestedInfo variables
- API now returns propertyInformation nested in RentProperties/SaleProperties
2026-03-26 23:27:28 +00:00
fd3dcf4cc3
Update mappers for flat API response + enrich with property info
...
Build frontend / build (push) Successful in 38s
- api.js: getRentProperties/getSaleProperties now fetch PropertyInformation
for each property's propInfoId (when Properties/Get endpoint is fixed)
- Updated all 3 mapApiProperty functions to handle flat response format
(no nested propertyInformation) - uses defaults for missing fields
- Status/type mapping checks both flat and nested fields
2026-03-26 22:59:08 +00:00
bdcb98a047
Fix API endpoint paths to match controller routing
...
Build frontend / build (push) Successful in 43s
- Endpoints now use /Controller/Action format (e.g. /RentProperties/GetRentProperties)
- Unwrap API response envelope ({ data, isSuccess, ... } -> data)
- Use query params for single-property fetch (?id=N)
- Marked locations endpoint as unconfirmed (not yet deployed)
2026-03-26 22:46:57 +00:00
cfb9c0058b
Add API client and wire up live data fetching
...
Build frontend / build (push) Successful in 43s
- Created app/utils/api.js with functions for all OpenAPI endpoints
- Updated main page to fetch RentProperties + SaleProperties from API
- Updated properties listing page with API integration
- Updated property detail page to fetch by ID from API
- Added mapApiProperty() adapter to transform API responses to UI format
- All pages gracefully fall back to dummy data if API is unavailable
2026-03-26 22:20:33 +00:00
082f20da40
Merge branch 'main' of http://45.93.137.91:3000/Rahaf/SweetHome
Build frontend / build (push) Successful in 55s
2026-03-27 00:35:03 +03:00
157188d2e6
Edit Admin
2026-03-27 00:34:59 +03:00
ac1241583b
added a files folder and changed the href
Build frontend / build (push) Successful in 43s
2026-03-22 15:31:54 +03:00
552bbdd269
fixing the meta data layout
Build frontend / build (push) Successful in 39s
2026-03-21 17:45:13 +03:00
485e4c2630
added the android icon in a link with svg and style
Build frontend / build (push) Successful in 42s
2026-03-21 17:24:50 +03:00
45e46afe21
added the apk file
Build frontend / build (push) Successful in 44s
2026-03-21 15:44:08 +03:00
e961288b04
added the nav link on the client laylout for the apk app
Build frontend / build (push) Successful in 37s
2026-03-21 15:36:44 +03:00
f6c6119c18
Edit rtl
Build frontend / build (push) Successful in 32s
2026-03-20 14:17:59 +03:00
d86cb9e9a1
Delete translation
Build frontend / build (push) Successful in 30s
2026-03-20 13:33:15 +03:00
6aab85e99f
Merge branch 'main' of http://45.93.137.91:3000/Rahaf/SweetHome
Build frontend / build (push) Successful in 1m13s
2026-03-20 13:20:36 +03:00
2ea48df8a8
Added calendar, profits and booking for owner
2026-03-20 13:20:30 +03:00
7fe8903701
added the images
Build frontend / build (push) Successful in 46s
2026-03-19 22:48:23 +03:00
85252c9b76
removed basePath and assetPrefix
Build frontend / build (push) Successful in 34s
2026-03-19 21:49:27 +03:00
73163be0c3
added base path
Build frontend / build (push) Successful in 34s
2026-03-19 21:41:02 +03:00
a2139cf112
added base path
Build frontend / build (push) Failing after 1m40s
2026-03-19 21:35:59 +03:00
73b0b537ec
changed the port to 5900
Build frontend / build (push) Successful in 41s
2026-03-19 21:13:06 +03:00
9ea90a3f04
Ugh didn't know the project used next.js instead of react
Build frontend / build (push) Successful in 1m6s
2026-03-19 18:00:06 +00:00
45dcf54187
testing workflow
Build frontend / build (push) Failing after 58s
2026-03-19 00:05:17 +03:00
f56f417ca6
testing workflow
2026-03-19 00:04:01 +03:00
cfe30c881f
testing workflow
2026-03-19 00:03:28 +03:00
64a8df5efb
fixed the workflow
2026-03-18 23:59:07 +03:00
5574dd01db
Added workflow file
Build frontend / build (push) Failing after 16s
2026-03-18 20:21:02 +03:00
1c8e888ea3
Added Admin page, Login, forgot password, register and owner with profile
2026-03-17 20:36:59 +03:00
8c75c7c659
Added map for home
2026-03-07 07:34:31 +03:00
6d81ff56a8
Edit admin page
...
Edit home image
Added properties page
2026-02-15 01:53:37 +03:00
61c16f6cec
Edit name
2026-01-29 20:01:20 +03:00
1b39752c90
Initial commit: Deploy SweetHome project
2026-01-29 19:34:28 +03:00
98680267fc
Initial commit from Create Next App
2026-01-28 17:32:36 +03:00