An open API service indexing awesome lists of open source software.

https://github.com/gdibble/caa-nodetraining


https://github.com/gdibble/caa-nodetraining

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# caa-nodeTraining

Communities In Schools JavaScript and Node.js Training

Herein you'll find:
* Projects to try
* Instructions for [Tessel2NodeBots](Tessel2NodeBots.md)
* Follow-up document with [JavaScript_and_Nodejs_Basics](JavaScript_and_Nodejs_Basics.md) to practice on your own

## node-drawing-game

1. Double-click or drag `index.html` into your browser.

Notice you can draw.

Uncomment the input box in this file to add color selection.

2. Install [Node.js](https://nodejs.org) on your computer.

3. Go to your console and go into the repo directory.

Type `npm install` to get dependencies.

Type `node app` to run the Node.js server.

4. Go back to your browser and open a new tab to `http://localhost:3000`.

Click the link in the middle of the page.

Copy the URI address.

Now open another web browser and paste the URI, or have a friend go to the URI _(on the same network)_.

You're now sending events from one browser to the server and the other browser is listening and responding.

Can you figure out how to send color to the other browser?

--

_Made with ♥ by CAA_