- ποΈ Product Browsing - Advanced filtering, search, and sorting
- π Smart Shopping Cart - Real-time cart management with guest support
- π³ Secure Checkout - Multiple payment methods integration
- π€ User Authentication - Secure login/register with JWT tokens
- π¦ Order Tracking - Complete order history and status tracking
- β Wishlist - Save favorite products for later
- π Analytics Dashboard - Sales insights and performance metrics
- π¦ Product Management - CRUD operations with image uploads
- ποΈ Category Management - Organize products efficiently
- π Order Management - Process and track customer orders
- π₯ User Management - Customer account administration
- π¨ Theme Customization - Light Store theme (#ACAC49) integration
- β‘ Lightning Fast - Optimized performance with Next.js 14
- π± Responsive Design - Mobile-first approach
- π― SEO Optimized - Server-side rendering and meta tags
- π Security First - Authentication, authorization, and data protection
- π PWA Ready - Progressive Web App capabilities
- π Real-time Updates - Live cart and order status
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β π Frontend β β π Backend β β ποΈ Database β
β β β β β β
β Next.js 14 βββββΊβ Spring Boot βββββΊβ MySQL 8.0 β
β React 18 β β Java 17 β β Redis Cache β
β TypeScript β β Spring Securityβ β File Storage β
β TailwindCSS β β JWT Auth β β β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
# Clone the repository
git clone https://github.com/dhruv608/EcommerceFrontend.git
cd EcommerceFrontend
# Install dependencies
npm install
# Copy environment file
cp .env.example .env.local
# Start development server
npm run dev# Clone backend repository
git clone https://github.com/dhruv608/EcommerceBackend.git
cd EcommerceBackend
# Configure database in application.properties
# Run MySQL and create database
# Start Spring Boot application
./mvnw spring-boot:run# Frontend (.env.local)
NEXT_PUBLIC_API_URL=http://localhost:8080/api
NEXT_PUBLIC_IMAGE_URL=http://localhost:8080/images
JWT_SECRET=your-super-secret-jwt-key
# Backend (application.properties)
spring.datasource.url=jdbc:mysql://localhost:3306/lightstore
spring.datasource.username=your-db-username
spring.datasource.password=your-db-password
jwt.secret=your-super-secret-jwt-key- π Home Page - Featured products and promotions
- ποΈ Products - Browse, filter, and search products
- π Shopping Cart - Add/remove items, quantity management
- π€ Account - Profile, orders, wishlist, addresses
- π¦ Orders - Order history and tracking
- π³ Checkout - Secure payment process
- π Dashboard - Analytics and overview
- π¦ Products - Product CRUD, inventory management
- ποΈ Categories - Category organization
- π Orders - Order processing and management
- π₯ Users - Customer management
- βοΈ Settings - System configuration
- π Authentication - JWT-based security
- π¦ Product Service - Product management APIs
- π Cart Service - Shopping cart operations
- π Order Service - Order processing
- π€ User Service - User management
- π³ Payment Service - Payment integration
- Primary Color:
#ACAC49(Olive Gold) - Secondary:
#9a9a42(Darker Olive) - Accent:
#4b5563(Gray) - Background:
#f8f9fb(Light Gray)
- π± Mobile-First - Responsive design
- π¨ Consistent UI - Component library
- β¨ Smooth Animations - Micro-interactions
- π Dark Mode Ready - Theme support
- βΏ Accessible - WCAG compliant
| Metric | Value |
|---|---|
| π Components | 50+ |
| π Pages | 15+ |
| π API Endpoints | 30+ |
| π¦ Database Tables | 10+ |
| π¨ UI Components | 25+ |
| π§ͺ Test Coverage | 85%+ |
| β‘ Performance | 95+ Lighthouse |
| π± Responsive | 100% |
# Build for production
npm run build
# Start production server
npm start
# Deploy to Vercel
vercel --prod# Build JAR file
./mvnw clean package
# Run with Docker
docker build -t lightstore-backend .
docker run -p 8080:8080 lightstore-backend-- Create database
CREATE DATABASE lightstore;
-- Import schema
mysql -u username -p lightstore < schema.sql
-- Import sample data
mysql -u username -p lightstore < data.sql- π΄ Fork the repository
- πΏ Create a feature branch
- π» Make your changes
- β Test thoroughly
- π€ Push to your fork
- π Create a Pull Request
- π Follow TypeScript best practices
- π¨ Use TailwindCSS for styling
- π§ͺ Write tests for new features
- π Update documentation
- π·οΈ Use semantic commit messages
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js Team - Amazing framework
- Spring Boot Team - Powerful backend
- TailwindCSS - Beautiful styling
- Vercel - Hosting platform
- GitHub - Code management
- Author: Dhruv Narang
- Email: dhruv@example.com
- LinkedIn: Connect
β Star this repo if it helped you! β
Made with β€οΈ and β by Dhruv Narang
