In this part, we completed parts 2 and 3 of the Github OAuth process
CLIENT_ID
and a SECRET_CLIENT_ID
SECRET_CLIENT_ID
in your front-end code. Even if it's saved as an .env
variable, anyone can still pull up this SECRET_CLIENT_ID
since it's built into the code.SECRET_CLIENT_ID
on a server, and complete the Github OAuth from the server in order to keep our SECRET_CLIENT_ID
secure.http
methodhttp
method. For example, when sending or receiving data, it is fairly cumbersome with http
. You need to manage the BufferStreams and concatenate the data pieces together. This is where I just switched to axios
so I don't have to deal with all of that..env
variables with dotenv
packagenodemon
to speed up development. Now I don't have to restart the server every time I make an update to the server.