Giter Club home page Giter Club logo

librejo's Introduction

个人图书馆管理网站

功能

  • 管理图书
  • 个人主页
  • 借阅管理
  • 阅读进度管理
  • 笔记管理
  • 导入豆瓣已读
  • 导入豆瓣笔记
  • 绑定豆瓣(豆瓣已关闭开放平台)
  • 移动端适配
  • 部署脚本
  • ifttt支援

目录说明

  1. bin - 服务启动入口
  2. interface - 业务接口实现
  3. frontend - 前端代码
    1. assets - 前端资源
    2. components - 前端组件
    3. config - 运行与编译变量配置
    4. libs - 前端工具
    5. store - vue store
    6. template - 界面模板
    7. theme - 全局演示
    8. views - 界面 vue 文件
  4. lib - 公共类库
  5. pubilc - 静态资源
  6. routes - 服务路由
  7. view - 视图
  8. script - 脚本

配置说明

  1. 新建数据库db(根据需要,第二步配置时填入);
  2. 执行npm run init,并根据提示填写信息(仅第一次);
  3. 若需要重新配置数据库,则运行npm run initdb
  4. 若需要重置某个表,如:重置account表,则执行npm run initdb -- account

调试说明

  1. 执行npm install;
  2. 前端执行npm run dev,后端使用 Visual Studio Code 运行调试(直接按下F5即可)。

部署说明

服务器需安装nodejsnpm。部署执行如下脚本:

npm install

编译前端代码:

npm run build

启动服务:

npm start

以守护进程方式,启动服务:

forever start ./bin/www

or

pm2 start ./bin/www

端口号

  • 6789 (可在config.jsonnpm run init配置)

librejo's People

Contributors

imlinhanchao avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.