Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
nodejs-generator
Advanced tools
Setup NodeJS with your favorite frontend frameworks (ReactJS, VueJS) in same host, same port by running one command.
Setup NodeJS-Express project with your favorite frontend frameworks (ReactJS, VueJS) and run on same host, same port by running one command.
When building project, usually you may want to run your backend and frontend in one host and port, not to proxy it. If that's what you're looking for, so this tool is for you.
This project helps you setup your NodeJS app with frontend frameworks (React, VueJS) in same folder, run on same host, same port. It comes with other setups like Webpack, Babel, CSS module, SCSS, Eslint, ...
Install this package by running:
npm install -g nodejs-generator
After install this package. You're now able to create new project using command:
nodejs-generator
Choose your own project options. Then you're ready to go!
After setup new project. Follow these steps to run your project:
cd <your_project_name>
npm install
npm start # to start your project
npm run dev # to build your frontend
Then open your browser at port of your project (default is 3000
)
When running in production, I recommend:
npm run prod
or npm run production
This tool is build on top of express-generator
.
If there's any problem, question or any upgrade I should make, just create an issue and let me know.
This project is licensed under the MIT License - see the LICENSE.md file for details.
FAQs
Setup NodeJS with your favorite frontend frameworks (ReactJS, VueJS) in same host, same port by running one command.
The npm package nodejs-generator receives a total of 2 weekly downloads. As such, nodejs-generator popularity was classified as not popular.
We found that nodejs-generator 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.