04. MDX, MongoDB, Static Homepage | Build Your Own Blog with React, Nextjs | SSG | JAMstack

Опубликовано: 03 Март 2026
на канале: Cules Coding
1,202
29

In this video, we will set up MongoDB, create blogs with MDX and make our home page static.

'Build your own blog' is video series where I will teach you how to build a Jamstack blogging website with react, nextjs, and markdown.

Check the full video series from here:    • 01. Intro & Setup | Build Your Own Blog wi...  

The application has:

Static Blog pages which will make the website load faster.
Blogs will have code blocks with syntax highlighting and many embed components like youtube videos, GitHub gist, Twitter and so many other things.
Autocomplete search feature for the blog posts.
Real-time view counter and so on.

Technologies we will use are:

React
Nextjs
Chakra-UI
SWR
MDX
Nextjs API Routes
MongoDB

Resources:
Source Code: https://github.com/thatanjan/cules-bl...
MongoDB Atlas: https://cloud.mongodb.com/
Chakra-UI crash course:    • Chakra UI crash course | React UI Framework  
Responsive image with Aspect Ratio:    • How to make Image responsive using Aspect ...  
Server-Side Rendering:    • What is Server Side Rendering? How Server ...  


About me

Why do I do what I do?
-- The Internet has revolutionized our life. I want to make the internet more beautiful and useful.

What do I do?
-- I ended up being a full-stack software engineer.

What can I do?
-- I can develop complex full-stack web applications like social media applications or e-commerce sites.

What have I done?
-- I have developed a social media application called Confession. The goal of this application is to help people overcome their imposter syndrome by sharing our failure stories. I also love to share my knowledge. So, I run a youtube channel called Cules Coding where I teach people full-stack web development, data structure algorithms, and many more. So, Subscribe to Cules Coding so that you don't miss the cool stuff.

Want to work with me?
-- I am looking for a team where I can show my ambition and passion and produce great value for them.
Contact me through my email or any social media as @thatanjan. I would be happy to have a touch with you.

Contacts

Email: [email protected]

Linkedin:   / thatanjan  

portfolio: https://thatanjan.me/

Github: https://github.com/thatAnjan/

Instagram personal:   / thatanjan  

Twitter:   / thatanjan  

Blogs you might want to read:
Eslint, prettier setup with TypeScript and react: https://www.culescoding.space/blog/se...
What is Client-Side Rendering?: https://www.culescoding.space/blog/wh...
What is Server Side Rendering?: https://www.culescoding.space/blog/wh...
Everything you need to know about tree data structure: https://www.culescoding.space/blog/ev...
13 reasons why you should use Nextjs: https://www.culescoding.space/blog/13...

Videos you might want to watch:
Setup Eslint Prettier with Typescript and React -Nextjs, Create React App:    • Setup Eslint Prettier with Typescript and ...  
Everything you need to know about CSS in JS:    • Everything you need to know about CSS in J...  
Toggle Dark mode with Material-UI:    • Material-UI Basics Course #4 - Toggle Dark...  
Build a real-time view counter:    • Build a blog using #JAMstack #6 - Build a ...  
Build a small search engine with MongoDB:    • Build a blog using #JAMstack #5 -  Build a...  

Playlists you might like:
Build a blog using JAMstack:    • Build a blog using JAMstack #1 - Intro & S...  
Material-UI basics course:    • Video  
Quick tricks:    • Access COOKIES in NextJS from server side....  
Crash course:    • Redux toolkit crash course. Everything you...  
How-to videos:    • Setup Eslint Prettier with Typescript and ...  

Stay safe and goodbye.