
Build a full-stack MERN news app with Tailwind CSS, featuring login, register, post creation, viewing, editing, search, and responsive deployment to Heroku.
Create a react app for the MERN stack news project, set up the front end, install and configure tailwind css, and test styling by applying tailwind classes.
Organize the MERN stack news app by creating components and pages, set up routing with react-router-dom, implement a protected home page and six pages, and apply tailwind CSS styling.
Build a responsive two-pane layout with a header, sidebar, and content area, where a hamburger toggles the sidebar, and pages render through a layout component using Tailwind CSS.
Designs a sidebar layout for a MERN stack news app, with a two-part header for the project title and a mapped menu, using react-router links and active state highlighting.
Implement a responsive sidebar toggle by importing react icons, managing showSidebar state, and toggling the sidebar with a header icon and smooth transitions.
Build an ad news feature in a MERN stack app by using draft.js as the content editor to create news content with title, description, and images.
Configure a React draft editor in MERN app, manage editor state changes with a handler, and apply styling. Convert content to raw, examine blocks and entity map for MongoDB.
Set up a node express server for the mern news app, install express and mongoose, and create news and user models and routes on port 5000.
Learn to connect a MERN stack news app to a MongoDB Atlas cloud database using Mongoose and a connection string, with tests for successful and failed authentication.
Create a Mongoose news item model with title, description, content, posted by, and timestamps, then implement a post API to add items and route requests via a news items router.
Configure the backend proxy to connect the frontend to the news items api and add a news item via axios.post, sending title, description, content, and poster, stored in mongodb.
Learn to build and center a reusable Tailwind CSS spinner component for API loading states, switching from absolute to fixed positioning and integrating toast alerts for news submissions.
Fetch all news items from the news API and render them on the home page. Use Axios, useEffect, and loading state in a MERN stack app with Tailwind CSS.
Map through news items to render titles and descriptions on homepage using responsive tailwind grid that shifts to one on mobile, with search bar and title filtering via lowercase includes.
Create a news description page in a MERN stack app by routing to a single news item with an id, fetching it with axios, and displaying the title, description, and content.
Design a new news description page by converting API data into HTML with the draft package and a React HTML parser, then render with loading and navigate home after update.
Design a single landing page for a MERN stack news app, featuring sign in and sign up forms on the same page, with Tailwind CSS styling and a Lottie animation.
Design login and register forms for a MERN stack news app with Tailwind CSS, using hooks to toggle forms and animate transitions while collecting email, password, and username.
Build and secure user authentication in a MERN app by creating a user model, implementing register and login APIs, handling responses without passwords, and storing user data locally for navigation.
Display all news items posted by the logged-in user by storing the complete user object in the poster field and rendering it on the homepage and add news page.
Guard home and news pages with protected routes in a MERN stack news app, redirecting unauthenticated users to the landing page and enabling logout via localStorage clearing.
Create a posted news items table filtered by the current user, fetch items by user id via the API, and show a loading spinner as data loads.
Learn to implement delete news functionality in a MERN stack news app with Tailwind CSS, including a delete item function, find one and delete, and refreshing data after deletion.
Hello, Welcome TO The Course MERN Stack News Application.
The Different Technologies we will use in this application are
React - For Front End
Tailwind CSS - For UI / Styling
Node JS - For Backend Run-Time Environment
Express JS - For Backend Framework
Mongo DB - For Database
The topics that we will cover in this course are
Complete USER authentication with Protected Routes concept
ALL CRUD operations for the news items like create, read, update, delete
Handling Complex data without state management tools like redux
Creating Mongo DB Models, Schemas
The most popular text editor for creating content like drafts
Deploying a full-stack application to a live server without any cost
States, Props, Routing, HTTP Calls In React
In the complete application, we will use only functional/stateless components in React.
For Styling and UI we will the latest and tending utility CSS framework Tailwind CSS.
We will not use any external CSS frameworks or libraries like bootstrap/material UI etc.
We will build every piece of the component in the application from scratch with Tailwind CSS
We will learn to implement complex responsive layouts with tailwind CSS
Pre Requisites
-------------------------------------------------------------------------------
React
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
Tailwind CSS
Tailwind CSS is basically a utility-first CSS framework for rapidly building custom user interfaces. It is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override.
Node
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.