1.0.5 • Published 5 months ago
create-studiorosell-app v1.0.5
Create Studio Rosell App
A CLI tool for creating Express applications with different templates.
Installation
npx create-studiorosell-app <project-name> [template-name]
Available Templates
This tool supports three different templates:
- default: Express + TypeScript setup
- navii: Express + OpenAI + TypeScript setup
- eshop: Express + Stripe + TypeScript setup
Usage
To create a new project, run:
npx create-studiorosell-app my-app [template-name]
Example:
npx create-studiorosell-app my-shop eshop
Project Structure
After creation, your project will have the following structure:
your-project/
├── src/
│ ├── server/ # Backend logic (Express setup)
│ │ └── index.ts
│ └── client/ # Frontend views (if applicable)
├── package.json
└── README.md
Features
- TypeScript support out of the box
- Multiple template options
- Automatic dependency installation
- Pre-configured project structure
- Generated README with project documentation
Templates Details
Default Template
- Express.js with TypeScript
- Basic server setup
- Entry point:
src/server/index.ts
Navii Template
- Express.js backend
- OpenAI integration
- TypeScript integration
- Entry point:
src/server/index.ts
eShop Template
- Express.js backend
- Stripe integration
- TypeScript integration
- Entry point:
src/server/index.ts
Getting Started
After creating your project:
Navigate to your project directory:
cd <project-name>
Start the development server:
npm start
Contributing
Only for Studio Rosell employees.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Created by Studio Rosell