<commit_before># dev-mtn-node-day-2
Our coding time together... &lt;3

```
git clone <EMAIL>:coolaj86/dev-mtn-node-day-2.git

pushd ./dev-mtn-node-day-2

# create serve.js with webserver
vim serve.js

# test serve.js by hand
node serve 2015
```

```
npm install --save express@4.x
```

HTTPS
=====

See
  * https://coolaj86.com/articles/how-to-create-a-csr-for-https-tls-ssl-rsa-pems/
  * https://www.npmjs.com/package/localhost.daplie.com-certificates<commit_msg>add docs and screencasts<commit_after>dev-mtn-node-day-2
==================

Our coding time together... &lt;3

Documentation and Screencasts
=====

See
  * [vim for people who would rather not use vim](https://coolaj86.com/articles/vim-for-people-who-dont-want-to-use-vim.html)
  * [Intro to networking with netcat and node.js](https://coolaj86.com/articles/intro-to-networking-with-netcat-and-nodejs.html)
  * [Intro to http with netcat and node.js](https://coolaj86.com/articles/intro-to-http-with-netcat-node-connect.html)
  * [localhost.daplie.com-certificates](https://github.com/Daplie/localhost.daplie.com-certificates)
  * [How to get your own HTTPS certificate](https://coolaj86.com/articles/how-to-create-a-csr-for-https-tls-ssl-rsa-pems/)

What we did today
===========

```bash
git clone <EMAIL>:coolaj86/dev-mtn-node-day-2.git

pushd ./dev-mtn-node-day-2

# create serve.js with webserver
vim serve.js

# test serve.js by hand
node serve 2015
```

```bash
npm install --save express@4.x
```

```
# leave the server stuff in serve.js, but move the app/express stuff to app.js
vim app.js
```

```bash
# use body-parser
npm install --save express@4.x
```
{'fraction_non_alphanumeric': 0.17556783302639656, 'fraction_numerical': 0.020257826887661142, 'mean_word_length': 3.8802395209580838, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 7, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4275277', 'n_tokens_mistral': 661, 'n_tokens_neox': 601, 'n_words': 126}