Visual programming environment with networking support
npm install netsblox


Currently, we have support for networked _events_ and _messages_ where a message is like an event except contains some additional information. For example, in the Tic-Tac-Toe example, the user is able to create a "TicTacToe" message which contains the row and column that the user played in.
Along with the events and messages, we also currently support _remote procedure calls_. RPC's are implemented as REST endpoints on the server which can perform some of the more challenging computation for the student (allowing support to make more complicated apps) as well as providing access to extra utilities not otherwise available to the student.
For example, you can import the Map utilities service which gives the user access to Google Maps with a map of (latitude), (longitude) with zoom (zoom) block:
!Remote Procedure Returning a Costume
This results in the stage costume changing:
!Google map costume on the stage
MONGO_URI environment variable).First clone the repository and install the dependencies.
```
git clone https://github.com/NetsBlox/NetsBlox.git --recursive
cd NetsBlox
npm installnpm start
Finally, start the server with and navigate to localhost:8080 in a web browser to try it out!
should be set to an API key from the Google Static Maps
- Air Quality
- AIR_NOW_KEY should be set to an API key from AirNow
- Weather
- OPEN_WEATHER_MAP_KEY should be set to an API key from OpenWeatherMap
- NASA
- NASA_KEY should be set to an API key from NASA
- Traffic
- BING_TRAFFIC_KEY should be set to an API key from Bing Traffic
- Twitter
- TWITTER_BEARER_TOKEN should be set to an API key from TwitterTo simplify this process (and to keep your
~/.bashrc clean), these values can be stored in a .env file in the project root directory and they will be loaded into the environment on starting NetsBlox.Examples
After opening the browser, click the file button in the top left and click on Examples` to check out some example networked apps!