Skip to content

A modern, responsive eCommerce web application built with Vue.js and best practices in frontend development.

Notifications You must be signed in to change notification settings

DUCANHTRA/vue-commerce-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Vue Commerce App

A modern e-commerce application built with Vue.js 3, featuring a responsive design and seamless shopping experience.

πŸš€ Features

  • Modern Vue 3 composition API
  • Responsive design using Vuetify and Bootstrap
  • State management with Pinia
  • Secure payment processing with Stripe integration
  • Toast notifications for better user feedback
  • Material Design Icons
  • Client-side routing with Vue Router

πŸ› οΈ Tech Stack

  • Frontend Framework: Vue.js 3
  • UI Components:
    • Vuetify 3
    • Bootstrap 5
    • Bootstrap Vue 3
  • State Management: Pinia
  • Payment Processing: Stripe
  • Build Tool: Vite
  • Icons: Material Design Icons
  • Notifications: Mosha Vue Toastify

πŸ“‹ Prerequisites

  • Node.js (Latest LTS version recommended)
  • npm or yarn package manager

πŸš€ Getting Started

  1. Clone the repository:

    git clone [your-repository-url]
    cd vue-commerce-app
  2. Install dependencies:

    cd frontend
    npm install
  3. Start the development server:

    npm run dev

    The application will be available at http://localhost:5173

πŸ“¦ Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run lint - Run ESLint with auto-fix

πŸ”§ Configuration

The project uses Vite as the build tool. Configuration can be found in vite.config.js.

πŸ“ Project Structure

frontend/
β”œβ”€β”€ public/          # Static assets
β”œβ”€β”€ src/            # Source files
β”‚   β”œβ”€β”€ assets/     # Project assets
β”‚   β”œβ”€β”€ components/ # Vue components
β”‚   β”œβ”€β”€ views/      # Page components
β”‚   β”œβ”€β”€ router/     # Vue Router configuration
β”‚   β”œβ”€β”€ stores/     # Pinia stores
β”‚   └── App.vue     # Root component
β”œβ”€β”€ index.html      # Entry HTML file
└── package.json    # Project dependencies and scripts

πŸ”’ Environment Variables

Create a .env file in the frontend directory with the following variables:

VITE_STRIPE_PUBLIC_KEY=your_stripe_public_key

πŸ‘₯ Authors

  • Duc Anh Tran - Initial work

πŸ™ Acknowledgments

  • Vue.js team for the amazing framework
  • Vuetify team for the beautiful UI components
  • Stripe for secure payment processing
  • Educative.io team for their comprehensive e-commerce project guide and implementation insights

About

A modern, responsive eCommerce web application built with Vue.js and best practices in frontend development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published