banah v1.0.5
📜 Table of Contents
💡 About
Banah JS is a CLI tool designed to scaffold a fully functional Node.js project with just one command.
No need to manually install and configure essential dependencies—Banah JS takes care of everything, including creating an initial project structure, a package.json
file, and commonly used boilerplate code.
⚙️ Installation
Install Banah JS globally using npm:
npm install -g banah
🚀 Getting Started
To create a new Node.js project, run the following command:
banah create your-project-name
This will:
- Create a folder named
your-project-name
. - Generate a pre-configured project structure.
- Install essential dependencies like
express
,cors
,dotenv
, and development tools likenodemon
.
Once the setup is complete, navigate to your project folder:
cd your-project-name
✨ Features
- Express.js: A lightweight and fast web framework for server-side logic.
- CORS: Simplifies handling of cross-origin requests.
- dotenv: Makes managing environment variables easy and secure.
- Nodemon: Automatically restarts the server during development whenever you save changes.
- Pre-configured Project Structure: Start coding right away without worrying about boilerplate setup.
- Readable Code: Clean and modular project code to help beginners understand Node.js.
🛠️ Usage
Start the Application
To start the server:
npm run start
Development Mode
Run the server in development mode with automatic restarts:
npm run server
The server will be available at http://localhost:3000
by default.
🧑🤝🧑 Contributing
Contributions are welcome! Follow these steps to contribute:
- Fork this repository.
- Create a new branch for your feature or fix:
git checkout -b feature/YourFeature
- Make your changes and commit them:
git commit -m 'Add YourFeature'
- Push to your branch:
git push origin feature/YourFeature
- Open a pull request and provide a detailed description of your changes.
📄 License
This project is licensed under the MIT License.
🤝 Connect with Us
For questions, feedback, or collaboration, feel free to open an issue on GitHub.