Skip to content

christopherbWIX/shop-spot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wixstro - Wix Astro Template

A modern, full-featured Wix Astro template built with React, TypeScript, and Tailwind CSS. This template provides a solid foundation for building dynamic, interactive websites with Wix's powerful ecosystem.

🚀 Features

  • Astro Framework - Modern static site generator with server-side rendering
  • React Integration - Full React support with JSX components
  • TypeScript - Type-safe development experience
  • Tailwind CSS - Utility-first CSS framework with custom components
  • Wix Integration - Seamless integration with Wix services and APIs
  • Modern UI Components - Radix UI components with custom styling
  • Authentication - Built-in member authentication and protected routes
  • CMS Integration - Content management system integration
  • Client-side Routing - React Router for seamless navigation
  • Responsive Design - Mobile-first responsive design
  • Testing - Vitest testing framework setup
  • Development Tools - ESLint, TypeScript checking, and more

🛠️ Tech Stack

  • Framework: Astro 5.8.0
  • Frontend: React 18.3.0
  • Styling: Tailwind CSS 3.4.14
  • Language: TypeScript 5.8.3
  • UI Components: Radix UI
  • State Management: Zustand
  • Forms: React Hook Form with Zod validation
  • Testing: Vitest
  • Build Tool: Vite
  • Deployment: Cloudflare

🚀 Getting Started

Prerequisites

  • Node.js (version 18 or higher)
  • npm or yarn package manager
  • Wix account and site

Installation

  1. Install dependencies:

    npm run install-template
  2. Set up environment variables:

    npm run env
  3. Start development server:

    npm run dev

The development server will start and you can view your site at http://localhost:4321.

📁 Project Structure

main/
├── src/
│   ├── components/          # React components
│   │   ├── ui/             # Reusable UI components
│   │   ├── Head.tsx        # Page head component
│   │   └── Router.tsx      # Routing component
│   ├── hooks/              # Custom React hooks
│   ├── lib/                # Utility functions
│   ├── pages/              # Astro pages
│   └── styles/             # Global styles
├── integrations/           # Wix integrations
│   ├── cms/               # CMS integration
│   └── members/           # Member authentication
├── public/                # Static assets
└── eslint-rules/          # Custom ESLint rules

🎨 UI Components

This template includes a comprehensive set of UI components built with Radix UI and styled with Tailwind CSS:

  • Layout: Accordion, Collapsible, Tabs, Sheet
  • Forms: Input, Select, Checkbox, Radio Group, Switch
  • Navigation: Navigation Menu, Menubar, Breadcrumb
  • Feedback: Alert, Toast, Progress, Skeleton
  • Overlays: Dialog, Popover, Tooltip, Hover Card
  • Data Display: Table, Card, Badge, Avatar
  • Interactive: Button, Toggle, Slider, Command

🔧 Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run release - Release to Wix
  • npm run env - Pull environment variables
  • npm run check - Type check with Astro
  • npm run test:run - Run tests
  • npm run install-template - Install dependencies

🧪 Testing

The project includes Vitest for testing:

npm run test:run

📱 Responsive Design

The template is built with a mobile-first approach and includes:

  • Responsive breakpoints
  • Touch-friendly interactions
  • Optimized images
  • Flexible layouts

🚀 Deployment

The template is configured for deployment on Cloudflare:

npm run build

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests and linting
  5. Submit a pull request

🆘 Support

For support and questions:


Built with ❤️ using Wix Vibe, Astro, and modern web technologies.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published