a simple bash script that creates a folder structure that I prefer for a nodejs project.
projectName
| .env
| server.js
|
|---config
| | db.js
|
|---controllers
|
|---middleware
|
|---models
|
|---routes
|
|---utils
For the current user:
curl https://raw.githubusercontent.com/shivajichalise/nodepfs/main/nodepfs > ~/usr/local/bin/nodepfs && chmod +755 ~/usr/local/bin/nodepfs
Or simply copy the nodepfs
file to a location in your $PATH
and make it executable.
- simple run
nodepfs <project-name>
Star the repository on Github
Follow shivajichalise on Github