Outfitless helps users organize their closet, choose outfits, and keep track of their clothes. Most notably, it keeps track of the cost per use for each piece of clothing.
Inspired by the trend towards zero waste, capsule wardrobes, and Mari Kondo of “The Life-Changing Magic of Tidying Up”, Outfitless hopes that its users will learn to do more with less.
Frontend: HTML5, CSS, Javascript, jQuery, Bootstrap
Backend: Python, SQL, Flask, PostgresQL, SQLAlchemy
APIs: Google OAuth 2.0, Clarifai
Deployed via Amazon Web Services LightSail
Upload multiple files at once.
Verify suggested piece details, or write in your own description.
Choose an outfit with OOTD feature!
Check out all pieces uploaded to closet, and their details.
Please note that although the site is live, these features will only work if you install the app locally. Everything past log-in has been disabled from the site.
- Python 3+
- PostgresQL
- Google OAuth 2.0 keys 🔑
- Clarifai API keys 🔑
- SSL certificate & key 🔖🔑
To run this app on your local computer, please follow the below steps:
Clone repository.
$ git clone https://github.com/janetanne/outfitless.git
Create and activate a virtual environment.
$ virtualenv env
$ source env/bin/activate
Install the dependencies:
$ pip install -r requirements.txt
Sign up to use the Google OAuth API and Clarifai API. Obtain your secret keys 🔑, then save them to secrets.sh. The file should look like this:
export APP_SECRET_KEY="insert"
export CLARIFAI_API_KEY="keys"
export GOOGLE_CLIENT_ID="andotherstuff"
export GOOGLE_PROJECT_ID="here"
export GOOGLE_AUTH_URI="https://accounts.google.com/o/oauth2/auth"
export GOOGLE_TOKEN_URI="https://www.googleapis.com/oauth2/v3/token"
export GOOGLE_AUTH_PROVIDER="https://www.googleapis.com/oauth2/v1/certs"
export GOOGLE_CLIENT_SECRET="linksaboveshouldworkthough"
Source your keys from secrets.sh into your virtual environment.
$ source secrets.sh
Note that you'll also need to procure an SSL certificate if you want to deploy since Google OAuth 2.0 requires HTTPS. You can learn more about that and obtain your own SSL cert for free on Let's Encrypt.
Set up your database.
$ createdb outfitless_db
$ python model.py
Run the app from the command line.
$ python server.py
Navigate to 'localhost:5000/' to access Outfitless.
- Generate proper SSL certificate
- Data visualization of user's closets, using Chart.js
- Reminders to wear, donate, or sell clothes not worn in a certain period of time
- Upload photos to Google Photos
This was created by Janet Anne Panen for her final project at Hackbright Academy, an engineering school for women.
She's located in San Francisco, and you can contact her via Twitter, LinkedIn, or email 📧 janetpanen at gmail dot com.
This project was inspired by the annoyance of choosing what to wear every day, and the 90s classic film, Clueless (hence the name Outfitless 😉).
The MIT License (MIT) Copyright (c) 2016 Agne Klimaite
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.