Skip to content
sunnakhPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Upstyle - Fashion Wardrobe Management System

A modern, full-stack fashion wardrobe management system that helps users organize, track, and discover their personal style while promoting sustainable fashion through upstyling.

Upstyle Logo

🌟 Features

For Users

  • Smart Wardrobe Organization - Categorize items by type, season, color, and style
  • Upstyled Fashion Tracking - Track and showcase sustainable fashion pieces
  • Wardrobe Analytics - Get insights with detailed statistics
  • Style Preferences - Set preferences for personalized experience
  • Visual Overview - Browse collection organized by categories

For Makers

  • Maker Directory - Connect with fashion designers and makers
  • Profile Management - Showcase your work and expertise

🛠️ Tech Stack

Backend

  • FastAPI - Modern Python web framework
  • PostgreSQL - Robust relational database
  • SQLAlchemy - ORM for database operations
  • JWT - Secure authentication
  • Bcrypt - Password hashing
  • Pydantic - Data validation

Frontend

  • HTML5/CSS3 - Modern, responsive design
  • Vanilla JavaScript - No framework dependencies
  • Modular Architecture - Separate page components
  • Dynamic Loading - Efficient page rendering

📋 Prerequisites

  • Python 3.11+
  • PostgreSQL
  • pip (Python package manager)

🚀 Installation

1. Clone the Repository

git clone https://github.com/sunnakh/upstyle.git
cd upstyle

2. Install Dependencies

pip install -e .

3. Database Setup

Create PostgreSQL database:

createdb upstyle

Update database credentials in app/core/config.py if needed.

4. Run the Application

Start Backend:

python run.py

Backend will run on http://localhost:8000

Start Frontend (in a new terminal):

cd frontend
python server.py

Frontend will run on http://localhost:3000

📖 Usage

  1. Open http://localhost:3000 in your browser
  2. Sign up for a new account (User or Maker)
  3. Complete your profile
  4. Start adding items to your wardrobe
  5. Browse your collection by category
  6. Track your upstyled items

🔗 API Documentation

Interactive API documentation available at:

📁 Project Structure

upstyle/
├── app/                    # Backend application
│   ├── core/              # Core functionality (config, security, database)
│   ├── routers/           # API endpoints
│   ├── models.py          # Database models
│   └── schemas.py         # Pydantic schemas
├── frontend/              # Frontend application
│   ├── pages/            # HTML page components
│   ├── app.js            # JavaScript logic
│   ├── style.css         # Styles
│   └── logo.svg          # Upstyle logo
├── run.py                # Backend entry point
├── pyproject.toml        # Python dependencies
└── README.md             # This file

🎨 Design Philosophy

Upstyle features a clean, modern design inspired by leading tech companies:

  • Color Scheme: Teal green (#10a37f) representing sustainability
  • Typography: System fonts for optimal performance
  • Layout: Card-based, responsive design
  • UX: Intuitive navigation with clear visual hierarchy

🔐 Security

  • JWT-based authentication
  • Bcrypt password hashing
  • CORS protection
  • SQL injection prevention via ORM
  • Input validation with Pydantic

🧪 Testing

Run backend tests:

python test_backend.py

📝 API Endpoints

Authentication

  • POST /auth/register - Register new user
  • POST /auth/login - User login

Profile

  • GET /profile/me - Get current user profile
  • PUT /profile/me - Update profile

Items

  • POST /items/ - Add new item
  • GET /items/ - List items with filters
  • GET /items/statistics - Get statistics
  • GET /items/{id} - Get item by ID

Wardrobe

  • GET /wardrobe/overview - Get wardrobe overview
  • GET /wardrobe/category/{id} - Get items by category

Makers

  • GET /makers/ - List makers with pagination

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

This project is licensed under the MIT License.

👥 Authors

🙏 Acknowledgments

  • Inspired by sustainable fashion movement
  • Built with modern web technologies
  • Designed for fashion enthusiasts and makers

📞 Support

For issues and questions, please open an issue on GitHub.


Made with ♻️ by the Upstyle team

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages