{"id":25506481,"url":"https://github.com/mdsajalali/dream-ai-client","last_synced_at":"2026-05-01T08:32:03.391Z","repository":{"id":275328627,"uuid":"923966654","full_name":"mdsajalali/dream-ai-client","owner":"mdsajalali","description":"AI-Powered Text-to-Image Generator Web App.","archived":false,"fork":false,"pushed_at":"2025-04-23T13:07:57.000Z","size":972,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T02:50:31.478Z","etag":null,"topics":["axios","lightgallery","lucide-react","nextjs14","react-hook-form","shadcn-ui","tailwindcss"],"latest_commit_sha":null,"homepage":"https://dream-aii.vercel.app","language":"TypeScript","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/mdsajalali.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,"zenodo":null}},"created_at":"2025-01-29T06:48:35.000Z","updated_at":"2025-04-23T13:08:01.000Z","dependencies_parsed_at":"2025-04-20T18:33:08.225Z","dependency_job_id":"e47e44bc-26e1-4b60-b9c4-14fbb25254b3","html_url":"https://github.com/mdsajalali/dream-ai-client","commit_stats":null,"previous_names":["mdsajalali/dream-ai-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdsajalali/dream-ai-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsajalali%2Fdream-ai-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsajalali%2Fdream-ai-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsajalali%2Fdream-ai-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsajalali%2Fdream-ai-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdsajalali","download_url":"https://codeload.github.com/mdsajalali/dream-ai-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsajalali%2Fdream-ai-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32490810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["axios","lightgallery","lucide-react","nextjs14","react-hook-form","shadcn-ui","tailwindcss"],"created_at":"2025-02-19T06:57:59.342Z","updated_at":"2026-05-01T08:32:03.383Z","avatar_url":"https://github.com/mdsajalali.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎨 Dream AI | Text-to-Image Generator\n\n🚀 **A scalable, high-performance frontend for an AI-powered text-to-image generator, seamlessly integrated with a secure Node.js backend.**\n\n💡 **Impact:**  \nDream AI enables users to generate, manage, and share AI-powered images, demonstrating practical full-stack development and AI integration skills.\n\n---\n\n## 🧠 Skills Demonstrated\n\n- Full-Stack Application Architecture\n- Angular Component-Based Development\n- REST API Integration\n- JWT Authentication \u0026 Role-Based Access\n- AI API Integration (Together AI)\n- Cloud Image Storage with Cloudinary\n- Admin Dashboard\n- Infinite Scroll \u0026 Pagination Implementation\n- Social Sharing – Users can share images on social media and copy image URLs\n\n## 💻 Tech Stack\n\n### Frontend\n\n- **Angular** – A powerful, component-based framework for building scalable web applications.\n- **Tailwind CSS** – Utility-first CSS for rapid, responsive UI development.\n- **Axios** – Implementation of custom API services with interceptors for token management.\n- **Keen-Slider** – Optimized, touch-friendly image sliders.\n- **Lucide Angular** – Minimalist, consistent iconography.\n\n### Backend\n\n- **Node.js \u0026 Express** – Scalable JavaScript runtime and flexible web framework.\n- **Mongoose** – MongoDB object modeling and efficient query handling.\n- **Cloudinary** – Secure, cloud-based image hosting and management.\n- **Together AI** – Integration with advanced AI models for text-to-image inference.\n\n---\n\n## 🌟 Key Features\n\n- **Homepage** – Landing page showcasing the platform and AI generation capabilities.\n- **Generate** – Transform text prompts into unique digital art using Together AI.\n- **My List** – Displays images generated by the user.\n- **Discover** – Publicly accessible gallery of all generated images with full preview.\n- **Favorites** – Users can save and view their favorite images.\n- **Image Preview** – Users can preview images in a detailed view with zoom in/out functionality and download options.\n- **Admin Dashboard** – A centralized admin panel to manage users, images, and system roles.\n- **User Management** – Admins can search users, update user roles, delete users, and navigate through users with pagination.\n- **Image Management** – Admins can search and delete images, with infinite scroll implemented for efficient image browsing.\n- **Registration \u0026 Authentication** – User signup, login, and demo account credentials.\n\n---\n\n## 🚀 Getting Started\n\n### 1️⃣ Clone the Repository\n\n```sh\ngit clone https://github.com/mdsajalali/dream-ai-client.git\ncd dream-ai-client\n```\n\n### 2️⃣ Install Dependencies\n\n```sh\nnpm install\n```\n\n### 3️⃣ Set Up Environment Variables\n\nReplace the apiUrl in the frontend **environment.ts** file and the backend **.env** file with the following:\n\n#### Frontend (environment.ts)\n\n```environment.ts\napiUrl=your_api_url\n```\n\n#### Backend (.env)\n\n```env\nTOGETHER_API_KEY=your_together_ai_api_key\nTOGETHER_AI_MODEL=your_together_ai_model\ncloud_name=your_cloudinary_cloud_name\napi_key=your_cloudinary_api_key\napi_secret=your_cloudinary_api_secret\nMONGO_URI=your_mongodb_connection_string\nPORT=your_port\nSECRET_KEY=your_secret_key\n```\n\n### 4️⃣ Run the Project\n\n#### Start Frontend\n\n```sh\nnpm start\n```\n\n#### Start Backend\n\n```sh\ncd backend\nnpm run dev\n```\n\nThe app will be available at **http://localhost:4200** 🚀\n\n## ⚙️ Deployment \u0026 CI/CD\n\n- **GitHub Actions** – Automated build and test pipeline for frontend.\n- **Vercel Integration** – Continuous deployment of the frontend, automatically updated on push to main branch.\n- **CI/CD Workflow** – Ensures high-quality, production-ready deployments with automated testing and build steps.\n\n## 🌐 Live Demo\n\n- **Frontend Live:** [https://dream-aii.vercel.app](https://dream-aii.vercel.app)\n- **Backend API Live:** [https://dreamai-api.vercel.app/api/v1](https://dreamai-api.vercel.app/api/v1)\n\nCheck out the [Backend Repository](https://github.com/mdsajalali/dream-ai-server).\n\n---\n\nConnect with me on [LinkedIn](https://www.linkedin.com/in/mdsajalali/).\n\nHappy coding! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsajalali%2Fdream-ai-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdsajalali%2Fdream-ai-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsajalali%2Fdream-ai-client/lists"}