Skip to content

ibra-kdbra/T-shirt-Colorpicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

T-shirt-Colorpicker

T-shirt-Colorpicker is a web application that allows users to design custom T-shirts by generating logos using the DALL-E OpenAI API and selecting colors for their T-shirts. Users can also upload their own logos or images to be printed on their T-shirts.

Features

  • Generate logos using the DALL-E OpenAI API.
  • Select colors for your T-shirt.
  • Upload your own logos or images to be printed on your T-shirt.
  • Save your custom T-shirt design.

Getting Started

To get started with T-shirt-Colorpicker, follow these steps:

  1. Clone the repository:

    git clone https://github.com/ibra-kdbra/T-shirt-Colorpicker.git
    
  2. Install the required dependencies:

    npm install
    
  3. Create a .env file at the root of the project with your OpenAI API key:

    OPENAI_KEY=<your OpenAI API key>
    
  4. Start the application:

    npm run dev
    
  5. Open the T-shirt-Colorpicker website in your web browser.

  6. Use the DALL-E API to generate a logo or upload your own logo or image.

  7. Select a color for your T-shirt.

  8. Preview your custom T-shirt design.

  9. Save your design.

Technologies Used

T-shirt-Colorpicker uses the following technologies:

  • Vite.js with React for the front-end
  • Node.js with Mongoose for the back-end
  • Three.js for 3D graphics

Contributing

Contributions to T-shirt-Colorpicker are welcome! To contribute, follow these steps:

  1. Fork the repository.

  2. Make your changes.

  3. Submit a pull request.

License

T-shirt-Colorpicker is licensed under the Mozilla Public License 2.0. See the LICENSE file for more information.