@aakashdeveloper/create-node-app 中文文档教程

发布于 3年前 浏览 18 项目主页 更新于 3年前

这是节点 js 的种子应用程序

Available Scripts

当前版本 Commitizen友好”></a> 
  <a href=semantic-release Greenkeeper 徽章 npm downloads

How To Start

在 node_modules 文件夹内

  • Globally install this module with npm "npm install -g @aakashdeveloper/create-node-app"
  • Go to the directory where you want to generate the project files
  • Run "generate" in shell/cmd and follow the instructions.
  • Inside your newly created project folder run "npm start".
  • Navigate to http://localhost:7600

Available Script

  • npm start
  • npm run dev
  • npm run test

Available Test Script

npm test

使用 Mocha 和 chai 进行测试 在测试文件夹中添加测试用例

Database connector

的 mongodb 文件

添加了所有GET 邮政 放 删除 操作只需在需要的地方调用 mongodb 文件

Added Redis Sample code

  • Connect application with redis
  • Install redis server
  • Sample code is in src/node-redis-sample.js

Added view engine layer

  • added ejs script
  • added lint

www.aakashhanda.me

This is the seed application for node js

Available Scripts

current version Commitizen friendly semantic-release Greenkeeper badge npm downloads

How To Start

Inside node_modules folder

  • Globally install this module with npm "npm install -g @aakashdeveloper/create-node-app"
  • Go to the directory where you want to generate the project files
  • Run "generate" in shell/cmd and follow the instructions.
  • Inside your newly created project folder run "npm start".
  • Navigate to http://localhost:7600

Available Script

  • npm start
  • npm run dev
  • npm run test

Available Test Script

npm test

Using Mocha and chai for testing Add test cases in test folder

Database connector

Added mongodb file with all

GET POST PUT DELETE Operation just call mongodb file where ever required

Added Redis Sample code

  • Connect application with redis
  • Install redis server
  • Sample code is in src/node-redis-sample.js

Added view engine layer

  • added ejs script
  • added lint

www.aakashhanda.me

更多

友情链接

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文