Django + React : Build a Location-Based Real Estate Website

In this course, Learn & practice React, Django, Django Rest Framework, GeoDjango, Material UI, React-Leaflet, PostGIS

4.15 (160 reviews)
Udemy
platform
English
language
Web Development
category
instructor
Django + React : Build a Location-Based Real Estate Website
3,628
students
17.5 hours
content
Feb 2023
last update
$69.99
regular price

What you will learn

Connect React and Django

Build an API with Django Rest Framework

Interactive maps with React-Leaflet

Make spatial queries with Geodjango and PostGIS

Deploy a full stack app with Digital Ocean and Namecheap

The basics of React

The basics of Material UI

The basics of React-Leaflet

Backend Authentication with Djoser

Install Nginx and Gunicorn

Setup SSL certificate

Store media files with Digital Ocean Spaces

Django storages / Boto 3

Why take this course?

In this project-based course, we will build a location-based real estate website. It is going to be a full stack web application with Django powering the backend and React Js the frontend.

We are going to build the frontend very fast by using Material UI which is a very easy and intuitive React library for building UI components. Throughout the course we will get to use lots of Material UI components that we will easily style.

We are then going to build the API with Django Rest Framework (DRF) and we are going to make requests to the API with React.

Leaflet is a JavaScript library for building interactive maps. We will add a geographic aspect to this project by placing the property listings on a map. We are going to achieve that with React-Leaflet which provides a binding between React and Leaflet.

We are also going to make our PostgreSQL database be spatially aware by adding the PostGIS extension to it. So, on top of making regular queries to the database, we are also going to make spatial queries (geometric information such as distance).

We are also going to cover user authentication with the Djoser library. We will get end users to add, delete or update property listings from the frontend. We are also going to handle both client-side errors and server-side errors in the forms.

Once we are done building the website on our local machines, we will then deploy it with Digital Ocean and Namecheap. During deployment, we are going to:

  • Push our project to GitHub

  • Get domain names for the backend and frontend

  • Setup a mailbox in “private email”

  • Setup an SSL certificate

  • Install and setup Nginx and Gunicorn

  • Store media file in the cloud with Digital Ocean spaces

I will be using:

  • Windows

  • Python 3.9

  • Django 4.0

  • React 17 (Updated for React 18-Works perfectly fine, check out the lectures on the Bonus section for more details)

  • Material UI 5

The following topics will be covered in this course:

  • The basics of React

  • React hooks (useState, useEffect, useContext, useReducer, useRef, useMemo)

  • The basics of Material UI

  • Styling with Material UI

  • The basics of React-Leaflet

  • React-Leaflet hooks (exp: useMap)

  • Building API endpoints with Django Rest Framework

  • Authentication with Djoser

  • Django signals

  • Making spatial queries with Geodjango and PostGIS

  • Calculating distances

  • Django deployment

  • React Deployment

  • Creating a remote server

After completing this in-depth project-based course, you will know how to connect Django and React. You will also know how take full advantage of a spatially or geographically aware database.

Screenshots

Django + React : Build a Location-Based Real Estate Website - Screenshot_01Django + React : Build a Location-Based Real Estate Website - Screenshot_02Django + React : Build a Location-Based Real Estate Website - Screenshot_03Django + React : Build a Location-Based Real Estate Website - Screenshot_04

Reviews

Carolina
October 17, 2023
The instructor should, whenever necessary, explain how it is done for other versions. I got lost!! What a sad experience
Pedro
October 15, 2023
Please consider a v18 upgrade or else the videos are hard to follow as of $today. I was disapointed after discovering that the course and MUI styling was not updated to React 18. Although we have a bonus section with what needs to change to make it "React 18 compatible" (and in fact it's a small change), it assumes that you have your project complete using React 17 and only then you change a few bits to make it R18 compliant. Still, we would have to follow along all videos using legacy coding and convert in realtime as we go. When time is limited, this slows down the pace considerably.
Robinson
October 8, 2023
Very good and engaging explanation. The examples are usefull and the technology required on programming positions.
KKatsavaros
August 18, 2023
The best videos about Postgre, Django, React in the web. All explained very very good. Thank you very much.
Sandor
June 29, 2023
The course covers a lot of material. I really learned a lot about mapping, authentication and API requests. For improvement, I think some of the code could be simplified and refactored in some parts. As for deployment, there are configurations that could be a lot cheaper; but I understand that would require much more detail about servers. The course is definitely worth taking
Geoff
May 28, 2023
I had a lot of trouble after installing package react-router-dom, the npm start command failed to run. I looked on the Udemy course pages and could not fand any help and went back to earlier lectures to see if I had missed something. I wasted a several hours searching for a solution before uninstalling NodeJS v18 (latest) and installing an earlier version - NodeJS v16.20. Very frustrating GD The lessons are going along well - only minor errors (on my part) to debug. Much better now
Vinod
May 8, 2023
In react , SX props made issue while doing project... you should update the tutorial accordingly for learners
Gustavo
April 20, 2023
I liked that the course has an outline. I feel more organized and motivated as now i have a goal and a clear ideia of what the final product should look like.
Nez
April 14, 2023
Unfortunately, this course is not designed perfectly to get updated with the new version. I cannot continue learning anymore.
Vivien
April 13, 2023
This is trash, don't buy: - editor font size is so small, who does that when you are recording videos for other people? Terminal font size is ridiculously small, who does that in broad 2022/2023? - volume is ridiculously low, didn't invest in proper micro. Difficult to hear what he is saying at all time - copy/paste code snippets without explaining where it's coming from and what it's doing. Didn't get a thing about section 42 That's why I like to stick to the few like Brad Traversy, Maximilian Schwarzmuller and Mosh Hamedani but unfortunately, they can't offer everything. I repeat, DON'T BUY
Anthony
March 7, 2023
The course and instructor was great. You learn a lot building this project out. I didn't give it a full 5 and this has nothing to do with the instructor. Abdel took the time to answer multiple questions i had and was very helpful. MUI unfortunately had a new version come out and if you're new like I am you will have to spend some extra time getting up to pace with the new version, other than that, amazing course.
Achraf
February 21, 2023
Bad experience the creator didn't response on Q&R, and also he didn't add requierments.txt of the backend on the GitHub of the backend files
Eng
January 29, 2023
Excellent Course , I Reviewed it after consuming 1 hour only in this course , I Believes that my impression is the last , you are the best , good luck.
Rory
January 3, 2023
So far so good. I wanted a somewhat speedy recap on modern react that I can follow along with my preferred react scripts (vite with typescript and TSW). Aside from getting re-acquainted with react I am particularly interested in incorporating django in future projects as a back end, looking forward to it. Abdel has a very precise, dryly humorous approach that I love! My only note so far is it might be a good idea to use Vite scripts instead of CRA in a future iteration of the course. Not because CRA doesn't do the job well enough, but because popular programming influencers tend to recommend against using it these days, and it might turn-off potential students.
Andy
November 11, 2022
One of the best courses I have taken in Udemy. Very well structured and with a lot of valuable examples.

Charts

Price

Django + React : Build a Location-Based Real Estate Website - Price chart

Rating

Django + React : Build a Location-Based Real Estate Website - Ratings chart

Enrollment distribution

Django + React : Build a Location-Based Real Estate Website - Distribution chart

Related Topics

4628904
udemy ID
4/5/2022
course created date
4/21/2022
course indexed date
Mauricio
course submited by