{"id":18331201,"url":"https://github.com/bankole2000/django-realestate","last_synced_at":"2025-04-09T18:13:27.105Z","repository":{"id":109352245,"uuid":"223794025","full_name":"Bankole2000/django-realestate","owner":"Bankole2000","description":"🐍Python-Django Dev to Deployment Course project","archived":false,"fork":false,"pushed_at":"2019-12-28T20:45:52.000Z","size":14630,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T18:13:17.404Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bankole2000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-11-24T18:55:46.000Z","updated_at":"2020-01-13T04:54:50.000Z","dependencies_parsed_at":"2023-07-27T05:01:24.760Z","dependency_job_id":null,"html_url":"https://github.com/Bankole2000/django-realestate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fdjango-realestate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fdjango-realestate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fdjango-realestate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fdjango-realestate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bankole2000","download_url":"https://codeload.github.com/Bankole2000/django-realestate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248085327,"owners_count":21045139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-05T19:28:40.125Z","updated_at":"2025-04-09T18:13:27.067Z","avatar_url":"https://github.com/Bankole2000.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐍Python Django Real Estate website\n\nA real estate listings website built with `python` `django` `bootstrap` and deployed with `Digital Ocean`.\n\n[![Project](https://img.shields.io/badge/Project-Python-green.svg)](https://bankole2000.github.io/githubfinder)\n\n_\u003cp align=\"center\"\u003e\"Snakes on guitars... The new beat of the web\"\u003c/p\u003e_\n\n\u003cdiv align=\"center\" style=\"text-align:center; margin:auto;\"\u003e\n\u003cimg align=\"center\" src=\"https://i.imgur.com/AD74eQP.gif\" width=\"150\"/\u003e\n\u003c/div\u003e\n\nA learning oriented web project ... (Kept thinking to myself _\"how/why the hell haven't I built one all these years?_ o.O\" - well now I have, lol ). Built with `python-django` `bootstrap4` and a little `javascript ES6` and `JQuery`.\n\n## What it is\n\nA simple, reponsive portfolio website. Built with:\n\n- Python 🐍\n- Django 🎸\n- Bootstrap 4 🌈\n- Vanilla JS - ES6\n- JQuery\n- [Patience](https://www.wikihow.com/Love-Programming) - Strictly for the love of coding _Mehn!_\n\n## What it does\n\n- Display Real Estate Listings with Realtors and Details\n- Try to look pretty, simple, and hopefully not too formal.\n- Customized django Backend for managing the entire Site \n- Links Single Listing details page to contact Realtor\n- Realtor Contact Form and Email SMTP \n- \n## Learning Points\n\n- Django Mixins\n- Django functions\n- Responsive design \u0026 media queries\n- CSS Grid\n- Flexbox\n- CSS Animations/transitions\n- Psuedo Elements\n\n## Issues\n\n1. **Node sass error**\n\nCompiling `.scss` files with `node-sass` using the following script in `package.json`\n\n```json\n\"scripts\": {\n    \"sass\": \"node-sass -w scss/ -o dist/css/ --recursive\"\n  }\n```\n\nproduced certain errors on VSCode on windows, specifically =\u003e\n\n```json\n{\n  \"status\": 3,\n  \"message\": \"File to read not found or unreadable: C:/Users/Urhiafe Patience/projects/portfolio/scss/main.scss\",\n  \"formatted\": \"Internal Error: File to read not found or unreadable: C:/Users/Urhiafe Patience/projects/portfolio/scss/main.scss\\n\"\n}\n```\n\nTo fix this, I used a solution I found [here](https://github.com/michaelwayman/node-sass-chokidar/issues/22), replacing the contents of the `node_modules/node-sass/lib/render.js` file with [this patched file](https://github.com/marcosbozzani/node-sass/blob/bug-vscode-watch/lib/render.js). Started rendering properly afterwards\n\n2. **Overriding CSS**\n\nwhile coding the responsiveness (using media queries defined in the `_config` and `_mobile` partials), the css began to overide each other, with css on earlier lines being overridden by css in later lines (something i learnt from jen Simmons) like so =\u003e\n\n```css\nmain#home h1 {\n  // @media small screens\n  margin-top: 5vh;\n}\nmain#home h1 {\n  // @media larger screens\n  margin-top: 20vh;\n}\n```\n\nSo earlier occuring css is overriden in the browser like this =\u003e\n~~main#home h1 {\nmargin-top: 5vh;\n}~~ while later css is implemented. Thus to ensure that responsive css is applied by the browser, I imported the `_mobile.scss` file last in the `main.scss` file\n\n## Acknowledgments\n\n- Many thanks to [@bradtraversy](https://github.com/bradtraversy) for his awesome courses - _i will not fail you sensei_\n- Thanks to [@torvalds](https://github.com/torvalds) For Making the world a better place\n- And To anyone reading this... _You're awesome!_\n\n_\u003cp align=\"center\"\u003eAnd remember from here on end... History has it's eyes on you...\u003c/p\u003e_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbankole2000%2Fdjango-realestate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbankole2000%2Fdjango-realestate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbankole2000%2Fdjango-realestate/lists"}