目前就职于一家外企外包,做前端开发,前端主要框架是用Angularjs(Old UI)和Angular4.0(New UI),主要是解决一些Customer Issues 和一些Defects。
外企会主要用Jira来做项目的跟进和记录,就是做一些features,issues,defects的分配,跟进,讨论和记录工作,上面可以添加comments,上传截图,多人讨论和schedule Task等等,很方便。像开会skype,slack,等即时聊天工具,以及通过Microsoft outlook来收发邮件等
每天都会有scrum meeting以及每周的progress meeting和weekly task report,还可以在wiki上分享自己的一些项目总结和心得,供项目组其他成员使用和借鉴,以及可以正常访问google以及国外的一些技术网站,当然这些需要连接Vpn才能使用。
1.本地代码调试和验证。
Old UI 是基于Nodejs ,在service/src/main/proxy.js 文件中会有一些相关的配置做代理来实现本地连接服务器的数据访问。需要获取服务器的某个接口的Request Headers 中的 x-auth-token: 356689a0-ee11-489a-8306-3830699c910c
/*** proxy.js control livereload dev server connect to ,it connect to localhost for development and devServer machine for fast UI debug.*/
const _ = require('lodash');
/*** MACHINE LIST: add machine specific attributes here.*/
const MACHINE = {
LOCALHOST: {
target: 'http://localhost:8080'
}
, serverName1: {
target: 'https://www.baidu1.com'
}
, serverName2: {
target: 'https://www.baidu2.com'
}
, serverName3: {
target: 'https://www.baidu3.com'
}
};
/*** To Set the proxy to devServer, do following*
* 1. change CONNECT_TO to MACHINE.serverName1 and MACHINE.serverName2
* 2. change ACCESS_TOKEN
* 3. if CONNECT_TO is set to MACHINE.LOCALHOST no access token is needed
*/
var CONNECT_TO = MACHINE.serverName1;
var ACCESS_TOKEN = 'd70ec310-10f2-4e78-b249-89cbe1d0865b';
/**
* COMMON_ATTRS:
** Secure : false*
* headers: { ACCESS_TOKEN }*
* retrieve the token directly from the URL of the session you want to debug
* gulp has to be restarted when you update this
*/
const COMMON_ATTRS = {
changeOrigin: true,
secure: false,
headers: {
'x-auth-token': ACCESS_TOKEN
}
};
module.exports = _.extend(COMMON_ATTRS, CONNECT_TO);
然后本地需要通过gulp xxx (注意是在node目录下)来启动本地应用,然后就可以愉快的调试了。一般都会在README.md文件中详细的项目如何运行说明。
未完待续。。。