Skip to main content

Command Palette

Search for a command to run...

Day 26 (30 Days of Code)

Updated
1 min read
Day 26 (30 Days of Code)
N

I am Nirbhay Singh , I am starting this blog to document my coding journey of becoming a software developer and to get my first $ 100k offer .

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.

More from this blog

Daily Code by Nirbhay

74 posts

Hey, this is Nirbhay. I started this blog to document my journey of learning to code and get my first $100k offer. I'll be sharing the things related to DSA, backend development, devops and many more.