aboutsummaryrefslogtreecommitdiffstats

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
git clone https://github.com/yourusername/ecom.git
cd ecom
  1. Set up the frontend
cd frontend
npm install
cp .env.example .env.local
# Edit .env.local with your environment variables
  1. Set up the backend
cd ../backend
npm install
cp .env.example .env
# Edit .env with your environment variables
  1. Start development servers

Frontend:

cd frontend
npm run dev

Backend:

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 - Complete project overview and timeline - Implementation Guide - Step-by-step implementation details - Component Structure - Frontend component organization

License

MIT