create-pigment-app
v0.1.1
Published
A command-line tool to quickly create new Pigment applications with a modern stack. Github login required.
Readme
Create Pigment App
A command-line tool to quickly create new Pigment applications with a modern stack. Github login required.
Quick Installation
From your desired folder location, run:
npx create-pigment-appThis will ask project name and it will install the core engine.
Installation
npm install -g create-pigment-appUsage
To create a new Pigment application, run:
create-pigment-appThe tool will prompt you for the following information:
- App Name: The name of your application (must be URL-safe, lowercase, and follow npm package naming conventions)
- Database: Choose between SQLite, PostgreSQL, or MongoDB
- Database Configuration: Additional database settings will be prompted based on your database choice
Features
- Creates a new Pigment application with a modern tech stack
- Interactive CLI with guided setup
- Database configuration support for:
- SQLite (default)
- PostgreSQL
- MongoDB
- Automatic dependency installation
- Git repository initialization
Project Structure
The created application will include:
- Modern web application setup
- Database configuration
- Development environment
- Production-ready configuration
Getting Started
After creating your application:
Navigate to your project directory:
cd your-app-nameStart the development server:
pnpm dev
Requirements
- Node.js 18 or higher
- pnpm package manager
- Git
License
ISC
