liyad-webapp-example

Web app example for Liyad Lisp interpreter; using LSX and React.


Keywords
Lisp, Liyad, LSX, JSX, React, DSL, example, javascript, liyad-cli, node, nodejs
License
ISC
Install
npm install liyad-webapp-example@0.0.7

Documentation

liyad-webapp-example

Web app example for Liyad Lisp interpreter CLI.
Serve the http server and do server side rendering with React and LSX.
LSX is alternative notation of JSX using Lisp.

Install

$ npm install -g liyad-cli
$ git clone https://github.com/shellyln/liyad-webapp-example.git
$ cd liyad-webapp-example
$ npm ci

Run

$ liyad -p LSX_async --lsx-boot ./lsxboot.js app.lisp

Server will serve on port 3000.

Run with PM2

$ npm install -g pm2@latest
$ npm install liyad-cli
$ pm2 start cluster.js -i max

$ pm2 stop cluster
$ pm2 delete cluster