Skip to content

Latest commit

Β 

History

History
92 lines (66 loc) Β· 1.88 KB

File metadata and controls

92 lines (66 loc) Β· 1.88 KB

Subscribe Flowers - Modern React App

A modern flower subscription service web application built with React, TypeScript, and Vite.

πŸš€ Technologies Used

  • React 18 - Modern React with hooks
  • TypeScript - Type-safe code
  • Vite - Lightning-fast build tool
  • React Router - Client-side routing
  • CSS3 - Modern styling with animations

πŸ“¦ Installation

Install dependencies:

npm install

πŸƒ Running the Application

Start the development server:

npm run dev

The app will be available at http://localhost:3000

πŸ—οΈ Building for Production

Build the application:

npm run build

Preview the production build:

npm run preview

πŸ“ Project Structure

src/
β”œβ”€β”€ components/          # Reusable components
β”‚   β”œβ”€β”€ Header.tsx
β”‚   β”œβ”€β”€ Footer.tsx
β”‚   └── *.css
β”œβ”€β”€ pages/              # Page components
β”‚   β”œβ”€β”€ Home.tsx
β”‚   β”œβ”€β”€ Shop.tsx
β”‚   β”œβ”€β”€ About.tsx
β”‚   β”œβ”€β”€ Contact.tsx
β”‚   └── *.css
β”œβ”€β”€ App.tsx             # Main app component
β”œβ”€β”€ main.tsx            # App entry point
└── index.css           # Global styles

✨ Features

  • 🌸 Beautiful, modern UI with gradient backgrounds
  • πŸ“± Fully responsive design
  • 🎨 Smooth animations and transitions
  • πŸ›’ Shopping cart functionality
  • πŸ“ Contact form with validation
  • πŸ”„ Client-side routing with React Router
  • πŸ’ͺ Type-safe with TypeScript
  • ⚑ Fast development with Vite

🎯 Pages

  • Home - Hero section, about info, subscription plans, and testimonials
  • Shop - Product catalog with buy functionality
  • About - Company information and mission
  • Contact - Contact form and business information

πŸ› οΈ Development

Lint the code:

npm run lint

πŸ“ License

This project is open source and available under the MIT License.