create-tibbs-stack
v1.0.0
Published
A CLI tool to quickly scaffold full stack applications with frontend and backend
Downloads
5
Maintainers
Readme
Create MVC Fullstack
A CLI tool to quickly scaffold full stack applications with frontend and backend, supporting both API-only and full stack projects.
Features
- API Only Projects: Create backend-only applications with Express or Hono
- Full Stack Projects: Create complete applications with frontend and backend
- Multiple Databases: PostgreSQL, MongoDB, MySQL, SQLite
- Language Support: JavaScript and TypeScript
- Frontend Frameworks: Vite and Next.js
Usage
Interactive Mode
npx create-mvc-fullstackDirect Template Usage
npx create-mvc-fullstack my-project --template fullstack-vite-pg-ts
npx create-mvc-fullstack my-api --template api-pg-tsAvailable Templates
API Only Templates
api-pg-ts- Express + PostgreSQL + TypeScriptapi-pg- Express + PostgreSQL + JavaScriptapi-mongo-ts- Express + MongoDB + TypeScriptapi-mongo- Express + MongoDB + JavaScriptapi-mysql-ts- Express + MySQL + TypeScriptapi-mysql- Express + MySQL + JavaScriptapi-sqlite-ts- Express + SQLite + TypeScriptapi-sqlite- Express + SQLite + JavaScriptapi-hono-pg-ts- Hono + PostgreSQL + TypeScriptapi-hono-pg- Hono + PostgreSQL + JavaScript
Full Stack Templates
fullstack-vite-pg-ts- Express + PostgreSQL + TypeScript + Vitefullstack-vite-pg- Express + PostgreSQL + JavaScript + Vitefullstack-vite-mongo-ts- Express + MongoDB + TypeScript + Vitefullstack-vite-mysql-ts- Express + MySQL + TypeScript + Vitefullstack-next-pg-ts- Express + PostgreSQL + TypeScript + Next.jsfullstack-next-pg- Express + PostgreSQL + JavaScript + Next.jsfullstack-next-mongo-ts- Express + MongoDB + TypeScript + Next.jsfullstack-next-mysql-ts- Express + MySQL + TypeScript + Next.js
Project Structure
API Only Projects
my-project/
├── app.ts
├── controllers/
├── models/
├── routes/
├── db/
├── package.json
└── ...Full Stack Projects
my-project/
├── backend/
│ ├── app.ts
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── db/
│ └── package.json
├── client/
│ ├── src/
│ ├── public/
│ └── package.json
├── package.json
└── ...Getting Started
For API Only Projects
cd my-project
npm install
npm run devFor Full Stack Projects
cd my-project
npm run install:all
npm run dev # Runs both backend and frontendDevelopment Scripts
Full Stack Projects
npm run dev- Start both backend and frontend in development modenpm run dev:backend- Start only the backendnpm run dev:frontend- Start only the frontendnpm run build- Build both backend and frontendnpm run install:all- Install dependencies for all parts
Differences from create-mvc-server
This package (create-mvc-fullstack) includes both API-only and full stack templates, while the main create-mvc-server package focuses on API-only projects. Use this package when you want the flexibility to create either type of project.
License
MIT
