- Видео 18
- Просмотров 12 063
Matt Makes Code
Добавлен 9 дек 2016
A Software Engineer working in London 🇬🇧 making simple tutorials on programming so you can learn to code easier.
React & Django Social Media (Portfolio Project) | Create Post & Home Page | #6
Hello Developers 👋
Welcome to my tutorial series where we will be building a social media in React & Django!!
This project landed me a software engineering internship in London - so it’s a great project to have on your Github/CV 💻📝
This is Part 6 of the series where we will building our create post page & api as well as a home page to show our posts with a paginator
A lot of work went into this tutorial so if this helped you please like, comment & subscribe ❤️
Thanks for watching,
MattMakesCode 🙂
-----------------------------------------------------------------
CHAPTERS:
00:00 Introduction
00:35 Part 1a Create Post API
5:58 Part 1b Create Post Frontend
18:43 Part 2a Get Posts + Paginator API
25:10 Par...
Welcome to my tutorial series where we will be building a social media in React & Django!!
This project landed me a software engineering internship in London - so it’s a great project to have on your Github/CV 💻📝
This is Part 6 of the series where we will building our create post page & api as well as a home page to show our posts with a paginator
A lot of work went into this tutorial so if this helped you please like, comment & subscribe ❤️
Thanks for watching,
MattMakesCode 🙂
-----------------------------------------------------------------
CHAPTERS:
00:00 Introduction
00:35 Part 1a Create Post API
5:58 Part 1b Create Post Frontend
18:43 Part 2a Get Posts + Paginator API
25:10 Par...
Просмотров: 53
Видео
React & Django Social Media (Portfolio Project) | Posts & Like Button | #5
Просмотров 30919 часов назад
Hello Developers 👋 Welcome to my tutorial series where we will be building a social media in React & Django!! This project landed me a software engineering internship in London - so it’s a great project to have on your Github/CV 💻📝 This is Part 5 of the series where we will be creating posts for users on the frontend and backend and a like/dislike functionality for posts. A lot of work went int...
React & Django Social Media (Portfolio Project) | Follow Users | #4
Просмотров 175День назад
Hello Developers 👋 Welcome to my tutorial series where we will be building a social media in React & Django!! This project landed me a software engineering internship in London - so it’s a great project to have on your Github/CV 💻📝 This is Part 4 of the series where we will: - Allow users to follow and unfollow other users A lot of work went into this tutorial so if this helped you please like,...
React & Django Social Media (Portfolio Project) | React Private Routes | #3
Просмотров 18114 дней назад
Hello Developers 👋 Welcome to my tutorial series where we will be building a social media in React & Django!! This project landed me a software engineering internship in London - so it’s a great project to have on your Github/CV 💻📝 This is Part Three of the series where we will: - Restrict access to app if user is not authenticated - Django API to check if user is authenticated - Learn useConte...
React & Django Social Media (Portfolio Project) | Secure JWT Login & Register | #2
Просмотров 39414 дней назад
Hello @MattMakesCode Community 👋 Welcome to my tutorial series where we will be building a social media in React & Django!! This project landed me a software engineering internship in London - so it’s a great project to have on your Github/CV 💻📝 This is Part Two of the series where we will: - Building a secure authentication system (production ready) - Building Login API with JWT tokens in Djan...
React & Django Social Media (Portfolio Project) | Set up & User Profile | #1
Просмотров 1,2 тыс.21 день назад
Hello developers 👋💻 Welcome to my tutorial series where we will be building a social media in React & Django!! This project landed me a software engineering internship in London - so it’s a great project to have on your Github/CV 💻📝 This is Part One of the series where we will: - Demo the app - Set up Django backend - Build Custom User model - Build API to get User profile data - Set up React f...
Build A Full Stack Django App (with PostgresDB) | Django Beginners Tutorial
Просмотров 74228 дней назад
Hello @MattMakesCode Community 👋 Welcome to a simple tutorial on DJANGO. This video is for DJANGO BEGINNERS who want to learn how to build a full stack Django app from scratch. We will be building a Notes app that has: - CRUD functionality - Connected to Postgres DB In the video we will cover: - Django Setup - CRUD view classes with Generic views (ListView, CreateView, UpdateView, DeleteView) -...
Django Rest Framework Simplified 2024
Просмотров 509Месяц назад
Hello @MattMakesCode Community 👋 Welcome to a simple tutorial on DJANGO REST FRAMEWORK. In this video, you will learn what DJANGO REST FRAMEWORK is, and how to build apis in python using DJANGO REST FRAMEWORK. You will build a GET api, CREATE api, UPDATE api, and a DELETE api. If this video helps you please like the video and subscribe to the channel ❤️ Thanks for watching, MattMakesCode 🙂💻 SOU...
React And Django Secure Authentication #3 | ReactJS Login, Register, Private Routes
Просмотров 1,2 тыс.Месяц назад
Hello @MattMakesCode Community 👋 Welcome to a quick 3 part series building a secure authentication system in REACT AND DJANGO. In this series you'll create a login page, registration page, user authentication, user models & more! The authentication will be secure unlike many other tutorials on youtube! In this part, we conclude the series by building our frontend in ReactJS that calls our apis ...
React And Django Secure Authentication #2 | Cookies, Register, Logout
Просмотров 1,3 тыс.Месяц назад
Hello @MattMakesCode Community 👋 Welcome to a quick 3 part series building a secure authentication system in REACT AND DJANGO. In this series you'll create a login page, registration page, user authentication, user models & more! The authentication will be secure unlike many other tutorials on youtube! In this part, we will make our JWT authentication more secure by storing them in HTTP COOKIES...
React And Django Secure Authentication #1 | JWT tokens
Просмотров 3,3 тыс.Месяц назад
Hello @MattMakesCode Community 👋 Welcome to a quick 3 part series building a secure authentication system in REACT AND DJANGO. In this series you'll create a login page, registration page, user authentication, user models & more! The authentication will be secure unlike many other tutorials on youtube! In this part, we will build the basic authentication using JWT tokens so that a user can logi...
Beginner Ruby on Rails API tutorial 2024
Просмотров 139Месяц назад
Hello developers 👋 In this video, you will learn how to create an API really quick using Ruby on Rails 💻 You will also learn how to test your api using POSTMAN. If this video helped you could you please subscribe to the channel & like the video ❤️ Thanks for tuning in, MattMakesCode🫡 CHAPTERS 00:00 Create Rails APIs 6:36 Test APIs
Learn React by Building an IPhone Calculator
Просмотров 1142 месяца назад
Hi @MattMakesCode community 👋 In this video, we're going to build the Apple Iphone calculator. You'll learn how to start a React project as well as learn React fundamentals such React Hooks, Components, React Structure, and more! You'll also have an impressive project for your Github or CV! If this video helped you in anyway, could you please like the video and subscribe to the channel so I can...
Build a React with Ruby on Rails App 2024
Просмотров 1,9 тыс.2 месяца назад
Hey @MattMakesCode Community 👋 In this video we dive into Ruby on Rails! We will connect it with a React frontend in a todo list application. This will take under an hour! By the end of this video, you will be able to create a full stack ruby on rails and react app as well as have a project for your Github/resumé. If this video helped you in any way, please be kind to like the video ❤️ & subscr...
Deploy a React App to Netlify for FREE
Просмотров 292 месяца назад
Hi everyone 👋 Welcome to @MattMakesCode . This tutorial will show you how to deploy a React App in less than 2 minutes using Netlify and React's build folder. If this video helped you, please like subscribe and comment for more content! 💻❤️
Build a React And Django App #2 | React and Django Beginners
Просмотров 3012 месяца назад
Build a React And Django App #2 | React and Django Beginners
Build a React And Django App #1 | React and Django Beginners
Просмотров 2832 месяца назад
Build a React And Django App #1 | React and Django Beginners
This github link dosent work. I have errors when tryng to make migrations. It would be bigh help for learning when you publish source code same time as video for this section.. Then is easier to find fault .. learn and analyze what went wrong.
I searching postgresql database migration tutorials thanks brother
Appreciate the detailed breakdown! Just a quick off-topic question: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). Could you explain how to move them to Binance?
source code is initial and empty
Source code
🎉
nice tutorial, please can you share the github source code
Can do! I'll upload the project we are working on together and push changes after each video so it will update as we go along.
Next video out today!
it shows forbidden when i try to authorize
Do you mean you get forbidden when you try to call the notes api?
is there no github for the project pls bro
I'll create a repo for it! I'll upload the project we are working on together and push changes after each video so it will update as we go along.
you've got yourself a new sub, thanks for the video!
@@tuds8 thanks!❤️
Its just amazing! I just started to Learn React, but with your explanation I've smoothly done all three series for 4 evenings, And got total understanding. Thank you so much!
Thanks for watching and I’m glad it was helpful! Goodluck with the rest of your learning!
@MattMakesCode i'm getting error
Can you make a video for websoket Like in this wonderful social media app You could show us how to make a real time chat using web sockets please
Great idea! I’ll start working on it soon!
I love your work The to do app was very very helpful thank you and keep up the good work
Thank you! 🙏
Great video. For some reason, axios is able to fetch data from locahost:3000 but not 127.0.0.1:3000. any ideas on why this could be so
@@ogunleyejoseph5682 Thanks! I believe you need to add 127.0.0.1:3000 to your CORS_ALLOWED_ORIGINS array in settings.py.
Thanks for sharing so much concepts applied to a practical project! I'm struggling with cookies. I'm using Firefox and I got this error: Cookie will soon be rejected because it is foreign and does not have the “Partitioned“ attribute. I couldn't find much on internet tho :( Do you know what it could be?
Hi Marc, I've never seen this before. I just did some research and it seems that browsers are updating http to make apps more secure from third party cookies (our django api is third party as it is hosted on a different domain to react). To make it more secure, cookies will have to include a partitioned attribute. However as this is very new so django hasn't yet made an attribute for it in 'set_cookie()'. This means we would have to implement this in our middleware.py file to send this partitioned attribute in with our cookies. I'll look into this further so I can code it up!
another great video... thank you!!
@@giannisidorelegaspi2563 thank you 🙏
axios not fetching data from api
what is your error?
my endpoint api: const Base_Url = '127.0.0.1:8000/api/'; const api = axios.create({ baseURL: Base_Url , withCredentials:true }); export const get_user_profile_data = async(username) =>{ const response = await api.get(`user_data/${username}`); return response.data; }
That code looks fine, does your terminal in your frontend or backend say an error?
@@MattMakesCode please help me to get it resolved
@@MattMakesCode getting error for frontend
i am using nextjs and I am having trouble with the private routes, so i resulted to using middleware. So far this tutorial is awesome!!!🤙🤙
@@giannisidorelegaspi2563 thanks so much & that is really impressive! If you have a GitHub which you’ve posted this to id love to take a look!
the problem i am gettting here is i can login but i am not being able to get the profile data
Hi! Okay this could be a number of things - can you make sure you've set the cookies correctly. as in it should be the exact same as the tutorial states it. You need secure=True, httpOnly=True, path='/', and samesite="None" Making sure "None" is in quotes
If this isn't the solution I'll think of a few more. Otherwise you can send me a zip file of your code or upload it to github and ill check it out!
@@MattMakesCode bro ongod, i was trying to debug like for 2 hour straight , the error was i samesite=None instead of "None". Thank you for your efforts though, much appreciated
Haha that’s the way it goes, at least you got it in the end man. Any other issues just comment!
Hello, I'm a self-taught Django learner, I want to know if I need to know React before entering this tutorial? And can you explain in more depth, for example why to use this or why to do this, I know it will make the video longer but I think it's very necessary If you have the opportunity to work for me as a fresher, i need to gain more exp and knowledge about this because im fresh graduated Thank you bro, keep it lit <3
For this tutorial it’s aimed for people with both basic react and Django knowledge, however if you’re looking to learn react and how to implement it with Django you can check out my todo list react and Django app video on my channel. I can make a video that goes into more depth with the two also! Hope your learning goes well brother and thanks 🙏
@@MattMakesCode nice bro thank you for sharing, i have both basic knowledge keep moving forward bro, your video will very helpful
@@nyanpantsu9027 thanks brother ❤
Loved this video! Can you share when the next one will be out?❤❤
Thank you ❤️ Will try to publish for this evening but it is difficult as work is busy at the moment! If not it will be published Friday - series will end next week!
1:53 (Problem shown in my pc) It says 'django-admin' is not recognized as the name of a cmdlet, function... How it can be solved??
@@supopsobi4786 Hi! Are you using a Windows PC?
make sure Django is installed in your env
Nice project bro❤ Did you also deploy it on the web?
Thanks brother - yes & will be showing how to deploy the project in the last video of the series (coming soon)
can you create a video on working of access tokens
Great idea - can start working on this soon!
ok waiting for next video
@@xudan_the_creator coming soon! (Possibly today)
@@MattMakesCode Thanks bro. Awesome series
@@happydays5218 thanks man🙏🏻
can you pls increase the font size in future videos?
Will do, thanks for the feedback!
Amazing video, it's helping a lot with my studies, could you please teach how to deploy this project?
Thanks! Yes the last video of the series will show how to deploy the project!
@ Is it safe to make a website like this using cookies for verification? I am new to studying programming and I am learning.
@@joao_santos3 Yes using cookies for verification is safe - if it is implemented like we do in this tutorial. Your cookies should be secure (meaning they are only used on https sites but localhost will allow it too) and they should be http only (javascript can't directly access it preventing XSS attacks). This mixed with token expiration of jwt tokens makes it safe. Glad you're learning, ask any questions!!
Great mate, good stuff!
@@Deus-lo-Vuilt thanks mate! 😄
I can't hear a single word you're saying
I apologize for this - when recording this tutorial I hadn't bought a mic yet but you'll notice in my latest videos the sound quality/volume is far better!
Great! More Ruby on Rails X React projects please!
Hi are also using Redux or global state management
We’ll be using useContext to serve our components information globally when needed (like if user is authenticated or not). However no global state management like Redux as I wanted to keep this tutorial React & Django specific.
@@MattMakesCode understood 👍
the first two videos were smooth but sadly everything fell apart here
Sorry to hear that! In my new series I am creating a social media in React and Django. My next video will be creating the authentication system and I assure you this will be much smoother!
Hello, Would you share the rest of the project?
@@BMoogle releasing the videos daily, secure authentication system video coming out today!
Sorry I've been unwell the last few days - will be releasing the next few videos over the next few days. Thanks for your patience!
@ It’s okay, i’m waiting ahaha Get well soon Boss xd
This is really great can this also be used in production ??
Yes it can! I can create a video deploying our login system to production.
@@MattMakesCode But is it recommended to use sqlite database engine in production?
@ great question! The authentication is production secure. You can use an SQLite database in production, but for scalability I recommend a Postgres database with Django for its great compatibility. I will be showing a deployment video where we will host a Postgres database on AWS which our Django backend will connect to.
I am working with typescript and I decided to learnig python, let me know please, is there a way to use route like /user for example to all method like PUT, POST PUT, DELETE ? Thanks for the tutorial:)
Hi! Sorry I'm not quite understanding the question - could you explain further please? Do you mean can you create a route in typescript to call PUT, POST PUT, DELETE in the backend? Sorry for the misunderstanding!
Thank you so much Matt! Would be awesome to combine this project with DRF!
@@michalisz.4268 great idea!
Great compa, I hope you can continue uploading this series of videos.
Like and sub , thanks
Thank you! ❤
Please use a *BIGGER FONT* next time 💡
Thanks for the feedback!
ty matt! i would appreciate more django content ❤️
Got something exciting coming soon!
New Subscriber Arrived🙂
Welcome! Thanks for subscribing ❤️
Your tutorial is amazing! I've never seen anything like it. Will npm create vite@latest my-react-app work?
Thanks you!! - npm create vite@latest my-react-app will work but you have to install 'create-vite@5.5.4'. The command will ask you to choose a framework (you'll choose react) as well as ask what variant (you''ll choose Javascript). Hope this helps 🙂
@@MattMakesCode Could you tell me why it's not working with TypeScript? Thank you👍👍
Would appreciate real world complex projects are they coming any near?
@@tayyabullah7460 currently building a video on a Social Media tutorial in React & Django - A project that landed me a SE job
Thankkkkkkkkkkkkkkkkkkkks
Want more about ROR like full stack development in rails
@@loddachakrawarthy1637 Cool. I enjoy making the Ruby on Rails content but wasn’t sure if people wanted more Django. Will make an intermediate Rails project tutorial soon!
@@MattMakesCode wating for it