grooscript demos in web and Node.js
JavaScript Groovy CSS HTML

README.md

Grooscript demos

Groovy code converted to javascript with grooscript

Using Node.js with colors, request and async npm's guide

Dsl

Node modules

Jackson Pollock painting demo, see in action

Draw Functions

Painting App

Creating components like react.js but in Groovy guide

Sources In action

Todo App

Live conversions from asciidoctor to html

Source

Try it!

2048 game, play!

Sources

Game

Interactive graphic search, see in action

Source

Countries

Basic chat running in Node.js, deployed in Heroku join +info

Server Client

Chat

Svg clock, see in action

Chat

See all stars moving here

Stars

Three.js objects here

Source code

Three.js

Create a Rest API fake using npm faker and json-server

Source code

Google maps DSL

Source code Spain Map

Build

In build.gradle, there are all the task to convert groovy files to javascript. Convert all demos with ./gradlew convertAll :)

To get links and info to run demos run ./gradlew showInfo

To run the demos in Node.js (colors.js, startChat.js and restApi), you need Node.js installed, and run npm install (maybe as sudo) to install dependencies.