A modern e-commerce application built with Vue.js 3, featuring a responsive design and seamless shopping experience.
- 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
- 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
- Node.js (Latest LTS version recommended)
- npm or yarn package manager
-
Clone the repository:
git clone [your-repository-url] cd vue-commerce-app
-
Install dependencies:
cd frontend npm install
-
Start the development server:
npm run dev
The application will be available at
http://localhost:5173
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run lint
- Run ESLint with auto-fix
The project uses Vite as the build tool. Configuration can be found in vite.config.js
.
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
Create a .env
file in the frontend directory with the following variables:
VITE_STRIPE_PUBLIC_KEY=your_stripe_public_key
- Duc Anh Tran - Initial work
- 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