Before we start setting up authentication there's one other quick thing I want to add into our server.
I bet you can imagine that start stopping our server and then manually restarting it every single time
we make a change would get really old really quickly.
So let's add in a quick script to automate the process of restarting our server.
Anytime we change its source code so I can go back and read my code editor find my package dot Jace
on file and inside the script section I'm going to delete the test script and replace it with a new
script called Dev than inside of here anytime we run the dev command I'll instead execute node man source
index Scott J.S. like so that's going to use the node mod dependency to start up our server node man
is a little tool that's going to watch our project directory and anytime we change any of our different
files inside there it's going to automatically restart our server for us it's all save the changes I'm
going to flip back over to my terminal and I'm going to start my server one last time and then start
a backup with NPM run Dev okay.
There we go.
Now anytime we make a change to our project everything should automatically restart for us.
Perfect.
All right so let's take another quick pause.
And now this time when we come back we'll start working on authentication.
Like I just said.