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-stickersOr run directly with npx:
npx react-miami-stickersFeatures
- 🎨 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-stickersThis 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 --adminOr using npm:
npm run start:adminDevelopment
- Clone the repository:
git clone https://github.com/yourusername/react-miami-stickers.git
cd react-miami-stickers- Install dependencies:
npm install- Build the project:
npm run build- Run locally:
npm startEnvironment
The CLI requires a running API server. By default, it connects to:
http://localhost:3000/api/rmRequirements
- Node.js >= 14.0.0
- npm >= 6.0.0
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.