Skip to content

shellyln/liyad-webapp-example

Repository files navigation

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