poc-vite-crud Logo

poc-vite-crud

Full-stack Comps Manager — Vite + React frontend, Node.js + Express API, PostgreSQL

Live Demo: A probe version is published at https://mrodriguex.github.io/poc-vite-crud/publish

About

poc-vite-crud is a production-quality proof-of-concept web application for managing Comps (comparable real estate sales) records. It demonstrates a clean full-stack setup with a React SPA frontend, a RESTful Express API, and a PostgreSQL database — built with simplicity, correctness, and developer experience in mind.

Features

Tech Stack

Frontend

React 18, Vite 5, plain CSS

Backend

Node.js 18+, Express 4, express-rate-limit, pg (node-postgres)

Database

PostgreSQL 14+

Tooling

npm, nodemon, dotenv, Vite proxy

Usage

Database

Backend

Frontend

Environment Variables

API Reference

Base URL: http://localhost:3001

  • List comps: GET /comps — supports filters, sort, and pagination
  • Create comp: POST /comps
  • Update comp: PUT /comps/:id
  • Delete comp: DELETE /comps/:id
  • Health check: GET /health

GET /comps query parameters:

  • address, city, county, state, zipCode — partial ILIKE match
  • saleDateFrom / saleDateTo — date range (YYYY-MM-DD)
  • salePriceMin / salePriceMax — price range
  • sortBy — column name; sortDirasc | desc
  • page — page number (default: 1); limit — items per page (default: 5, pass 0 for all)

Response: { "data": [...], "total": N }

Contact

Maintainer: Manuel Rodríguez Camacho

GitHub | LinkedIn