# sql_express_node-demo

## Getting Ready
Install [Node](https://nodejs.org/en/download/)

## Tools
- Why Github Desktop?  
- Why Postman?  
- VSCode, Debugger for Chrome Extension  

## Node Basic

### structure & info
Node is a JS runtime based on Google V8. Single Threaded.

### preinstalled modules
[complete module list](https://nodejs.org/api/modules.html)
- fs: filesystem
- http/https: webserver
- path: handle file paths

### npm
A preinstalled package manager for node [npm](https://www.npmjs.com/)
A large ecosystem of third party extensions and libraries

- npm init             -> package.json  
- npm install          -> npm_packages  
- npm run test  
- npm start  

### routing
Routing defines the way in which the client requests are handled by the application endpoints.

## Adding Express
Adding express via npm: [express](https://www.npmjs.com/package/express)
```
npm install express
```
Express Documentation [api](https://expressjs.com/en/api.html)

## Express Generator
https://expressjs.com/en/starter/generator.html


## Other Useful Packages
[nodemon](https://www.npmjs.com/package/nodemon)