랭킹으로 돌아가기
CNode 社区 Egg 版本
eggcnodecnode-egg
주요 지표
스타 성장
스타
1.5k
포크
271
주간 성장
—
이슈
27
5001k
2023년 1월2023년 8월2024년 3월2024년 10월2025년 5월2025년 12월2026년 7월
아티팩트npm
npm install egg-cnodeREADME
cnode
QuickStart
see egg docs for more detail.
Environment Dependencies
macOS Install
brew install redis mongodb
brew services start redis
brew services start mongodb
Linux Install
TBD
Windows Install
TBD
Development
$ npm i
$ npm run dev
$ open http://localhost:7001/
Deploy
// {app_root}/config/config.prod.js
exports.mini_assets = true;
exports.alinode = {
// 从 `Node.js 性能平台` 获取对应的接入参数
appid: process.env.EGG_ALINODE_APPID || '',
secret: process.env.EGG_ALINODE_SECRET || '',
};
$ npm i --production
$ npm run assets
$ npm start
$ npm stop
npm scripts
- Use
npm run lintto check code style. - Use
npm testto run unit test. - Use
npm run autodto auto detect dependencies upgrade, see autod for more detail.
Tutorials
관련 저장소