Skip to content

Commit

Permalink
Beginning client/server js with io/node
Browse files Browse the repository at this point in the history
  • Loading branch information
shama committed Apr 13, 2015
1 parent 814ef06 commit 703e78d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
10 changes: 10 additions & 0 deletions beginning-client-server-javascript-with-io-node/README.md
@@ -0,0 +1,10 @@
# Beginning client and server JavaScript with io.js or Node.js

> [https://www.youtube.com/watch?v=Ads1A7pn2LI](https://www.youtube.com/watch?v=Ads1A7pn2LI)
Install [io.js](https://iojs.org/en/index.html).

Within this folder run the terminal command `npm install` to install the
`devDependencies`.

Then run `npm start` to start up a development server on `http://localhost:9966`
3 changes: 3 additions & 0 deletions beginning-client-server-javascript-with-io-node/index.js
@@ -0,0 +1,3 @@
document.body.style.backgroundColor = 'red'

alert('hi')
15 changes: 15 additions & 0 deletions beginning-client-server-javascript-with-io-node/package.json
@@ -0,0 +1,15 @@
{
"name": "my-project",
"version": "0.1.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "budo index.js --live"
},
"author": "Kyle Robinson Young <kyle@dontkry.com> (http://dontkry.com)",
"license": "MIT",
"devDependencies": {
"budo": "^3.0.4",
"watchify": "^3.1.0"
}
}

0 comments on commit 703e78d

Please sign in to comment.