This Application is based on WeChat Official Accounts, which uses ReactJS, Webpack, Gulp and Sass as its core tech, keeps the main trade logic from yiqiguang Hybrid App.
Following features about this APP:
- Removes all the communications between JS and Native
- Adds a new page generator to optimize the time while creating a whole new page, which contains of template, entry and style files
- Weixin pay is the only supported pay chanel, will supports more chanels in the coming future
- Codes should be developed in your own branch, such as 'feature_PersonalInfo_John', 'feature_PayStatus_Drizzle', 'feature_HomePage_Catherine'
- Codes should be self tested before your commits/pushes, if your codes are not ready to be pushed, use 'git stash' to save your working field
- We don't force you to add '--rebase' while pulling codes
Just run "gulp build" in this root folder
Just run "gulp" in this root folder
We can use "node genpage.js PageName [html|ftl]" to create a new page skeleton default clientWidth is 375px, make sure if the size is right. (set it in [pageName].html)
Run "node proxy.js", which leads your requests to a local http(currently supported) proxy listening at port 3001, you need to check your "config.json" file first in order to get the correct responses
- HomePage
- Test
- etc...
Haven't been desinged now
- CookieUtil
- DataUtil
- RequestUtil
- UrlUtil
- StringUtil
- WeixinUtil
- CacheManager
- etc...
switch environment in './src/javascript/extend/config/config.json'(fields: 'current')
- local Run "node proxy.js" when you need to request remote(AJAX)
- dev Use mock data instead of requesting remote.
- test Branch 'develop'
release- master Branch 'master'