Skip to content

myshkin42/rentsafe

Repository files navigation

RentSafe

RentSafe is an Ireland-focused rental listing verification tool. The current prototype provides:

  • a FastAPI backend with live verification checkers and a rule-based orchestrator
  • a Next.js frontend with a listing submission flow
  • a scope coverage signal that explains which checks applied to the submitted listing type
  • a student rent floor signal for verified per-bed Limerick SSA price checks

Project Structure

  • backend: FastAPI API, live checkers, tests
  • frontend: Next.js UI and typed API client
  • docs/architecture.md: sprint architecture notes
  • rentsafe_project_instructions.md: full product brief

Local Run

Backend

cd C:\Projects\rentsafe\backend
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -e .[dev]
uvicorn app.main:app --reload

The API will run at http://localhost:8000.

Frontend

cd C:\Projects\rentsafe\frontend
npm install
npm run dev

The UI will run at http://localhost:3000.

Verification Commands

Backend tests

cd C:\Projects\rentsafe\backend
.\.venv\Scripts\python -m pytest

Current backend baseline: 181 passing tests.

Frontend lint

cd C:\Projects\rentsafe\frontend
npm run lint

Frontend tests

cd C:\Projects\rentsafe\frontend
npm run test

Current Scope

The current prototype has live modules for listing parsing, schema-based type classification, PSRA matching, CSO rent comparison, student rent floor comparison for Limerick SSA listings, SSA registration-number verification, RTB tenancy-register checking, rules-based text analysis, and local perceptual-hash image checking. Each checker returns both a risk signal and an applicability value, and reports include a scope_coverage block explaining which checks applied, partially applied, or did not apply to the detected listing type. The current image flow is free/local-first and can be upgraded later to a web-wide service like TinEye.

About

RentSafe is an Ireland-focused rental listing verification tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors