├── .eslintrc.js ├── .gitignore ├── .leanignore ├── README.md ├── app.js ├── bin └── load-test.js ├── cloud.js ├── functions ├── amr-transcoding.js ├── associated-data.js ├── batch-update.js ├── captcha-cache.js ├── captcha-storage.js ├── crawler.js ├── imagemagick.js ├── leaderboard.js ├── limited-stock-rush.js ├── login-by-app.js ├── meta.js ├── pubsub.js ├── queue-delay-retry.js ├── queue-result-query.js ├── readonly.js ├── redlock.js ├── rtm-onoff-status.js ├── rtm-signature.js ├── todos.js ├── weapp-decrypt.js └── xml.js ├── leanengine.yaml ├── nodemon.json ├── package.json ├── public └── leanstorage.png ├── redis.js ├── routes ├── cookie-session.js ├── markdown.js ├── render-ejs.js ├── websocket.js └── wechat-message-callback.js ├── server.js ├── test ├── amr-transcoding.js ├── captcha-storage.js ├── imagemagick.js ├── mocha.opts ├── rtm-signature.js └── weapp-decrypt.js └── views └── todos.ejs /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/.gitignore -------------------------------------------------------------------------------- /.leanignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/.leanignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/README.md -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/app.js -------------------------------------------------------------------------------- /bin/load-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/bin/load-test.js -------------------------------------------------------------------------------- /cloud.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/cloud.js -------------------------------------------------------------------------------- /functions/amr-transcoding.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/amr-transcoding.js -------------------------------------------------------------------------------- /functions/associated-data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/associated-data.js -------------------------------------------------------------------------------- /functions/batch-update.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/batch-update.js -------------------------------------------------------------------------------- /functions/captcha-cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/captcha-cache.js -------------------------------------------------------------------------------- /functions/captcha-storage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/captcha-storage.js -------------------------------------------------------------------------------- /functions/crawler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/crawler.js -------------------------------------------------------------------------------- /functions/imagemagick.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/imagemagick.js -------------------------------------------------------------------------------- /functions/leaderboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/leaderboard.js -------------------------------------------------------------------------------- /functions/limited-stock-rush.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/limited-stock-rush.js -------------------------------------------------------------------------------- /functions/login-by-app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/login-by-app.js -------------------------------------------------------------------------------- /functions/meta.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/meta.js -------------------------------------------------------------------------------- /functions/pubsub.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/pubsub.js -------------------------------------------------------------------------------- /functions/queue-delay-retry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/queue-delay-retry.js -------------------------------------------------------------------------------- /functions/queue-result-query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/queue-result-query.js -------------------------------------------------------------------------------- /functions/readonly.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/readonly.js -------------------------------------------------------------------------------- /functions/redlock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/redlock.js -------------------------------------------------------------------------------- /functions/rtm-onoff-status.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/rtm-onoff-status.js -------------------------------------------------------------------------------- /functions/rtm-signature.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/rtm-signature.js -------------------------------------------------------------------------------- /functions/todos.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/todos.js -------------------------------------------------------------------------------- /functions/weapp-decrypt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/weapp-decrypt.js -------------------------------------------------------------------------------- /functions/xml.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/functions/xml.js -------------------------------------------------------------------------------- /leanengine.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/leanengine.yaml -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignore": ["views/*", "public/*"] 3 | } 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/package.json -------------------------------------------------------------------------------- /public/leanstorage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/public/leanstorage.png -------------------------------------------------------------------------------- /redis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/redis.js -------------------------------------------------------------------------------- /routes/cookie-session.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/routes/cookie-session.js -------------------------------------------------------------------------------- /routes/markdown.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/routes/markdown.js -------------------------------------------------------------------------------- /routes/render-ejs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/routes/render-ejs.js -------------------------------------------------------------------------------- /routes/websocket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/routes/websocket.js -------------------------------------------------------------------------------- /routes/wechat-message-callback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/routes/wechat-message-callback.js -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/server.js -------------------------------------------------------------------------------- /test/amr-transcoding.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/test/amr-transcoding.js -------------------------------------------------------------------------------- /test/captcha-storage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/test/captcha-storage.js -------------------------------------------------------------------------------- /test/imagemagick.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/test/imagemagick.js -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | -r should 2 | -------------------------------------------------------------------------------- /test/rtm-signature.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/test/rtm-signature.js -------------------------------------------------------------------------------- /test/weapp-decrypt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/test/weapp-decrypt.js -------------------------------------------------------------------------------- /views/todos.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leancloud/leanengine-nodejs-demos/HEAD/views/todos.ejs --------------------------------------------------------------------------------