| With the rapid development of network technology, network has become a pipe of files distribution. File as a basic unit of the network transmission, saving and managing appropriately is the focus of this paper to research. In the traditional way, files are stored and managed locally. But cloud storage relied on the network interconnection of storage equipment, can more effectively achieve the online storage and improve file managing convenience, security, and reliability.The purpose of this paper is to design and implement a document management platform based on NodeJS and cloud storage. First of all, the platform utilizes(Linux + NodeJS + Express + MySQL) architecture to realize an extensible, lightweight Web server; Secondly, implement file uploading, deleting and other functions with web technology and the advantage of file storage and management service of cloud storage; Furthermore, achieve various functional management, including online file sharing, documents previewing, multimedia playing, users interacting, as well as community resources sharing etc. Moreover, employ HTML5 WebSocket protocol to establish a full-duplex, real-time messaging channel, and then complete various types of messages and user notifications distribution. Finally, the platform will be deployed to AliCloud Elastic Compute Service. And test the functions and performance of online platform systematically.In conclusion, all targets are achieved and conform to desired goals after a comprehensive test. A high-performance, high-availability Web server is built with NodeJS. Online files are managed effectively with the low-cost, high-performance, manageable benefits of cloud storage. Different types of files can be previewed online with the Web front-end technology. |