A modern, full-stack fashion wardrobe management system that helps users organize, track, and discover their personal style while promoting sustainable fashion through upstyling.
- 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
- Maker Directory - Connect with fashion designers and makers
- Profile Management - Showcase your work and expertise
- FastAPI - Modern Python web framework
- PostgreSQL - Robust relational database
- SQLAlchemy - ORM for database operations
- JWT - Secure authentication
- Bcrypt - Password hashing
- Pydantic - Data validation
- HTML5/CSS3 - Modern, responsive design
- Vanilla JavaScript - No framework dependencies
- Modular Architecture - Separate page components
- Dynamic Loading - Efficient page rendering
- Python 3.11+
- PostgreSQL
- pip (Python package manager)
git clone https://github.com/sunnakh/upstyle.git
cd upstylepip install -e .Create PostgreSQL database:
createdb upstyleUpdate database credentials in app/core/config.py if needed.
Start Backend:
python run.pyBackend will run on http://localhost:8000
Start Frontend (in a new terminal):
cd frontend
python server.pyFrontend will run on http://localhost:3000
- Open http://localhost:3000 in your browser
- Sign up for a new account (User or Maker)
- Complete your profile
- Start adding items to your wardrobe
- Browse your collection by category
- Track your upstyled items
Interactive API documentation available at:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
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
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
- JWT-based authentication
- Bcrypt password hashing
- CORS protection
- SQL injection prevention via ORM
- Input validation with Pydantic
Run backend tests:
python test_backend.pyPOST /auth/register- Register new userPOST /auth/login- User login
GET /profile/me- Get current user profilePUT /profile/me- Update profile
POST /items/- Add new itemGET /items/- List items with filtersGET /items/statistics- Get statisticsGET /items/{id}- Get item by ID
GET /wardrobe/overview- Get wardrobe overviewGET /wardrobe/category/{id}- Get items by category
GET /makers/- List makers with pagination
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.
- Sunnakh - GitHub
- Inspired by sustainable fashion movement
- Built with modern web technologies
- Designed for fashion enthusiasts and makers
For issues and questions, please open an issue on GitHub.
Made with ♻️ by the Upstyle team