https://github.com/giuliobarde/AI-Wardrobe-Backend
AI Wardrobe is a modern web application that helps users manage and organize their clothing items using artificial intelligence. The frontend is built with Next.js 15, React 19, and TypeScript, providing a fast, responsive, and type-safe user experience.
- 🎨 Modern, responsive UI with Tailwind CSS
- ⚡ Lightning-fast performance with Next.js 15 and Turbopack
- 🔒 Type-safe development with TypeScript
- 🎭 Smooth animations with Motion
- 📱 Mobile-first design approach
- 🎯 SEO optimized
- 🔄 Real-time updates and interactions
- Framework: Next.js 15
- Language: TypeScript
- UI Library: React 19
- Styling: Tailwind CSS
- Animations: Motion
- Icons: Lucide Icons
- HTTP Client: Axios
- Development: Turbopack
frontend/
├── src/ # Source files
│ ├── app/ # Next.js app directory
│ │ ├── components/ # Shared components
│ │ ├── config/ # Configuration files
│ │ ├── context/ # React context providers
│ │ ├── hooks/ # Custom React hooks
│ │ ├── models/ # TypeScript interfaces and types
│ │ ├── services/ # API and external service integrations
│ │ ├── Settings/ # Settings page components
│ │ ├── Outfits/ # Outfits page components
│ │ ├── Profile/ # Profile page components
│ │ ├── Wardrobe/ # Wardrobe page components
│ │ ├── globals.css # Global styles
│ │ ├── layout.tsx # Root layout component
│ │ └── page.tsx # Home page component
│ └── lib/ # Utility functions and shared code
│ └── utils.ts # Helper functions
├── public/ # Static assets
│ └── logo.png # Project logo
├── components.json # Component configuration
├── next.config.ts # Next.js configuration
├── package.json # Project dependencies and scripts
├── postcss.config.mjs # PostCSS configuration
├── tailwind.config.ts # Tailwind CSS configuration
└── tsconfig.json # TypeScript configuration
Each directory serves a specific purpose:
- app/: Contains all the application code following Next.js 13+ app directory structure
- components/: Reusable UI components
- config/: Application configuration files
- context/: React context providers for state management
- hooks/: Custom React hooks for shared logic
- models/: TypeScript interfaces and type definitions
- services/: API clients and external service integrations
- Settings/, Outfits/, Profile/, Wardrobe/: Feature-specific page components
- lib/: Shared utilities and helper functions
- public/: Static assets like images and fonts
- Node.js 18.17 or later
- npm, yarn, or pnpm
-
Clone the repository:
git clone https://github.com/yourusername/ai-wardrobe.git cd ai-wardrobe/frontend -
Install dependencies:
npm install # or yarn install # or pnpm install
-
Start the development server:
npm run dev # or yarn dev # or pnpm dev
-
Open http://localhost:3000 in your browser.
npm run build
# or
yarn build
# or
pnpm buildnpm run test
# or
yarn test
# or
pnpm testThis project uses ESLint and Prettier for code formatting. Run the linter:
npm run lint
# or
yarn lint
# or
pnpm lint- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js Team
- Vercel
- Tailwind CSS Team
- All contributors and supporters of the project