Skip to content

For a MERN blog app, users can view blog posts, write comments, and like posts. Built with React TypeScript frontend, Node.js backend using Express.js, and MongoDB for Database. Admin allows post creation and dashboard access for managing content. This WebApp offers a seamless blogging experience with interactive features for both users and admins

Notifications You must be signed in to change notification settings

webdevankit07/mern-blog-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

🚀 About Me

Hi there I'm ANKIT YADAV a full stack developer with Reactjs, TypeScript, Nodejs, MongoDB

Web Universe - MERN Blog WebApp

"Web Universe" is a MERN stack blog app where React with TypeScript is used for the frontend, Node.js for the backend, and MongoDB for the database. Admins can create projects, while users can read, like, and comment on them, creating an interactive and engaging platform for sharing and discussing content.

Tech Stack

Client: React, TypeScript, Redux, TailwindCSS

Server: Node, Express

Database: MongoDB, Mongoose

Optimizations

  • In this project i am using React with TypeScript, React Form Hook and React Query(TanStack Query).

  • Now days in React, React Hook Form simplifies form handling and validation , reducing boilerplate code.

  • React Query streamlines data fetching and caching, optimizing network requests. Together, they enhance development efficiency and improve application performance, providing a seamless user experience in React applications.

Run Locally

Clone the project

  git clone https://github.com/webdevankit07/mern-blog-app.git

Go to the project directory

  cd mern-blog-app

Go to the Frontend directory

  cd ./Frontend/

Install Frontend dependencies

  npm install

Start the Frontend server

  npm run dev

Go to the Backend directory

  cd ./Backend/

Install Backend dependencies

  npm install

Start the Backend server

  npm run dev

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

Frontend ENV:

VITE_API_BASE_URL

VITE_STRIPE_PUB_KEY

VITE_FIREBASE_API_KEY

VITE_FIREBASE_AUTH_DOMAIN

VITE_FIREBASE_PROJECT_ID

VITE_FIREBASE_STORAGE_BUCKET

VITE_FIREBASE_MESSAGING_SENDER_ID

VITE_FIREBASE_APP_ID

Backend ENV:

NODE_ENV

FRONDEND_LINK

DATABASE_URL

ACCESS_TOKEN_SECRET

ACCESS_TOKEN_EXPIRY

REFRESH_TOKEN_SECRET

REFRESH_TOKEN_EXPIRY

CLOUDINARY_CLOUD_NAME

CLOUDINARY_API_KEY

CLOUDINARY_API_SECRET

🔗 Social Media Links

linkedin twitter

Authors

About

For a MERN blog app, users can view blog posts, write comments, and like posts. Built with React TypeScript frontend, Node.js backend using Express.js, and MongoDB for Database. Admin allows post creation and dashboard access for managing content. This WebApp offers a seamless blogging experience with interactive features for both users and admins

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published