TrendSpire is an e-commerce platform tailored for fashion enthusiasts. This application allows users to explore the latest fashion trends and purchase items. It also features Ivy, a chatbot that provides fashion-related advice, helping users stay trendy.
- Fashion Products: Browse through a curated list of fashion products and accessories.
- Ivy Chatbot: Get fashion-related advice in real-time. Ivy is trained to offer only fashion-specific insights.
- User Authentication: Secure login and registration system for personalized shopping experiences.
- Add to Cart: Users can add products to their cart for a streamlined checkout process.
- Checkout Page: A dedicated page for reviewing and completing purchases.
- Favorites: Save favorite items for future browsing.
This repository is split into two main directories:
-
project/: Contains the main e-commerce application.
- server/: Backend logic for handling user authentication, product browsing, order processing, cart, and favorite functionalities.
- client/: Frontend built with modern web technologies for a smooth user experience.
-
chatbot/:
- server/: Contains Ivy's chatbot server, providing real-time fashion advice.
Ensure you have the following installed:
PORT=XXXX
MONGODBURL=""
FRONTEND_URL=""
IP_URL=""
VITE_baseURL=""
VITE_CHATBOT_URL=""
API_KEY=""
-
Clone the repository:
git clone https://github.com/riya-rjha/TrendSpire.git cd TrendSpire
-
Navigate to the project directory to install dependencies for the e-commerce platform:
cd project cd server npm install
cd project cd client npm install
-
Navigate to the chatbot directory to install dependencies for the Ivy chatbot:
cd ../chatbot cd server npm install
-
Start the backend server:
cd project/server npm start
-
Start the frontend client:
cd ../client npm run dev
-
Start the chatbot server:
cd chatbot/server npm start
The chatbot will be running, and you can integrate it into the frontend client.
- Frontend: React.js, Tailwind CSS
- Backend: Node.js, Express
- Database: MongoDB
- Chatbot: Node.js, Open AI API
"dependencies": {
"bcrypt": "^5.1.1",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"firebase": "^10.12.4",
"jsonwebtoken": "^9.0.2",
"mongodb": "^6.8.0",
"mongoose": "^8.5.2",
"nodemon": "^3.1.4"
}
"dependencies": {
"axios": "^1.7.8",
"notistack": "^3.0.1",
"react": "^18.3.1",
"react-cookie": "^7.2.0",
"react-dom": "^18.3.1",
"react-icons": "^5.3.0",
"react-router-dom": "^6.25.1"
}