This is a progressive web application for students in Chongqing University of Posts and Telecommunications, for class schedules.
这是一个简单的PWA应用,重邮课表. 在线预览
This project now contains browser-side code and server-side code, considering to separate this repo to two.
app.js -- server-side, Express app.js
classtools/ -- server-side, Express api dependency
index.html -- browser-side, site index page
node_modules/
README.md
static/ -- browser-side, for static files,
bin/ -- server-side, launch the Express
config/ -- browser-side, webpack config
LICENSE
package.json
routes/ -- server-side, Express route
build/ -- browser-side, webpack config
cykb.json -- server-side, pm2 config
manifest.json -- browser-side, make browser to take your web page as a application
public/ -- server-side, browser-side builded folder
src/ -- browser-side, the vue source code
views/ -- server-side, the Express views
Just open an issue.
- Clone this repo.
- Change path to this project root folder & run
npm install
in CLI. - Run
npm run dev
, wirte your code . - Run
npm run build
to build this app to public folder. - Run
npm run start
to serer public serve this poject atlocalhost:3000
.
- Run
npm run build
to generate dist files atpublic
folder. - If you are using pm2, just run
pm2 start cykb
in CLI. You could modify environment's prameters incykb.json
file, such asPORT
. - Otherwise, do it yourself.
(Email)[mailto:[email protected]]