All Projects → carolcoral → WebAppReader

carolcoral / WebAppReader

Licence: other
基于 html5 、 Vue.js 、 Koa、Node.js 以及 EJS 的手机小说阅读器。使用 node.js 模拟后台数据,无实际后台,完全的前后端分离开发。

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to WebAppReader

Nodejs Koa Blog
基于 Node.js Koa2 实战开发的一套完整的博客项目网站
Stars: ✭ 1,162 (+7646.67%)
Mutual labels:  koa, ejs
campus-leaflets
校园传单是一个使用 Node.js、MongoDB、Koa、EJS、MDL、Less、RequireJS 和 Gulp 开发的 Node 应用程序。
Stars: ✭ 16 (+6.67%)
Mutual labels:  koa, ejs
numvalidate
Phone number validation REST API
Stars: ✭ 54 (+260%)
Mutual labels:  koa
koa-to-serverless
只需要改一行代码就能够让你的 Koa 框架应用在 Serverless 架构环境上运行
Stars: ✭ 28 (+86.67%)
Mutual labels:  koa
vue-koa2-login
🍥 Vue + Koa2 实现前后端注册登录流程
Stars: ✭ 23 (+53.33%)
Mutual labels:  koa
jekyll-data
A plugin to read '_config.yml' and data files within Jekyll theme gems
Stars: ✭ 40 (+166.67%)
Mutual labels:  reader
osmosfeed
Turn GitHub into an RSS reader
Stars: ✭ 839 (+5493.33%)
Mutual labels:  reader
easy reader
⏮ ⏯ ⏭ A Rust library for easily navigating forward, backward or randomly through the lines of huge files.
Stars: ✭ 83 (+453.33%)
Mutual labels:  reader
LANraragi cn
This repo is a fork of Difegue / LANraragi , those things i've done was to translate this repo into chinese ,and fix chrome browser js problem.
Stars: ✭ 147 (+880%)
Mutual labels:  reader
DocumentReader-iOS
iOS Framework for reading and validation of identification documents
Stars: ✭ 54 (+260%)
Mutual labels:  reader
koa-whistle
This package is no longer maintained(该模块不再维护)
Stars: ✭ 11 (-26.67%)
Mutual labels:  koa
koa-subdomain
Simple and lightweight Koa middleware to handle multilevel and wildcard subdomains
Stars: ✭ 23 (+53.33%)
Mutual labels:  koa
ytmous
Anonymous Youtube Proxy
Stars: ✭ 60 (+300%)
Mutual labels:  ejs
Reader
高仿多看阅读器apk,支持PDF解析.文档支持搜索,高亮文字,墨迹等功能
Stars: ✭ 98 (+553.33%)
Mutual labels:  reader
HIMS
Hospital Information Management System create using Node Js
Stars: ✭ 41 (+173.33%)
Mutual labels:  ejs
TradeByte
💸 TradeByte - Stocks Trading Simulation WebApp
Stars: ✭ 30 (+100%)
Mutual labels:  ejs
hyouka
Um bot open-source com dashboard incluída
Stars: ✭ 12 (-20%)
Mutual labels:  ejs
chatroom
💬chat
Stars: ✭ 56 (+273.33%)
Mutual labels:  koa
koa-shopify-auth
DEPRECATED Middleware to authenticate a Koa application with Shopify
Stars: ✭ 82 (+446.67%)
Mutual labels:  koa
Ichaival
Android client for the LANraragi manga/doujinshi web manager.
Stars: ✭ 89 (+493.33%)
Mutual labels:  reader

WebAppReader

基于 html5 和 Vue.js 的手机小说阅读器

在线访问地址

版权

请注明代码来源和版权所属!@Copyright CarolLiu

DownLoad 下载

技术结构:

  • 前端采用 Html5 和 Vue.js 以及 Koa 框架进行开发;
  • 模拟后台数据使用 EJS 模版的路由功能以及 node.js;

项目目录结构

~
|-- mock
|    |-- book
|           |-- 18218.json
|    |-- channel
|           |-- female.json
|           |-- male.json
|    |-- reader
|           |-- data
|               |-- data1.json
|               |-- data2.json
|               |-- data3.json
|               |-- data4.json
|           |-- chapter.json
|    |-- bookbacket.json
|    |-- category.json
|    |-- home.json
|    |-- rank.json
|    |-- test.json
|
|-- node_modules
|    |-- *
|
|-- service
|    |-- webAppService.js
|
|-- static
|    |-- css
|           |-- all.css
|           |-- reset.css
|           |-- index.css
|    |-- img
|           |-- back.png
|           |-- female.png
|           |-- male.png
|           |-- category.png
|           |-- rank.png
|    |-- script
|           |-- pages
|               |-- book.js
|               |-- category.js
|               |-- channel.js
|               |-- index.js
|               |-- rank.js
|               |-- search.js
|           |-- jquery.base64.js
|           |-- vue.js
|           |-- zepto.js
|           |-- jquery.jsonp.js
|    |-- test.js
|
|-- view
|    |-- include
|           |-- common-header.html
|           |-- header.html
|           |-- index-female.html
|           |-- index-hot.html
|           |-- index-free.html
|           |-- index-bottom.html
|           |-- index-recommend.html
|           |-- index-male.html
|           |-- index-self.html
|           |-- index-top.html
|    |-- book.html
|    |-- category.html
|    |-- channel.html
|    |-- female.html
|    |-- index.html
|    |-- male.html
|    |-- rank.html
|    |-- reader.html
|    |-- search.html
|    |-- test.html
|    |-- user-center.html
|
|-- app.js
|-- package.json

插件安装(已成功安装 node.js 和 npm)

  1. 安装插件的配置信息已经包含在 package.json 文件中;
  2. 打开控制终端,切换到项目文件下;
  3. touch package.json

  4. vim package.json

  5. 复制项目总 package.json 中的内容进去;
  6. node package.json

启动并使用项目

  1. 打开控制终端;
  2. 切换路径到 WebAppReader 的当前路径下;
  3. node app.js

  4. 在浏览器中输入地址:localhost:端口即可进入项目首页;
  5. 端口修改在 app.js 文件中的 app.listen:端口进行修改

注意:

当使用 node app.js开启服务后,关闭控制终端服务会同时关闭,若想要服务一直在后台运行,请使用命令node app.js forever pm2,如果使用forever pm2命令后断开 ssh 连接网站被关闭的问题,可以尝试使用下面这条指令nohup node app.js &,其中 & 是为了某些不是守护进程加上的。使用该命令后回车,然后输入exit;即可断开 ssh 连接,然后再退出终端,此时站点依然在服务器后台运行,并没有关闭。

Issues

1.端口占用

  • Windows 系统:

    1. 在控制终端输入netstat -ano|findstr "端口" ,查找占用了该端口的 PID;

    2. 输入 taskkill /f /pid 占用的pid号 ,强制关闭该 PID。

    3. 或者直接修改 app.js 中的监听端口,然后重启服务。

  • Ubuntu 系统:

    1. 终端输入netstat -ap | grep 端口,查询占用端口的 PID;

    2. 输入kill -9 PID终止占用端口的 PID。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].