Create your unique and exclusive shirt with brand-new 3D customization tool. Unleash your imagination and define your own style.
This repository houses an stunning ThreeJS 3D Product website corporate with the incredible power of artificial intelligence built with React & Three.js and OpenAI Api.
Here is the folder structure of webapp.
AI-Powered-3D-Product-Web/
|- client/
|-- public/
|-- src/
|-- assets/
|-- canvas/
|-- components/
|-- config/
|-- pages/
|-- store/
|- server/
|-- routes/
In order to use this webapp you have to add some environment variables to .env files, The webapp uses OpenAI's API, so, you've to create OpenAI account and generate api key here, to run this webapp, meet with the conditions below.\
create .env
file in client/
directory & add the following environment variables:
VITE_API_URL=<SERVER_URL>
create .env
file in server/
directory & add the following environment variables:
OPENAI_API_KEY=<OPEN_AI_API_KEY>
PORT=<PORT> // optional, default set to 8080
Download or clone this repo by using the command below:
https://github.com/ladunjexa/AI-Powered-3D-Product-Web.git
This webapp using NPM (Node Package Manager), therefore, make sure that Node.js is installed by execute the following command in console:
node -v
In both folders (client
/ server
) execute the following command to get the required packages:
npm install
Go to server
folder and execute the following command in order to start the server:
npm start
Go to client
folder and execute the following command in order to run the web application:
npm run dev
Contributions are always welcome!
See contributing.md
for ways to get started.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt for more information.
Liron Abutbul - @lironabutbul6 - @ladunjexa
Project Link: https://github.com/ladunjexa/AI-Powered-3D-Product-Web
This section used to mention useful resources and libraries that used in webapp: