dab5b62fb7
Added translation to all site with edit style
Build frontend / build (push) Successful in 1m40s
2026-07-01 15:43:58 +03:00
409cb41dd6
Edit style
2026-06-30 17:17:00 +03:00
03b39317c9
Sticky top bar
Build frontend / build (push) Successful in 53s
2026-06-29 01:07:50 +03:00
253e1b7542
Edit style navbar, bottom nav
Build frontend / build (push) Successful in 47s
2026-06-28 16:57:02 +03:00
61e527fab3
removing console.log
Build frontend / build (push) Successful in 54s
2026-06-17 06:46:57 -07:00
46cbce1d88
Added API to map with markers in main page
Build frontend / build (push) Successful in 53s
2026-05-02 17:20:35 +03:00
16b1c7c6f6
Edit home
2026-04-13 00:25:29 +03:00
98c3f51df2
fix: switch API base URL to HTTPS (nip.io)
Build frontend / build (push) Successful in 42s
2026-03-31 22:48:50 +00:00
0171c7a2bf
fix: prepend /Pictures/ to image paths for nginx static serving
Build frontend / build (push) Successful in 40s
2026-03-30 18:52:08 +00:00
722d69cc92
Fix image URLs: handle paths with or without leading slash
...
Build frontend / build (push) Successful in 39s
Some API paths have / (e.g. /Pictures/abc.jpg) and some don't (e.g. scaled_photo.jpg).
Now always inserts / between API base and path.
2026-03-30 01:35:20 +00:00
39193337b3
Display property images from API using full URLs
...
Build frontend / build (push) Successful in 1m3s
- All mappers extract images from propertyInformation.images
- Paths prefixed with API base URL (http://45.93.137.91/api )
- Falls back to placeholder if no images
- Updated: main page, properties listing, property detail, owner properties
2026-03-30 01:01:42 +00:00
253bb875ab
Fix post-login: re-read user role on every route change
...
Build frontend / build (push) Successful in 55s
- ClientLayout: separated user loading into useEffect with pathname dependency
- Homepage: same fix - re-read user from JWT on route change
- Fixes issue where navbar/dashboard links didn't appear until page reload
2026-03-29 12:22:16 +00:00
da0c36727f
Remove all fallback dummy data - API-only
...
Build frontend / build (push) Successful in 38s
- Removed FALLBACK_PROPERTIES from main page, properties listing, and property detail
- Pages now start empty and populate only from API responses
- Show empty state / error on API failure instead of dummy data
2026-03-28 17:48:00 +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
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
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
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
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
2ea48df8a8
Added calendar, profits and booking for owner
2026-03-20 13:20:30 +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
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