@cvyadnik/quicknode v1.0.0
š QuickNode CLI
š QuickNode is a simple Node.js CLI tool that helps you quickly scaffold a Node.js + Express project with a database of your choice.
š„ Installation
To install QuickNode globally from npm, run:
npm install -g @cvyadnik/quicknodeš Usage
Once installed, you can create a new project by running:
quicknodeThen, follow the interactive prompts:
1ļøā£ Enter your project name
2ļøā£ Select a database (MongoDB, MySQL, PostgreSQL, SQLite)
After that, QuickNode will:
- Set up the project folder structure šļø
- Create necessary configuration files š
- Install all dependencies automatically š¦
- Get your project ready for development š
ā¶ļø Run Your Project
Once your project is created, navigate into the directory:
cd your-project-nameStart the development server:
npm run devOr start it in production mode:
npm startš Folder Structure
Your project will be generated with the following structure:
your-project-name/
āāā src/
ā āāā config/ # Database configurations
ā āāā controllers/ # Business logic
ā āāā models/ # Database models
ā āāā routes/ # API routes
ā āāā services/ # Reusable services
ā āāā middlewares/ # Express middlewares
ā āāā utils/ # Utility functions
ā āāā validations/ # Request validations
ā āāā logs/ # Log files
ā āāā app.js # Express app setup
ā āāā server.js # Server entry point
āāā .env # Environment variables
āāā package.json # Project metadata
āāā README.md # Documentationš Supported Databases
QuickNode supports the following databases:
- MongoDB (Mongoose)
- MySQL (Sequelize)
- PostgreSQL (Sequelize)
- SQLite (Sequelize)
ā Updating QuickNode
If a new version is released, update it with:
npm update -g @cvyadnik/quicknodeš¤ Contributing
Feel free to fork this repository, submit pull requests, or open issues for feature requests!
š License
This project is MIT licensed.