
Introduces building a MERN stack social media blog app with login, signup, redux authentication, and MongoDB with Mongoose; manage users and blocks with create, edit, delete, and view all blocks.
Implement add blog to database functionality in a MERN stack app by handling post /add requests to create and save a blog with title, description, image, and user.
Build a blog app header with material UI, using app bar, toolbar, and typography, add login and sign-up buttons, and place controls on the right with gradient styling.
Enable routing in the application by integrating react-router-dom with browser router, creating login and signup flows, and wiring routes for blocks, user blocks, and block details.
Fetch the logged-in user's blogs by retrieving the user id from local storage and using an axios get request to fetch the user's blocks in a useEffect.
Fetch blog details by id from the url using a detail component, then populate and update the blog form with the retrieved data using useEffect and axios.
Update a blog post by sending a put request via axios to localhost:5000/api/blog/update, including id, title, and description, while removing image field, handling errors, and navigating back to my blocks.
Define a delete workflow for blog posts by wiring a delete icon to a handle delete function, issuing an axios delete request to the server, updating routes and UI.
Implement protected routes by wrapping content in a login check and redirecting unauthenticated users. Render blocks when the user is logged in to safeguard content and guide users to login.
Implement auto login by checking local storage for the user id on app render with useEffect, dispatching login, and clearing on logout to persist login across refreshes.
Hi, Welcome
Yes, you have read it right if you are here reading this description. This is a Blog Posting Application With MERN Stack In which the user will be able to login/signup and he/she will be able to post his / her blogs and will be able to view blogs of other users as well same like Facebook / Twitter functionality
If you are a complete beginner, then this course is perfect for you because I have explained every single step before moving ahead. And trust me you will learn a lot of things.
And if you are already an intermediate MERN Developer, this will help you to grow your skills with creating Social Media Blog App with MERN Full Stack.
What You will learn
How to Build a Blog Posting Application
How to Make a Responsive Blog App
How to build a Backend For a Blog Posting Application
How to encrypt a user's password before storing it in a database
How to Build Frontend with Blogs and Add Blog / Login Signup Functionality
How to Build a Modern UI UX Blog App
How to make the relation between 2 collections of MongoDB
We will use MERN Stack With this
MongoDB: MongoDB is a source-available cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. MongoDB is developed by MongoDB Inc. and licensed under the Server Side Public License.
ExpressJS: Express.js, or simply Express, is a back-end web application framework for Node.js, released as free and open-source software under the MIT License. It is designed for building web applications and APIs. It has been called the de facto standard server framework for Node.js.
ReactJS: React is a free and open-source front-end JavaScript library for building user interfaces based on UI components. It is maintained by Meta and a community of individual developers and companies. React can be used as a base in the development of single-page or mobile applications
NodeJS: Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser.
See you in the course.
Hurry