node.js workshop based on real estate
Table of Contents generated with DocToc
- Intro
- Workshop in 1 sentence
- How to do that?
- Stack
- Just tell me what to do
- Steps to do
- Don't forget
- Licence
La loi Carrez is a French law which obliges the vendor of a property lot to mention the surface area.
La loi Carrez is a good way to verify if a real estate classified ad is a good deal: you can check the price by square meter.
You could use the free website meilleursagents.com to know the average price by town (estimation)
In France, leboncoin.fr is the website leader of classified ad: minimalist UX and UI without registry.
Determine if the price of a real estate on leboncoin.fr classified ad is a good deal
By creating a link between leboncoin.fr, meilleursagents.com and the end-user.
node.js + NPM + Material Design (mdl, bootstrap...) + Vanilla JS
- Fork the project https://github.com/92bondstreet/carrez via
github
- Clone the project
git clone https://github.com/YOUR_USERNAME/carrez
- Follow the steps as breadcrumb.
- Don't forget to commit and push
What are the given properties for a real estate ad: town, area, type... ?
For example: https://www.leboncoin.fr/ventes_immobilieres/1076257949.htm?ca=12_s
Define the JSON schema for a real estate leboncoin.fr classified ad.
Example of JSON Schema: Basic example
What are the properties we need to provide to meilleursagents.com to compute an estimation ?
Define the JSON schema to compute the square meter estimation for a real estate ad.
Exemple of estimation: https://www.meilleursagents.com/prix-immobilier/#estimates
How to create a connexion between the leboncoin ad and lacentrale?
Write a User Flow
Create a module called leboncoin
From the ad url, scrap the webpage and return the real estate properties in JSON format.
Create a module called meilleursagents
.
From a real estate ad JSON object, determine:
- price for the square meter
- if it's a good deal
Build the node server.
Build the Node server with Express.
Let's go for the Web App !!
From a leboncoin real estate ad url, compute the price by square meter and give a feedback to the user about the deal (good or not).
Focus on codebase and UX/UI