Categories
NodeJS

Start a basic server using express

Express is an amazing framework. We can start running a server by writing only 4 lines of code. After that, we can also set routes and assign responses if someone is requesting those routes. For now, let’s spin up our basic server.

Categories
NodeJS

Nodemon not refreshing page automatically

while setting up a MERN app, i was using nodemon to reflect code edits and render the new code in real time. I used npm i -g nodemon which didn’t work.