DEV Community

Cover image for I Created a full stack toDoApp with auth using the MERN stack (mongodb, express, react & node)
Chaoo Charles
Chaoo Charles

Posted on

11 4

I Created a full stack toDoApp with auth using the MERN stack (mongodb, express, react & node)

Preview the toDoApp: toDoApp
Follow my comprehensive MERN stack series: MERN Stack Tutorials
Subscribe to my YouTube Channel: SUBSCRIBE
Follow me on twitter: @chaoocharles

The reason for creating this toDoApp was to refresh my MERN stack skills and also to create comprehensive tutorials for beginners. Check out my free MERN stack tutorials here.

When you are a beginner, creating a todo app is one of the ways you can get your hands dirty when learning to code. You should not learn a new technology by reading it like a book or watching the tutorials like your favorite movie series. Develop a habit of creating things. Let those errors get you out of your comfort zone. Creating a todo app is a good beginning.

On the other hand, for experienced developers, a todo app can be a good and simple way of refreshing basic skills. Basics are very important, you wouldn't understand the complex topics if you missed the basics. or would you?

While todo apps are usually simple, I created a quite complex one. I created my own endpoints using node.js and express, secured these endpoints using jwt, hashed the password with bcrypt, stored the data on MongoDB atlas, and hosted the backend on Heroku. I then created a front-end using React, react-router, material UI redux and redux hooks, protected the routes, and deployed the frontend on netlify. You can access it here

To learn how I did all this from scratch to deployment, you can follow these tutorials on my channel. You will learn how to perform CRUD operations, authentication and authorization, and deployment.

Happy coding 💙

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay