backendready-togo
v1.0.0
Published
Packages for Backend, Install by one command and start your Backend journey.
Readme
backendready-togo 🚀
backendready-togo is a personal CLI (Command Line Interface) tool that installs almost all common packages required by a Node.js backend developer in a single command.
Why Was This Built? 🤔
Every time we start a new Node.js project, we have to manually install the same packages (express, mongoose, dotenv, cors, bcrypt, etc.) repeatedly. This tool was created to avoid this repetitive task and speed up the project setup process.
What Packages Get Installed? 📦
This tool currently installs the following packages:
expressnodemondotenvmongooseaxiosbcryptbwip-jscloudinarycookie-parsercorsjoijsonwebtokenmulternodemailerqrcodeslugifysocket.iosocket.io-client
Local Installation 🛠️
Since this is a personal tool, you need to globally link it on your local machine using npm link.
First, clone this project repository to your machine (or if you already have the folder, navigate into it).
In your terminal, go to the project's root folder (where
package.jsonis located) and run this command:npm link
This command will make your backendready-togo command available to run from anywhere on your system.
Usage ⚙️
Navigate to any new project folder and run the following commands:
First, create a folder for your new project and navigate into it:
mkdir my-new-backend-project cd my-new-backend-project(Optional but recommended) Initialize a
package.jsonfile:npm init -yNow, just run the command:
backendready-togo
That's it! The tool will automatically install all the packages listed above in this folder, allowing you to focus immediately on writing your project's code.
How to Customize 🔧
If you want to add more packages to this list or remove any:
- Open the
index.jsfile. - Edit the
packagesToInstallarray as you wish.
Since you are using npm link, any changes will be reflected automatically. There is no need to link the package again.
