Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shellyln/liyad-webapp-example
https://github.com/shellyln/liyad-webapp-example
javascript lisp liyad-cli lsx node nodejs
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/shellyln/liyad-webapp-example
- Owner: shellyln
- License: other
- Created: 2018-11-18T05:57:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-31T17:21:46.000Z (over 5 years ago)
- Last Synced: 2024-04-24T02:26:53.897Z (10 months ago)
- Topics: javascript, lisp, liyad-cli, lsx, node, nodejs
- Language: NewLisp
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# liyad-webapp-example
Web app example for [Liyad](https://www.npmjs.com/package/liyad) Lisp interpreter [CLI](https://www.npmjs.com/package/liyad-cli).
Serve the http server and do server side rendering with React and [LSX](https://github.com/shellyln/liyad#what-is-lsx).
LSX is alternative notation of JSX using Lisp.## Install
```bash
$ npm install -g liyad-cli
$ git clone https://github.com/shellyln/liyad-webapp-example.git
$ cd liyad-webapp-example
$ npm ci
```## Run
```bash
$ liyad -p LSX_async --lsx-boot ./lsxboot.js app.lisp
```
Server will serve on port 3000.## Run with PM2
```bash
$ npm install -g pm2@latest
$ npm install liyad-cli
$ pm2 start cluster.js -i max$ pm2 stop cluster
$ pm2 delete cluster
```