define route with express router.route code example
Example: nodejs express routing
// You need to install the following packages
npm install --save mysql express
// And if you don't want to restart your server after every little change
npm install -g nodemon