Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haithanhphan1603/supabase-nuxt-ecommerce
๐ E-commerce platform built with Vue, Nuxt, and Supabase. Features real-time data, secure authentication, and a responsive design for a seamless shopping experience.
https://github.com/haithanhphan1603/supabase-nuxt-ecommerce
ecommerce-website nuxtjs supabase tailwindcss typescript vue
Last synced: 18 days ago
JSON representation
๐ E-commerce platform built with Vue, Nuxt, and Supabase. Features real-time data, secure authentication, and a responsive design for a seamless shopping experience.
- Host: GitHub
- URL: https://github.com/haithanhphan1603/supabase-nuxt-ecommerce
- Owner: haithanhphan1603
- License: mit
- Created: 2024-05-21T04:12:16.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-11-25T13:12:54.000Z (2 months ago)
- Last Synced: 2025-01-16T07:12:21.822Z (22 days ago)
- Topics: ecommerce-website, nuxtjs, supabase, tailwindcss, typescript, vue
- Language: Vue
- Homepage: https://vinylata.netlify.app
- Size: 935 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐๏ธ Vue E-commerce Platform
A modern e-commerce platform built with Vue.js, Nuxt.js, and Supabase, offering real-time updates, secure authentication, and a responsive shopping experience.
## โญ Features
- **Real-time Updates**
- Live inventory tracking
- Instant price updates
- Real-time cart synchronization
- Live order status tracking (In progress)- **Secure Authentication**
- Email/password authentication
- Social media login integration (In progress)
- Role-based access control
- Secure session management- **Responsive Design**
- Cross-browser compatibility
- Optimized for all screen sizes
- Touch-friendly interface## ๐ ๏ธ Tech Stack
- **Frontend**
- Vue.js 3
- Nuxt.js 3
- Tailwind CSS
- Pinia (State Management)
- Typescript- **Backend**
- Supabase
- PostgreSQL
- Row Level Security
- Real-time subscriptions## ๐ Prerequisites
- Node.js (v18 or higher)
- npm
- Supabase account
- Git## ๐ Getting Started
1. **Clone the repository**
```bash
git clone https://github.com/haithanhphan1603/supabase-nuxt-ecommerce.git
cd supabase-nuxt-ecommerce
```2. **Install dependencies**
```bash
npm install
```3. **Configure environment variables**
Fill in your Supabase credentials in the `.env` file:
```
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_anon_key
```4. **Run development server**
```bash
npm run dev
```## ๐ Project Structure
```
โโโ ๐ .nuxt/ # Build directory
โโโ ๐ assets/ # Uncompiled assets (images, styles, etc.)
โโโ ๐ components/ # Vue components
โ โโโ cart/ # Shopping cart components
โ โโโ category/ # Category navigation and listing
โ โโโ common/ # Shared/reusable components
โ โโโ dialog/ # Modal and dialog components
โ โโโ product/ # Product-related components
โ โโโ section/ # Page section components
โ โโโ ui/ # Base UI components
โ โโโ wishlist/ # Wishlist feature components
โโโ composables/ # Vue composables (hooks)
โโโ layouts/ # Page layouts
โโโ lib/ # Utility functions and core logic
โโโ middleware/ # Route middleware
โโโ pages/ # Application pages/routes
โโโ public/ # Static files
โโโ server/ # Server-side logic and API routes
โโโ store/ # Pinia stores
โโโ types/ # TypeScript type definitions
โโโ .env # Environment variables
โโโ .eslintrc.json # ESLint configuration
โโโ .gitignore # Git ignore patterns
โโโ .prettierrc # Prettier configuration
โโโ app.config.ts # App configuration
โโโ app.vue # Root Vue component
โโโ components.json # Components configuration
```## ๐ป Development
### Database Setup
1. Run the sql dump file
2. Enable Row Level Security (RLS) policies
### ๐ Authentication Setup
1. Configure authentication providers in Supabase dashboard
2. Configure OAuth providers (if using social login)## ๐ Deployment
1. **Build the application**
```bash
npm run build
```2. **Deploy to your hosting platform**
```bash
npm run deploy
```## ๐งช Testing (to be implemented)
```bash
# ๐ฏ Run unit tests
npm run test:unit# ๐ Run e2e tests
npm run test:e2e# โ Run all tests
npm run test
```## ๐ค Contributing
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request## ๐ License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## ๐ Acknowledgments
- Vue.js team
- Nuxt.js team
- Supabase team
- All contributors---
Made with โค๏ธ by Phan Hai