An innovative platform designed to help users easily explore, choose, and find the best products by category, price range, and preferences. This system offers seamless query management, an intuitive interface, and secure user authentication.
- Interactive Product Recommendations
- Query Management: Add, Update, and Delete product-related queries
- Product Explorer: Navigate through products effortlessly
- Engaging UI/UX Design
- JWT Authentication: Secure user access
- Mobile App Integration: Connects with a companion app
🔗 Product Recommendation System
- Frontend: React, Tailwind CSS, React Router
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JWT
- UI Libraries: React-lottie, SweetAlert2, React-icons
Here are some key endpoints available in the system:
- GET /products: Fetch all products
- POST /queries: Add a new product query
- PUT /queries/:id: Update an existing query
- DELETE /queries/:id: Delete a query
Key packages and tools used in the project:
react
react-router-dom
tailwindcss
react-icons
sweetalert2
jsonwebtoken
mongoose
Ensure you have the following installed:
- Node.js (v16.x or higher)
- MongoDB (running locally or on the cloud)
- Git
git clone https://github.com/jenifaa/product-recommendation-system.git
cd product-recommendation-system
To install the necessary dependencies for the project, run the following command in the root directory of your project:
npm install
REACT_APP_API_URL=http://localhost:5000/api
REACT_APP_CLIENT_URL=http://localhost:3000
REACT_APP_API_URL=http://localhost:5000/api # The API URL for your backend
To run the backend server, navigate to the backend folder and use the following command:
cd backend
nodemon index.js
The backend should now be running on http://localhost:5000.