{"id":19263870,"url":"https://github.com/rohit-2012/mern-ai","last_synced_at":"2026-04-08T11:31:07.684Z","repository":{"id":249970683,"uuid":"833018267","full_name":"Rohit-2012/mern-ai","owner":"Rohit-2012","description":"AI-powered MERN app with Google Gemini for Q\u0026A. Users can sign up, log in, ask questions, and upload images for AI responses. Chat history is stored, allowing users to review past conversations. Built with MongoDB, Express, React, and Node.js.","archived":false,"fork":false,"pushed_at":"2024-07-29T05:03:48.000Z","size":6600,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T12:27:58.386Z","etag":null,"topics":["clerk-authentication","expressjs","gemini-api","imagekit","mongodb","mongoose","nodejs","react-19"],"latest_commit_sha":null,"homepage":"https://mern-ai-sae3.onrender.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rohit-2012.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-24T07:39:12.000Z","updated_at":"2024-07-29T05:03:51.000Z","dependencies_parsed_at":"2024-11-09T19:48:50.124Z","dependency_job_id":null,"html_url":"https://github.com/Rohit-2012/mern-ai","commit_stats":null,"previous_names":["rohit-2012/mern-ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rohit-2012/mern-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rohit-2012%2Fmern-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rohit-2012%2Fmern-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rohit-2012%2Fmern-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rohit-2012%2Fmern-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rohit-2012","download_url":"https://codeload.github.com/Rohit-2012/mern-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rohit-2012%2Fmern-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31553977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clerk-authentication","expressjs","gemini-api","imagekit","mongodb","mongoose","nodejs","react-19"],"created_at":"2024-11-09T19:37:18.684Z","updated_at":"2026-04-08T11:31:07.653Z","avatar_url":"https://github.com/Rohit-2012.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN AI\n\nAn AI-powered MERN stack web application utilizing Google Gemini for Q\u0026A. Users can sign up, log in, ask questions, and upload images for AI analysis. All conversations are stored, allowing users to review past interactions.\n\n![App Screenshot](frontend/public/mern-ai-ss.PNG)\n\n## Features\n\n- **User Authentication**: Log in or sign up using GitHub, Google, or email.\n- **Dashboard**: Access a personalized AI dashboard.\n- **AI Q\u0026A**: Chat with AI powered by Google Gemini to get answers to your questions.\n- **Image Analysis**: Upload images for AI to analyze and provide responses.\n- **Chat History**: All conversations are saved, allowing users to check previous chats.\n\n## Tech Stack\n\n### Frontend\n- React 19\n- `@clerk/clerk-react`\n- `@tanstack/react-query`\n- `react-router-dom`\n- `react-markdown`\n- `react-type-animation`\n- `imagekitio-react`\n\n### Backend\n- `@clerk/clerk-sdk-node`\n- `cors`\n- `express`\n- `imagekit`\n- `mongoose`\n- MongoDB\n- Node.js\n\n## Installation\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/Rohit-2012/mern-ai.git\n\n2. **Install Dependencies**\n   - For the backend:\n     ```bash\n     cd ./backend/\n     npm install\n   - For the frontend:\n     ```bash\n     cd ./frontend/\n     npm install -f\n\n3. **Setup Environment Variables**\n   Create a .env file in the root directories of both the backend and frontend, with the following variables:\n   - .env\n     \n    ```\n    IMAGE_KIT_ENDPOINT=\u003cyour Image kit endpoint\u003e\n    IMAGE_KIT_PUBLIC_KEY=\u003cimage kit public key\u003e\n    IMAGE_KIT_PRIVATE_KEY=\u003cimage kit private key\u003e\n    CLIENT_URL=\u003cfrontend URL\u003e\n    MONGO=\u003cMongoDB URI\u003e\n    CLERK_PUBLISHABLE_KEY=\u003cClerk publishable key\u003e\n    CLERK_SECRET_KEY=\u003cClerk secret key\u003e\n    VITE_CLERK_PUBLISHABLE_KEY=\u003cClerk publishable key\u003e\n    VITE_IMAGE_KIT_ENDPOINT=\u003cImage kit endpoint\u003e\n    VITE_IMAGE_KIT_PUBLIC_KEY=\u003cImage kit public key\u003e\n    VITE_GEMINI_PUBLIC_KEY=\u003cGoogle Gemini API key\u003e\n    VITE_API_URL=\u003cBackend API URL\u003e\n**Feel free to adjust the content and formatting as needed!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohit-2012%2Fmern-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohit-2012%2Fmern-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohit-2012%2Fmern-ai/lists"}