Skip to content

codingkiddo/real-estate-spring-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real Estate API (Spring Boot 3.3, Java 21)

JWT-based API for the React Native app. Ships with H2 + seed data.

Run

./mvnw spring-boot:run
# or: mvn spring-boot:run

Swagger UI: http://localhost:8080/swagger-ui.html

Auth (demo)

  • Users:
  • POST /api/auth/login -> { accessToken, refreshToken, tokenType, expiresIn }

Listings

  • GET /api/listings?q=&city=&minPrice=&maxPrice=&beds=&page=&size=
  • GET /api/listings/{id}
  • GET /api/listings/near?lat=&lng=&radiusKm=

Appointments (secured)

  • POST /api/appointments (Bearer token required)

Notes

  • React Native .env:
USE_MOCKS=false
API_BASE_URL=http://localhost:8080
  • Android emulator base URL is http://10.0.2.2:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages