GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - AthosExarchou/dynamic-rent-adjustment-system: A Dynamic Rent Adjustment System with automated rent forecasting using ARIMA time-series analysis. Includes authentication, listing management, owner workflows, price approvals, and a scheduled forecasting engine. Built as part of an academic thesis.

BranchesTags
Open more actions menu

Latest commit

 

History

394 Commits
394 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
analytics
analytics
 
 
backend
backend
 
 
docker
docker
 
 
docs
docs
 
 
frontend
frontend
 
 
infrastructure
infrastructure
 
 
scripts
scripts
 
 
.env.example
.env.example
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
IMAGE_CREDITS.md
IMAGE_CREDITS.md
 
 
Jenkinsfile
Jenkinsfile
 
 
Jenkinsfile.analytics
Jenkinsfile.analytics
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.prod.yml
docker-compose.prod.yml
 
 
docker-compose.yml
docker-compose.yml
 
 

Repository files navigation

Dynamic Rent Adjustment System (DRAS)

The Dynamic Rent Adjustment System (DRAS) is a web application for real estate property management, connecting owners with tenants, and processing rental applications.

Academic Project: This project is being developed as an undergraduate thesis in the Department of Informatics and Telecommunications at Harokopio University of Athens. It follows a layered backend architecture, feature-based frontend architecture, RESTful APIs, and role-based access control.

Contents

  • Overview
  • Academic Context
  • System Architecture
  • Core Features
  • Role Management
  • Project Structure
  • Requirements
  • Installation
  • Configuration
  • Usage Guide
  • CI/CD & Production Deployment
  • Author
  • License

Overview

DRAS is a full-stack rental management platform developed as an undergraduate thesis project. It manages rental properties, tenant applications, and administrative workflows.

Academic Context

The Dynamic Rent Adjustment System (DRAS) is the implementation component of an undergraduate diploma thesis.

The objective of the project is to design and develop a rental management platform that demonstrates the application of software engineering principles, including:

  • Layered backend architecture
  • RESTful API design
  • Role-based access control (RBAC)
  • Feature-based React architecture
  • Relational database design
  • Authentication and authorization
  • External data integration

The project is an academic research contribution and a demonstration of building a full-stack web application.

System Architecture

The project consists of three distinct components communicating over HTTP via a RESTful API:

  1. Backend (Spring Boot API): Java REST API handling data persistence, authentication, role-based authorization, and business logic.
  2. Frontend (React SPA): Single Page Application built with Vite and React.
  3. Analytics & Scraper (Python): Python-based data collection and analytics engine for retrieving and analyzing market trends.

Core Features

  • Listing Management: Owners can create, update, and track real estate properties with metrics (price per m², property type, amenities).
  • Application Workflow: Tenants can apply for properties, and owners can review these applications.
  • Dynamic Roles: Automatic role assignment (Owner, Tenant) based on user activity and profile creation.
  • Admin Oversight: Administrative workflows for user management and manual listing approvals.
  • Frontend UI: User interface compatible with desktop, tablet, and mobile devices.
  • Analytics & Imports: Automated batch importing of external listings and market data analysis.

Role Management

Role Description
USER Assigned by default upon account registration.
OWNER Assigned automatically when a user creates an owner profile to list a property.
TENANT Assigned automatically when a user creates a tenant profile to apply for a rental.
ADMIN Platform governance and oversight; manages user accounts and roles, and reviews listing approvals (restricted from marketplace participation).

Project Structure

/
├── backend/                  # Spring Boot REST API Service
│   ├── src/main/java/        # Java source code and domain logic
│   └── src/main/resources/   # Application properties and configurations
│
├── frontend/                 # React Single Page Application
│   ├── src/features/         # Domain-driven feature modules (Auth, Listings, etc.)
│   ├── src/shared/           # Centralized API client, shared hooks, and UI components
│   └── src/app/              # Global routing and context providers
│
└── analytics/                # Python Data Analytics & Scraper
    ├── analysis/             # Market data analysis scripts
    ├── models/               # Time series forecasting and price suggestion models
    └── scrapers/             # Web scrapers for external listings

Requirements

To run this application, ensure you have the following installed:

  • Java: JDK 21+
  • Node.js: v18+
  • Python: 3.12+ (for analytics)
  • Maven: 3.8+
  • Database: PostgreSQL (or any relational DB for development)
  • Docker: Optional, for containerized local development

Installation

  1. Clone the repository and configure .env:
    git clone https://github.com/AthosExarchou/dynamic-rent-adjustment-system.git
    cd dynamic-rent-adjustment-system
    cp .env.example .env
  2. Start PostgreSQL (e.g. docker compose up -d db).
  3. For the Backend:
    cd backend
    mvn clean install
    mvn spring-boot:run
  4. For the Frontend:
    cd frontend
    npm install
    npm run dev
  5. Access the application in your browser at http://localhost:5173.
  6. For the Analytics module, see the analytics folder for Python environment setup instructions.
  7. (Optional) Seed demo data and test accounts:
    node scripts/seed-db.js
    # or from frontend: npm run seed
    Accounts created: [email protected], [email protected], [email protected], [email protected] (password: <username>Password1!).

Configuration

Environment Variables (.env)

The project utilizes .env files for configuration. Copy the example file in the root directory:

cp .env.example .env

Fill in DATABASE_URL, DATABASE_USERNAME, DATABASE_PASSWORD, APP_PUBLIC_URL, and MAIL_* credentials. Set APP_PUBLIC_URL according to your deployment target.

Set SCRAPER_API_KEY to a strong random value and export the same value when running the analytics scrapers; it authenticates machine-to-machine pushes to /api/external-import/listings.

Backend (backend/src/main/resources/application.yml)

The backend is configured to use environment variables by default. You can adjust application profiles (dev, prod) here.

Frontend (frontend/.env.local)

Configure the backend API URL:

VITE_API_BASE_URL=http://localhost:8080/api

Usage Guide

For Tenants

  1. Create an account and log in.
  2. Visit the Listings page to view available apartments.
  3. Click Apply on a listing and complete your Tenant Profile to submit the application.

For Owners

  1. Log in to your account.
  2. Navigate to Listings and click Submit Property.
  3. Fill out the property details and your Owner Profile.
  4. Once the listing is approved by an Admin, manage incoming tenant applications from your dashboard.

For Admins

  1. Log in with an Admin account.
  2. Review and approve pending property listings.
  3. Manage users and assign or revoke roles as necessary.

Production & CI/CD

The application is hosted on an Oracle Cloud ARM64 VM using Docker Compose. It uses Nginx to serve the React frontend and proxy requests to the Spring Boot backend. The PostgreSQL database is not exposed to the public internet.

The deployment pipeline consists of:

  • GitHub Actions: Runs backend unit tests, frontend oxlint checks, and build verification on push.
  • Jenkins: Runs on the Oracle server. When the main branch is updated, Jenkins builds new Docker images, restarts the application containers, and executes a smoke test to verify application availability before marking deployment complete.

Author

  • Name: Exarchou Athos
  • Student ID: it2022134
  • Email: [email protected] | [email protected]

License

This project is licensed under the MIT License.

About

A Dynamic Rent Adjustment System with automated rent forecasting using ARIMA time-series analysis. Includes authentication, listing management, owner workflows, price approvals, and a scheduled forecasting engine. Built as part of an academic thesis.

Topics

arimabackendcsv-exportforecastingfrontendjavajenkinsmit-licensepostgresql-databasepython-scriptreactreal-estatespring-bootthesistime-seriesuml-diagramsweb-scraping-python

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.