wsserver is a template for building full-featured websocket server applications
- command-line tool for issuing commands to the server
- simple user database and associated methods for registering, logging-in and so forth.
Issue the following command from the project path in your terminal:
morbo script/wsserver
script/wsshell.pl
wsshell accepts JSON formatted commands from standard input in the format { "command":"", "param1":"one", "param2":"two", ... } For example:
ws://0.0.0.0:3000/websocket> { "command": "whoami" }
libreadline-dev build-essential cpanminus libterm-readline-gnu-perl libdbi-perl sqlite3 libsqlite3-dev libmoo-perl libdigest-sha-perl libsql-abstract-perl libev-perl libdbd-sqlite3-perl libmojolicious-perl
Mojo::SQLite DateTime::Event::Cron