create-node-kickstart
v1.0.6
Published
This is a NodeJS quick start package with different structures. You can choose the structure as per your preference.
Maintainers
Readme
create-node-kickstart
Scaffold a Node.js starter project in seconds using an interactive CLI.
create-node-kickstart helps you bootstrap a project by choosing:
- Language: JavaScript or TypeScript
- Code style: Class-based or Function-based structure
- Database setup: No DB, MySQL, MongoDB, or PostgreSQL
Why this package?
Setting up a new backend project often starts with repetitive folder and file creation. This CLI gives you a fast starting point so you can focus on building features.
Installation
Use npx (recommended):
npx create-node-kickstartOr install globally:
npm install -g create-node-kickstart
create-node-kickstartHow it works
When you run the command, the CLI asks:
- Project name
- Project type (
javascriptortypescript) - Project structure (
classorfunction) - Whether database integration is needed
- Database type (
mysql,mongodb,postgres) if DB is enabled
Based on your answers, it copies the matching template into a new folder.
Example flow
npx create-node-kickstart
# Enter project name: my-api
# Select project type: typescript
# Select project structure: class
# Do you want to integrate a database? Yes
# Select database: postgres
cd my-api
npm install
npm startGenerated template matrix
The package currently supports all combinations of:
javascript+class+ (base/mysql/mongodb/postgres)javascript+function+ (base/mysql/mongodb/postgres)typescript+class+ (base/mysql/mongodb/postgres)typescript+function+ (base/mysql/mongodb/postgres)
Notes
- The generator will stop if the target folder already exists.
- Templates are intentionally lightweight starter files, designed to be extended for real projects.
Development
Clone the repository and run locally:
npm install
node index.jsContributing
Contributions are welcome. Feel free to open issues or submit pull requests for:
- richer starter templates
- additional database/ORM options
- framework-specific presets
- better developer experience in prompts/output
License
ISC
