相册管理插件Node.js

Introduction for Album-Manager

this is my module for manager photo albums based on a directory.we assume that: give a path, there is an albums sub_folder, abd each od its individual sub-folders are themselves the albums. files in these sub-folers are photos.

Album-Manager

The album manager exposes a single function : "albums" which returns an array of "albums" objects for each album it contains.

Albums Object

The Album object has the following two properties and one method:

/v1/albums.json --> get all of the albums. /v1/albums/:album_name.json --> get one of the album. /pages/:page_name --> Calling this method will return all the album's photos. How to use

clone the respository cd Album-Manager
npm install --save
node server.js
welcome to star the Album-Manager.
如果喜欢,欢迎star这个项目。

版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。