Skip to content

A full-stack MERN project featuring: AI-Powered Content Idea Assistant (using OpenAI API) Instagram-style Analytics Dashboard (Charts, Export, MongoDB)

Notifications You must be signed in to change notification settings

avanilodhi/chatbot-instagram-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š Chatbot + Instagram Analytics Dashboard

A full-stack MERN project featuring:

  • AI-Powered Content Idea Assistant (using OpenAI API)
  • Instagram-style Analytics Dashboard (Charts, Export, MongoDB)

πŸ”§ Tech Stack

  • Frontend: HTML, CSS, JavaScript (Vanilla), Chart.js
  • Backend: Node.js, Express.js, MongoDB
  • Authentication: JWT
  • AI: OpenAI API
  • Export: json2csv
  • Deployment: Vercel (Frontend), Render (Optional for backend)

✨ Features

🧠 Content Idea Assistant

  • Enter a topic + niche β†’ get AI-generated Reel ideas, caption, hook, hashtags
  • Save ideas to MongoDB
  • User Authentication (Signup/Login)

πŸ“Š Analytics Dashboard

  • Simulated Instagram analytics data (Follower growth, Likes, Comments)
  • Dynamic charts using Chart.js
  • Export analytics report as CSV
  • Best time to post display

πŸ“‚ Folder Structure

server/ β”œβ”€β”€ controllers/ β”œβ”€β”€ models/ β”œβ”€β”€ routes/ β”œβ”€β”€ middleware/ β”œβ”€β”€ data/ β”œβ”€β”€ index.js client/ β”œβ”€β”€ index.html β”œβ”€β”€ analytics.html β”œβ”€β”€ scripts/ β”œβ”€β”€ main.js β”œβ”€β”€ analytics.js

πŸš€ Getting Started

  1. Clone the repo & install server deps:
   cd server
   npm install
  1. Create .env file: GEMINI_API_KEY=AIzaSyDTC5sdBEcAAOiUUkCBJe8sjd37Z7N7OCU GOOGLE_CLOUD_PROJECT=215730524438 GOOGLE_CLOUD_LOCATION=global GOOGLE_GENAI_USE_VERTEXAI=false MONGO_URI=mongodb://localhost:27017/chatbotAnalytics JWT_SECRET=secretkey

  2. Start server:

    nodemon index.js
  1. Open index.html or analytics.html in browser to use frontend.

About

A full-stack MERN project featuring: AI-Powered Content Idea Assistant (using OpenAI API) Instagram-style Analytics Dashboard (Charts, Export, MongoDB)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published