Day 26 (30 Days of Code)

Day 26 (30 Days of Code)

29 July 2023

Finally, I completed the project I was working on. I made the mistake of choosing an old tutorial for React. There were so many issues I faced while making the project. I even shared one big issue that I was facing yesterday not being able to JWT token into cookies.

I thought it was an error from the server side but it eventually came out be an error from the client side.

For the whole code, I highly recommend you to check my GitHub from the link given below

MERN Login System

Packages I used for client-side

  • react-router-dom

  • bootstrap

Packages I used for server-side

  • express

  • mongoose

  • body-parser

  • bcryptjs

  • cookie-parser

  • jsonwebtoken

  • nodemon


Video illustration of my Project


What did I learn?

How to use fetch API to make requests from the server and able to connect React app with my NodeJS server.