如何在离线运行的打包的Chrome应用程序中创build本地服务器?
我想在Chrome应用程序中创build一个Node.js服务器,以便能够通过它运行node.js应用程序。 该应用程序将运行,因此服务器必须是本地的。
由于我无法在Chrome应用中执行设置,因此我使用了node-webkit来使我的项目工作并将我的项目设置为
一般信息
Express Server
在端口号3000
上启动。
EJS
用于ExpressJS的HTML渲染器
PeerJS Server
在端口号9000
上启动。
IndexedDB
用于数据库目的。
PouchDB
被用作IndexedDB的包装
blueimp-file-upload
用于FTP over express服务器。
AngularJS
用于创build前端模块。
LUMX
被用作UI框架。
jQuery is used for DOM Manipulation
。
Velocity
用于更stream畅的animation。
完整的代码可以在我的github pulic回购https://github.com/sumitkumar1209/PQ-PinQuip-Messenger