Use this as a resource as i document my adventure with restAPI using JS. I will be using mySQL so your milage may vary.
-
make a direcotry that will hold your project. in terminal navicate to path of choice and interminal run mkdir appname
-
change into that directory in terminal type
cd appname/ -
once in folder use npm to initialize project in terminal run the following commands filling in the information like name and so fourth. npm init
-
add express and mysql npm install --save mysql express