node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

ss-spa

NPM version NPM downloads

Docker Pulls Docker Stars Docker Layers

Welcome

SuperScript Single Page Application is

  • Easy to bootstrap SuperScript.
  • Embrace WeakAI in minutes.
  • Adopt chatbot quickly.

Usage

git clone https://github.com/Samurais/ss-spa.git
cd ss-spa
npm install
bower install
npm start
open http://localhost:3001

Watch

Re-parse and restart app when editing chat's scripts.

npm run dev:start

Note, in the browser, socket.io would reconnect to server when the app is restarted, it avoids reloading client page.

Thanks to

WebRTC chat with React.js

SuperScript

Docker

To start app with docker-compose.

docker pull tutum/mongodb:3.2
docker pull samurais/ss-spa:0.0.1
./scripts/start-with-docker.sh
open http://localhost:3001

Note, samurais/ss-spa:0.0.1 can be built locally.

./scripts/build-docker-image.sh

License

MIT