{"id":31111843,"url":"https://github.com/parthamk/clijs","last_synced_at":"2026-06-17T20:02:29.444Z","repository":{"id":310557164,"uuid":"1040325768","full_name":"parthamk/CLIJS","owner":"parthamk","description":"Full-Stack Project setup with just one command","archived":false,"fork":false,"pushed_at":"2025-08-18T20:01:42.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-17T08:19:39.956Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parthamk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-18T19:57:38.000Z","updated_at":"2025-08-18T20:01:46.000Z","dependencies_parsed_at":"2025-08-18T22:07:43.479Z","dependency_job_id":"ffe87962-dfbd-44a9-8178-727be1f7b6d9","html_url":"https://github.com/parthamk/CLIJS","commit_stats":null,"previous_names":["parthamk/clijs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parthamk/CLIJS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthamk%2FCLIJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthamk%2FCLIJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthamk%2FCLIJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthamk%2FCLIJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parthamk","download_url":"https://codeload.github.com/parthamk/CLIJS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthamk%2FCLIJS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34463558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-17T08:10:57.851Z","updated_at":"2026-06-17T20:02:29.404Z","avatar_url":"https://github.com/parthamk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Full-Stack Project setup with just one command (cli.js)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Node.js-CLI-green?logo=node.js\u0026logoColor=white\" alt=\"NodeJS CLI\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Frontend-React%2F%20Vite-blue?logo=react\u0026logoColor=white\" alt=\"Frontend\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Backend-Express.js-black?logo=express\u0026logoColor=white\" alt=\"Backend\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Database-SQL%2FNoSQL-orange?logo=database\u0026logoColor=white\" alt=\"Database\"/\u003e\n\u003c/p\u003e\nA **Node.js CLI tool** 🛠️ that auto-generates a **full-stack project boilerplate** with your choice of **ReactJS or Vite for Frontend** and **Express.js (with SQL or MongoDB) for Backend**.\nThis saves you hours of repetitive manual setup and lets you start **coding right away** 🚀\n\n---\n\n## 🌟 Features\n\n✅ **Interactive CLI** powered by **Inquirer.js**\n✅ Choose **React (CRA)** or **Vite** as frontend framework\n✅ Support for **JavaScript** or **TypeScript**\n✅ Backend setup with **Express.js + Sequelize (SQL)** or **Express.js + Mongoose (MongoDB)**\n✅ Auto-installs **CORS, dotenv, react-router-dom** by default\n✅ Choose styling: **CSS, Bootstrap, or Tailwind CSS** 🎨\n✅ Pre-configures **frontend-backend proxy** (CRA or Vite)\n✅ Adds a default **health-check route (`/status`)** to test full-stack connectivity\n✅ Optional installation of **ESLint \\\u0026 Prettier** for clean coding\n✅ Works across **Windows, macOS, and Linux** 🖥️\n\n---\n\n## 🏗️ Technologies Used\n\n### 🔹 Core\n\n- [Node.js](https://nodejs.org/) (CLI tool \\\u0026 package manager)\n- [Inquirer.js](https://www.npmjs.com/package/inquirer) – for CLI prompts\n- [Chalk](https://www.npmjs.com/package/chalk) – for colorful CLI output\n- [fs-extra / fs](https://www.npmjs.com/package/fs-extra) – for file system handling\n\n### 🔹 Frontend Options\n\n- **React (CRA) or Vite**\n- **JavaScript / TypeScript**\n- Styling frameworks:\n  - CSS\n  - Bootstrap\n  - Tailwind CSS\n\n### 🔹 Backend Options\n\n- **Express.js** (default backend framework)\n- Database Choices:\n  - **SQL** → Sequelize + SQLite (default, can expand to PostgreSQL, MySQL, etc.)\n  - **MongoDB** → Express + Mongoose\n\n### 🔹 Optional Packages\n\n- `react-router-dom` – routing in React ⚡\n- `cors` – enable CORS in Express\n- `dotenv` – environment variable management\n- `eslint` – linting 🧹\n- `prettier` – code formatting\n\n---\n\n## 🎯 Motive of the Project\n\nThe goal of this project is to **streamline and automate full-stack setup**.\nInstead of wasting time configuring projects manually, this CLI lets you:\n\n1. **Choose your stack interactively** 🖱️\n2. **Generate ready-to-run frontend + backend apps** ⚡\n3. **Start building features instantly** 🚀\n\nThis project is built for **students, developers, and teams** who create multiple projects and want a **consistent, fast, and reliable setup**.\n\n---\n\n## 🔮 Future Implementations\n\n✨ Add **Next.js** as a frontend option\n✨ Support for **PostgreSQL, MySQL, and MongoDB Atlas by default**\n✨ Auto-generate **Dockerfile \\\u0026 docker-compose.yml** for containerization\n✨ Add **Redux / Zustand / TanStack Query** as optional frontend state managers\n✨ Auto-create **unit tests** with Jest / Mocha\n✨ Add **GitHub Actions CI/CD pipeline** support\n\n---\n\n## ⚡ Installation \\\u0026 Usage\n\n### 🔹 1. System Requirements\n\n- [Node.js](https://nodejs.org/) **v14+**\n- [npm](https://www.npmjs.com/) (bundled with Node.js)\n- Git installed (recommended for Vite and CRA)\n- Any OS: **Windows / macOS / Linux**\n\n---\n\n### 🔹 2. Clone \\\u0026 Run\n\n```bash\n# Clone this repo\ngit clone https://github.com/parthamk/CLIJS.git\ncd CLIJS\n\n# Make file executable (Linux/Mac)\nchmod +x cli.js\n\n# Run the script\n./cli.js\n```\n\n### 🔹 3. Using with Node\n\n```bash\nnode cli.js\n```\n\n---\n\n### 🔹 4. Workflow in VS Code\n\n1. Open project in VS Code:\n\n```bash\ncode .\n```\n\n2. Navigate to **server**:\n\n```bash\ncd server\nnode index.js   # Runs backend on http://localhost:5000\n```\n\n3. Navigate to **client**:\n\n```bash\ncd ../client\nnpm start       # Starts React app (frontend)\n```\n\n4. Visit:\n   - Frontend → `http://localhost:3000` (CRA) or `http://localhost:5173` (Vite)\n   - Backend → `http://localhost:5000/status`\n\n---\n\n## 📂 Project Structure\n\n```\nproject-name/\n│── client/        # React/Vite frontend\n│   └── src/       # React source files\n│── server/        # Express backend\n│   └── index.js   # Entry point (API + DB setup)\n│── cli.js         # The CLI script\n```\n\n---\n\n## 🎉 Example Welcome Screen (Frontend)\n\nWhen you run your project, the frontend will fetch backend status and show:\n\n```\n✔ Frontend is running successfully  \n✔ Server is running successfully  \nAll systems check complete. Happy hacking! 🚀\n```\n\n---\n\n## 👨💻 Contribution\n\nContributions are always welcome! 🙌\n\n- Fork repo\n- Create feature branch\n- Submit PR\n\n---\n\n## 📜 License\n\n[MIT License](LICENSE) – Free to use \\\u0026 modify.\n\n---\n\n🔥 With this CLI tool, you save **time + effort** and kickstart your dev projects with **best practices pre-configured**.\n\n\u003e 💡 Recommended: Keep this tool globally installed using:\n\u003e ``bash \u003e npm install -g . \u003e cli.js \u003e ``\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthamk%2Fclijs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparthamk%2Fclijs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthamk%2Fclijs/lists"}