projects-init-cli
v1.1.0
Published
CLI tool to initialize projects with customizable frontend, backend, and storage options
Maintainers
Readme
Projects Init CLI
A powerful CLI tool to initialize monorepo projects with customizable frontend, backend, and storage options.
Features
Frontend Options
- Next.js - React framework with Tailwind CSS
- React - React with Vite and Tailwind CSS
- HTML - Plain HTML with Tailwind CSS and Vite
Backend Options
- Express.js - Node.js web framework
- NestJS - Progressive Node.js framework
- FastAPI - Modern Python web framework
- AWS CDK - Infrastructure as code
- AWS SAM - Serverless Application Model
Storage Options
- CDK Database - Create database using AWS CDK
- Local SQLite - SQLite database for local development
- External Database URL - Connect to existing database
Database Types
- SQL: Raw SQL or Prisma ORM
- NoSQL: DynamoDB or MongoDB
API Types (for Express/NestJS)
- REST API
- GraphQL
Installation
Global Installation
npm install -g projects-init-cliLocal Installation
npm install
npm run build
npm linkUse with npx (No Installation Required)
npx projects-init-cliUsage
Run the CLI tool:
projects-initThe tool will guide you through interactive prompts to select:
- Project name
- Frontend framework
- Backend framework
- Storage option
- Database type (if applicable)
- Database options (SQL/NoSQL, ORM, etc.)
- API type (for Express/NestJS)
Example
$ projects-init
🚀 Project Initializer CLI
? What is your project name? my-awesome-app
? Select frontend framework: Next.js (with Tailwind)
? Select backend framework: Express.js
? Select storage option: Local SQLite (Node.js)
? Select database type: SQL
? Select SQL option: Prisma ORM
? Select API type: REST API
✅ Project created successfully!
Next steps:
cd my-awesome-app
npm install
npm run devProject Structure
Generated projects follow a monorepo structure:
my-project/
├── frontend/ # Frontend application
├── backend/ # Backend application
├── package.json # Root package.json with workspaces
└── README.md # Project documentationDevelopment
# Install dependencies
npm install
# Build the project
npm run build
# Run in development mode
npm run devLicense
MIT
