{"id":22025331,"url":"https://github.com/jeffbla/renthousewebsite","last_synced_at":"2026-04-08T23:32:09.769Z","repository":{"id":157141045,"uuid":"622059732","full_name":"JeffBla/RentHouseWebsite","owner":"JeffBla","description":"This project is a House Search Engine that uses crawlers to gather data from various renting websites. To simplify the user experience, it also integrates open data from the 政府資訊平台, providing information on house locations and nearby hospitals.","archived":false,"fork":false,"pushed_at":"2024-08-31T02:54:53.000Z","size":493,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T11:11:20.266Z","etag":null,"topics":["css","docker","docker-compose","ejs","expressjs","javascript","mvc","nodejs","postgres"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JeffBla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-01T02:23:19.000Z","updated_at":"2024-08-31T02:54:47.000Z","dependencies_parsed_at":"2024-06-27T08:48:15.241Z","dependency_job_id":"c397bfc4-5191-44ef-b039-b6ce8cc73638","html_url":"https://github.com/JeffBla/RentHouseWebsite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JeffBla/RentHouseWebsite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffBla%2FRentHouseWebsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffBla%2FRentHouseWebsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffBla%2FRentHouseWebsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffBla%2FRentHouseWebsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeffBla","download_url":"https://codeload.github.com/JeffBla/RentHouseWebsite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffBla%2FRentHouseWebsite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31579005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","docker","docker-compose","ejs","expressjs","javascript","mvc","nodejs","postgres"],"created_at":"2024-11-30T07:15:54.488Z","updated_at":"2026-04-08T23:32:09.751Z","avatar_url":"https://github.com/JeffBla.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rent House Website\n\n![Home page cover](./static/picture/Home-page-cover.png)\n\nFork from [Rancher Docker Node](https://github.com/dmportella/rancher-docker-node)\n\nExpress JS app build to run on composed docker.\n\nWe intend to build a House Search Engine that populates the db with cards from various Renting Websites using crawlers. Also, to free users from pages and pages of information, we will also integrate open data from [政府資訊平台](https://data.gov.tw/), providing details on house locations and hospitals nearby.\n\n## Demo\n\n[Concept demo video](https://youtu.be/dobxdnOS8gs?si=56i0eXYGHdeD-9vP)\n\n[Final result video](https://youtu.be/hZpxtyWgGsA?si=ipTBttBA7Pldr9th)\n\n## FrontEnd\n\n- EJS\n- Javascript\n- css\n\n## BackEnd\n\n- Espress js site with MVC and db.\n- postgres [graph](https://dbdiagram.io/d/6445f36e6b31947051111b06)\n\n### Normal route\n\nWebsite should be available on port `8080` when in docker if you are running the site individually it will be served on port `3000`.\n\n### Data flow\n\n#### Home page\n\n```\nPOST /submit\n{\n    'page_num' : 目前頁碼,\n    'order_by' : 排序選項,\n    'limit' : 筆數,\n    'address' : [地區],\n    'house_type' : [房屋型態],\n    'price_permonth' : [min, max],\n    'published_by' : [刊登身份],\n    'building_type' : [建物型態],\n    'area' : [坪數],\n    'floor' : [樓層],\n    'facilities' : [設備],\n    'features' : [特色],\n    'layout' : [格局],\n    'min_rent_period' : [最短租期],\n    'gender_requirement' : [性別條件],\n}\n```\n\n#### User Favorite\n\n```\nPOST /user/favorite\n {\n    houses : {\n      id, title, url, img_url, price_permonth, coming_from, like（如果沒登入就是0）\n    },\n    like_cnt, //總共幾個like\n    item_cnt, //條件下共幾個item\n  }\n```\n\n### routes\n\n- Home: `/`\n  - Search House Info: `/submit`\n  - Mock house page for testing \u0026 adjustment: `/test-house-page`\n- User Page: `/user`\n  - User's Favorite: `/favorite`\n  - Register: `/register`\n  - Signin: `signin`\n  - Signout: `signout`\n  - Flash card showing fail or success: `/flashtest`\n- Like Button: `/like`\n  - Check: `/check`\n  - Uncheck: `/uncheck`\n\n## Building\n\nThe shell file `build.sh` will run npm install, install and run grunt and it will build and run the docker image.\n\n\u003e $ `./build.sh`\n\nBuilds docker image and tags it.\n\n- It is important to take care the image version. You can append behind the `./build.sh`\n- e.g. `./build.sh 0.0.1`\n\n\u003e $ `./build-image.sh`\n\n- Installs npm and grunt\n\n\u003e $ `./setup.sh`\n\n- Then use docker-compose.yml to Run the docker set(Backend with EJS \u0026\u0026 DataBase).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffbla%2Frenthousewebsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffbla%2Frenthousewebsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffbla%2Frenthousewebsite/lists"}