Skip to content

Home360 is an online real estate application. It allow users to rent both private and commercially available houses and apartment.

License

Notifications You must be signed in to change notification settings

Hoxtygen/home360-server

Repository files navigation

Home360

Home360 is an online real estate web application. It allows users to rent both private and commercially available houses and apartment.

Built with

Features

  • User registration
  • User login with JWT authentication
  • Password reset
  • Refresh token
  • Password change
  • Account verification
  • Listing creation
  • Listing deletion
  • Search listings
  • Fetch listings
  • Make listing enquiry
  • Mark listing enquiry as read
  • Fetch listing enquiries
  • In-app messaging
  • Rate limiting

Getting Started

To get started with this project you'd need to have the following installed on your local computer:

  • JDK 17+
  • Maven 3+
  • PostgreSQL
  • MongoDB
  • Docker (optional if you only want to run it locally)

To build and run the project follow the steps below

  • Clone the repository https://github.com/Hoxtygen/home360-server.git
  • Open a terminal and navigate to the project directory: cd home360
  • Add home360_dev to your local Postgres database
  • Add home360dev to your local MongoDB database
  • Create a .env file and add the following
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DATABASE=home360_dev
POSTGRES_LOCAL_PORT=
POSTGRES_DOCKER_PORT=

MONGODB_USER=
MONGODB_PASSWORD=
MONGODB_DATABASE=home360dev
MONGODB_LOCAL_PORT=27017
MONGODB_DOCKER_PORT=27017

SPRING_LOCAL_PORT=8080
SPRING_DOCKER_PORT=8080
  • Create a application-dev.yml file and add to the resources' directory. Check the application-sample-dev.yml for content to fill it up with.

There are 2 ways to run the app

  1. Using the docker compose file
  • docker-compose up --build
  • This will start the app on port 8000
  1. Running a local version of the Spring boot app
  • Build the project : mvn clean install
  • Run the project: mvn spring-boot:run

Documentation

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Author

About

Home360 is an online real estate application. It allow users to rent both private and commercially available houses and apartment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published