Skip to content

mircea27c/IasiRealEstate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iasi Real Estate


This project aims to track the average apartment prices in Iasi per neighbourhood.

Stack

  • front-end: React
  • back-end: Node
  • db: Postgres

Installation


Prerequisites

  • Node.js (version 14.x or later)
  • npm (comes with Node.js)
  • PostgreSQL (version 12 or later)

Clone the Repository

git clone https://github.com/username/project-name.git
cd IasiRealEstate

Backend Setup

  • Install the dependencies:

cd backend && npm install
  • Configure Environment Variables:

Create a .env file in the backend directory and copy the fields in the template (back-end/envtemplate) file:

cp envtemplate .env
  • Here you should fill in all the fields with:

    • the URL to your backend
    • your express server PORT and HOST (typically localhost:5000)
    • your database connection URL
    • the SMTP (emailing service) data
    • the owner email (which will be alerted of good deals every 2 days)
  • Set up the database:

    • create your Postgres database
    • run the create-tables.sql queries
  • Build and run the backend server:

npm run build && npm start  # or npm run debug for development mode with auto-reload

Frontend Setup

cd frontend && npm install
  • Configure Environment Variables:

Create a .env file in the backend directory and copy the fields in the template (back-end/envtemplate) file:

cp envtemplate .env

In .env you should fill in the URL of your backend server

  • Start the Frontend Server:

npm start

About

Iasi Real Estate Tracker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published