A Vue.js project with express(in processing)/REMOVE UPDATES TO UPDATE.md
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --reportFor detailed explanation on how things work, checkout the guide and docs for vue-loader.
Until 2018, complete a website.
And,
- SEVER is based on express
- Fonter is based on Vue
- UI is based on vue-material
The jobs of vue showed:
├── vue
├── vue-hot-reload-api
├── vue-loader
├── muse-ui - UI库/Material-design
├── vue-resource - vue向服务器发起请求
├── vue-router - 由于Vue属于单页面应用,该插件用于处理页面中不同路由跳转
├── vee-validate - Front end verification
├── vue-style-loader
├── vue-template-compiler
├── vue-template-es2015-compiler
├── vuex - Vue状态处理插件,数据来源于服务器.即Vue发起AJAX请求
And the workflow of vuex showed below:
The jobs of express showed:
- More datasets
- More pages
- More funcs backend
Use Mongoose to manager Mongodb, and the datasets stored in Mlab Driver
What kind of data should be fetched when user login!
- follow apps
- owner apps(created by themself), and followers
What the UserDataSets should contain?
- nickname
- password
- account
- followapps
- ownerapps
Return apps' data when user login or request a get by apps' list?
What the APPSDataSets should contain?
- headers(avatar/name)
- info(creater, type, follow, post, body)
- home
First Commit
- The Home-Page
- The Login-Page
- The Download-Page
Should contain funcs of datasets.
- loginin-router
- add history mode in router
- login-vuex
- hello world
- post data to server(http://localhost:3000)
- mongodb datasets
- create free clound datasets
- how the mongodb work
- service
- cors
- create sheet in datasets/link to datasets
- add jwt-simple to server-login-router
- move secret into config
- login.vue
- modify postdata
- UI
- background
- input filed
- hello bar
- button
func complete!
This page similar to LOGININ-PAGE, we need add new actions/mutations(such as:check account...) to REG-PAGE/LOGIN-PAGE
- REG.vue
- panel
- simple validate
- validate nickname/account/password/passwordConfirmed in vee-validate'sapi-way
- REG-vuex
- action-check: post data to server
- server
- check info in datasets
- add newuser-info into datasets
- add new Router process check nickname and password, Returns in a specific format
- UI
Click wake-button, enter chatroom in each pages!Still in Processing!
- vue
- init message from state
- init threads in list from state
- add click thread func
- api
- create message template
- read office message from office.js
- actions
- sendMessage
- switch thread
- mutations
- add message to state
- init office-message come from api
- switch thread to set currentThreadId
- store thread in local
- socket
- connect to server by socket
- send message and receive(me send to me)
- xmind for message flow
- store messsages in localStorage
- send message from another side!(in .js file)
- add/delte friend!
- server
- connect to client
- auth token
- UI
- message-thread, title
show some info of all the apps:
- can serach.
- has pages
it's alpha version now!
- - compelete office type
- - user type: post user data/and modify
- - UI
- - datasets
- - server
- - get/post from/to server
- auto fetch data when data change
alpha verson components:
- home - show info sketch/can modify some things
- follows - some rows: follow apps/friends
Should contain brief of this website.



