AI-powered platform that analyzes public sentiment and market trends using public discussions and opinions on social media.
The Market Insights Platform helps businesses analyze public sentiment and trends across different industries by extracting relevant Reddit discussions and using AI-driven insights.
✅ Select from 4 industries – Travel
, Education
, Video Games
, Electronics
✅ AI-powered market insights & competitor analysis
✅ Fetches relevant Reddit discussions using Reddit API
✅ Analyzes public sentiment using Google Gemini AI API
✅ Displays structured business insights:
- 🔹 Overview of Public Sentiments
- 🔹 Positives
- 🔹 Shortcomings
- 🔹 Suggestions Regarding Optimal Business Strategy
✅ Modern UI built with React.js + Tailwind CSS
✅ Fast & scalable with Vercel + Render deployment
- ⚛️ React.js (Vite)
- 🎨 Tailwind CSS
- 🔗 Axios (for API calls)
- 🌐 React Router
- 🟢 Node.js (Express.js)
- 🔗 Axios (API requests)
- 🐍 Python (Reddit data fetching)
- 🔧 Google Gemini API (AI processing)
- 🔥 Reddit API (PRAW) (Fetching posts/comments)
- 🌍 Frontend → Vercel
- 🔄 Backend → Render
- Install Node.js (
>= 16.x
) - Install Python (
>= 3.x
) - Reddit API Credentials:
- Create a Reddit App at Reddit API
- Get
Client ID
,Client Secret
, andUser Agent
- Google Gemini API Key:
- Get it from Google AI Studio
git clone https://github.com/yourusername/Market-Insights-Platform.git
cd Market-Insights-Platform
cd backend
npm install
Create a .env file in the backend/ folder and add:
PORT=5000
GEMINI_API_KEY=your_google_gemini_api_key
REDDIT_CLIENT_ID=your_reddit_client_id
REDDIT_CLIENT_SECRET=your_reddit_client_secret
REDDIT_USER_AGENT=your_reddit_user_agent
Run the backend:
node server.js
cd frontend
npm install
npm run dev
1️⃣ Open the Frontend → http://localhost:5173
2️⃣ Select an industry & enter a query
3️⃣ Click "Get Insights"
4️⃣ View structured business insights!
Method | Endpoint | Description |
---|---|---|
POST |
/analyze |
Fetch insights from Reddit & Gemini API |
MIT License – Free to use, modify, and distribute.