在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:koajs/workshop开源软件地址:https://github.com/koajs/workshop开源编程语言:JavaScript 95.3%开源软件介绍:koaIn this workshop, you will learn the basics of koa, Express' spiritual successor. This workshop was created for the 2014 LXJS conference in Lisbon, Portugal, and will be continuously maintained. If you have any questions or have suggestions for additional exercises, please let us know! ResourcesThis workshop assumes you've had experience with:
ES6 generators are relatively new. This training will only give you a superficial look into generators. You should read these resources before and after doing this workshop:
InstructionsInstall node 0.11.13+. Using nvm install 0.11.13
nvm use 0.11.13 You can also install it directly from http://nodejs.org or using various other node version managers such as n. Then you must install this workshop. You can either fork this workshop (recommended) or clone it: git clone git://github.com/koajs/workshop
cd workshop Then install all the dependencies: npm install
npm install -g mocha Go through each training, which are stored in folders, in numerical older.
Read the mocha --harmony-generators test.js If you get an error message like Learning more than just KoaAlthough writing tests is not part of this workshop,
you should still learn how they work.
An important part of creating apps is creating the tests for it.
Inspect the After you finish each training,
you may want to git commit -a -m "i finished training 1!" Many small commits is good practice! Contact |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论