/ExpressJS_routes

I will use Node and Express to make restAPI requests for CRUD features to our SQL.

Express JS and mySQL

Use this as a resource as i document my adventure with restAPI using JS. I will be using mySQL so your milage may vary.

Install

  1. make a direcotry that will hold your project. in terminal navicate to path of choice and interminal run mkdir appname

  2. change into that directory in terminal type
    cd appname/

  3. 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

  4. add express and mysql npm install --save mysql express