create-webforge-app v1.0.1
๐ WebForge - Create My App CLI ๐
Welcome to WebForge! ๐\ A powerful CLI tool crafted by whoviks to effortlessly scaffold your projects. From frontend to full-stack magic, WebForge has got you covered! ๐ฅ
๐ Project Structure
๐ฆ src
โฃ ๐backend.js
โฃ ๐banner.js
โฃ ๐cli.js
โฃ ๐features.js
โฃ ๐frontend.js
โ ๐utils.js
โฃ ๐package.json
โ ๐README.md
โจ Key Features
โ Frontend Options: React (Vite) or Next.js\ โ Full-stack: MERN (MongoDB) or PERN (PostgreSQL)\ โ Backend Options: Express with MongoDB/PostgreSQL, plus optional EJS\ โ Bonus Goodies: Docker ๐ณ, CORS ๐, GraphQL ๐, .env ๐\ โ Developer Delight: Auto-opens VS Code right into your new project! ๐
๐ Usage Example
To start scaffolding your next awesome project, simply run:
npm create webforge-app
Example Output
โโโ โโโโโโโโโโโโโโโโโโ โโโโโโโโ โโโโโโโ โโโโโโโ โโโโโโโ โโโโโโโโ
โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโ webforge cli
โโโ โโ โโโโโโโโโ โโโโโโโโโโโโโโ โโโ โโโโโโโโโโโโโโ โโโโโโโโโโ ver - 1.0.0
โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโ โโโ โโโโโโโโโโโโโโ โโโโโโโโโ ----------
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ @ Whoviks
โโโโโโโโ โโโโโโโโโโโโโโโ โโโ โโโโโโโ โโโ โโโ โโโโโโโ โโโโโโโโ
๐ Welcome to webforge by whoviks! Forge your web app with ease! ๐
? Enter your project name (press Enter or type '.' for 'npm-pack'): ๐ test-app
๐ Forging project at 'PATH/test-app'...
? Select your language: ๐ป JavaScript
? What type of web project do you want? ๐ ๏ธ MERN Stack
๐ Setting up frontend in '/PATH/test-app/frontend'...
> create-webforge-app@1.0.0 npx
> create-vite . --template react
โ
โ Scaffolding project in PATH/test-app/frontend...
โ
โ Done. Now run:
npm install
npm run dev
โ Vite setup completed!
๐ Setting up backend in 'PATH/test-app/backend'...
โ package.json initialized!
โ Express installed!
โ MongoDB (mongoose) installed!
โ MongoDB configured!
โ Server file (server.js) created!
โ package.json scripts updated!
? Add extra features to your forge:
๐งฐ Docker ๐ณ, CORS ๐, GraphQL ๐, Environment Variables (.env) ๐
โ Environment variables (.env) configured!
โ CORS installed and configured!
โ GraphQL installed and configured!
โ Docker configured!
โ Additional dependencies installed!
? Initialize a Git repository? ๐ Yes
โ
Git repository initialized!
๐ Project 'test-app' forged successfully! ๐
**Instructions**:
- Frontend: cd test-app/frontend && npm install && npm run dev
- Backend: cd test-app/backend && npm install && npm run start
๐จโ๐ป Opening 'PATH/test-app' in VS Code...
โ VS Code opened successfully!
๐ค Contributing
We โค๏ธ contributions! Whether it's fixing bugs, adding features, or improving documentation, your input is valuable.
How to Contribute
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-awesome-feature
- Commit your changes:
git commit -m "Add: Your detailed message"
- Push to your branch:
git push origin feature/your-awesome-feature
- Open a Pull Request
๐ก Future Roadmap
๐ฎ Add more frameworks like Svelte & Solid.js\ ๐ฎ Built-in template support for Tailwind & Chakra UI\ ๐ฎ Generate CI/CD pipelines (GitHub Actions) automatically
๐ License
This project is licensed under the MIT License. See the LICENSE file for details.
Happy Building! ๐ปโจ