
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
create-com-server
Advanced tools
`create-com-server` is basic node server cli based on EXPRESS .
For more infomation , See (here)[https://github.com/liuding-Jason/server-cli]
npm install -g create-com-server
create-com-server my-app
cd my-app
// config your own setting
cp ./config/index.js ./config/index.js
npm install
npm run dev
Different version of routers would help you to support different version of one interface ,
this would also be used in native app service , because of different versions .
In this cli , mysql would be the database . So we used mysql pool to connect mysql to keep
it running in a safe and highly efficient mode .
That is to say , if you want to use this cli , you should install mysql and run it firstly .
And We recommond you to upgrade you mysql to master and slave mode , to separate read and write requests .
In order to reduce requests of mysql and save hot data , we used single redis to do them .
That is to say , if you want to use this cli , you should install redis and run it firstly .
Redis cluster connection was also supported in this cli . And almost all componys would use
redis cluster in their productive application .
So you should upgarde redis cluster when used this cli .
It is simple , you can do it , right ?
RabitMQ is a message queue , which would run in RPC protocol and be used to decouple your process .
And we are planning to integrate it in this cli .
npm install
If you scan here , i suppose that you had install mysql and redis , and you had ran them .
And next , you should config your configure in `/config/index.js` file .
`simple server` would set `simple` of `NODE_ENV` in process.env . When server runs in this mode ,
only router and http response header would be loaded .
Type code as follow , and enjoy your server now at `http://localhost:3005` .
npm run simple
`dev server` would set `development` of `NODE_ENV` in process.env . When server runs in this mode ,
all of the server sources would be loaded . You could develop your server application .
npm run dev
`prod server` would set `production` of `NODE_ENV` in process.env . When server runs in this mode ,
all of the server sources would be loaded . You could develop your server application .
npm run prod
ISC
FAQs
A creater of node server based on express
We found that create-com-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.