# E-Commerce Clothing Brand Website A modern e-commerce platform for a clothing brand similar to turntupfashion.com, built with Next.js, Express, and MongoDB. ## Project Overview This project provides a complete e-commerce solution with the following features: - Responsive product catalog with filtering and search - User authentication and account management - Shopping cart and checkout process - Payment processing integration - Admin dashboard for product and order management - Multi-currency support ## Tech Stack - **Frontend**: Next.js, React, Tailwind CSS - **Backend**: Node.js, Express.js - **Database**: MongoDB with Mongoose - **Authentication**: JWT - **Payment**: Stripe API ## Getting Started ### Prerequisites - Node.js (v16+) - MongoDB - Stripe account for payment processing ### Installation 1. Clone the repository ```bash git clone https://github.com/yourusername/ecom.git cd ecom ``` 2. Set up the frontend ```bash cd frontend npm install cp .env.example .env.local # Edit .env.local with your environment variables ``` 3. Set up the backend ```bash cd ../backend npm install cp .env.example .env # Edit .env with your environment variables ``` 4. Start development servers Frontend: ```bash cd frontend npm run dev ``` Backend: ```bash cd backend npm run dev ``` ## Project Structure The project follows a clear separation between frontend and backend: - `/frontend`: Next.js application with pages, components, and assets - `/backend`: Express.js API with controllers, models, and routes - `/admin`: Admin dashboard (optional separate application) - `/shared`: Shared code and types between frontend and backend ## Documentation For more detailed documentation, see: - [Project Plan](./docs/project-plan.md) - Complete project overview and timeline - [Implementation Guide](./docs/implementation.md) - Step-by-step implementation details - [Component Structure](./docs/components.md) - Frontend component organization ## License MIT