JSPM

react-miami-stickers

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q13563F
  • License MIT

Interactive CLI tool for gathering user information for Miami stickers

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-miami-stickers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    React Miami Stickers CLI

    An interactive CLI tool for registering to receive Miami stickers! 🌴

    Installation

    npm install -g react-miami-stickers

    Or run directly with npx:

    npx react-miami-stickers

    Features

    • 🎨 Beautiful interactive interface
    • ✅ Real-time email validation
    • 📝 Comprehensive form validation
    • 🏃 Progress indicators
    • 🔄 Confirmation system
    • 👨‍💼 Admin mode for data export

    Usage

    Regular Registration

    Simply run:

    react-miami-stickers

    This will start an interactive prompt that will ask for:

    • First Name
    • Last Name
    • Email address (with validation)
    • Phone number
    • Shipping address details:
      • Street address
      • Optional apartment/suite
      • City
      • State
      • ZIP code

    Admin Mode

    To export registration data (requires API key):

    react-miami-stickers --admin

    Or using npm:

    npm run start:admin

    Development

    1. Clone the repository:
    git clone https://github.com/yourusername/react-miami-stickers.git
    cd react-miami-stickers
    1. Install dependencies:
    npm install
    1. Build the project:
    npm run build
    1. Run locally:
    npm start

    Environment

    The CLI requires a running API server. By default, it connects to:

    http://localhost:3000/api/rm

    Requirements

    • Node.js >= 14.0.0
    • npm >= 6.0.0

    License

    MIT

    Contributing

    Contributions are welcome! Please feel free to submit a Pull Request.