- Express-Node.js Web 应用程序框架
- Mysql-最受欢迎的开源数据库
- Handlebars-高效率的语义化模板
- Bootstrap-简洁、直观、强悍的前端开发框架
-
直接下载压缩包文件,然后解压到本地(推荐).
-
如果你安装了
git
,也可以使用git clone
命令下载到本地.
git clone https://github.com/lxz612/libsystem.git
如果你没有安装Mysql
,我推荐用wamp
或xampp
集成开发环境来安装Mysql
,这样会省去很多不必要的步骤。
安装好了Mysql
后,需要按照项目中的“数据库说明”文件先建立数据表,然后在config.js配置好数据库。
注意:因为我用到了数据库事务处理,所以Mysql的内核引擎务必设置为支持事务的innoDB.
- 通过npm安装本地服务第三方依赖模块(需要已安装Node.js)
npm install
-
启动Mysql服务
-
启动node(http://localhost:8080)
npm start
1.首页 2.搜索页 3.书目信息页 4.借阅 5.登录 6.当前借阅 7.借阅历史 8.个人信息
MIT