SuperScript Single Page Application is
- Easy to bootstrap SuperScript.
- Embrace WeakAI in minutes.
- Adopt chatbot quickly.
Node.js v7.1.6+ (leverage async/await) MongoDB
git clone https://github.com/Samurais/ss-spa.git
cd ss-spa
npm install
bower install
cp config/environment/development.sample.js config/environment/development.js
cp config/log4js.sample.json config/log4js.json
npm start
open http://localhost:3001
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.
npm run dev:start
npm test
npm test -- --watch # to run testcase lively.
To start app with docker-compose.
./scripts/start-docker-spa.sh
open http://localhost:3001
Note, samurais/ss-spa:0.0.1 can be built locally.
./scripts/build-docker-image.sh
Work with Wechaty
ss-spa can connect to your wechat personal account in minutes with ss-wechaty.
git clone git@github.com:Chatie/ss-wechaty.git && cd ss-wechaty
scripts/start-docker-compose.sh
MIT