{"id":23176369,"url":"https://github.com/umutplvn/mirror_ai-app","last_synced_at":"2026-04-15T14:35:49.420Z","repository":{"id":185764373,"uuid":"674065236","full_name":"Umutplvn/Mirror_AI-APP","owner":"Umutplvn","description":"Icon Generator","archived":false,"fork":false,"pushed_at":"2023-09-08T02:00:22.000Z","size":208,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-06T20:46:23.247Z","etag":null,"topics":["authentication","firebase","provider-state-management","react","state","tailwindcss","useeffect","usestate"],"latest_commit_sha":null,"homepage":"https://mirror-icon-umut.netlify.app/","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/Umutplvn.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":"2023-08-03T04:14:26.000Z","updated_at":"2023-10-10T04:07:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"5cffe66f-438f-4eac-9f3f-785d7075b355","html_url":"https://github.com/Umutplvn/Mirror_AI-APP","commit_stats":null,"previous_names":["umutplvn/mirror-ai-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Umutplvn/Mirror_AI-APP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umutplvn%2FMirror_AI-APP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umutplvn%2FMirror_AI-APP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umutplvn%2FMirror_AI-APP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umutplvn%2FMirror_AI-APP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Umutplvn","download_url":"https://codeload.github.com/Umutplvn/Mirror_AI-APP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Umutplvn%2FMirror_AI-APP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31846153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T13:28:40.153Z","status":"ssl_error","status_checked_at":"2026-04-15T13:28:29.396Z","response_time":63,"last_error":"SSL_read: 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":["authentication","firebase","provider-state-management","react","state","tailwindcss","useeffect","usestate"],"created_at":"2024-12-18T06:16:28.853Z","updated_at":"2026-04-15T14:35:49.390Z","avatar_url":"https://github.com/Umutplvn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mirror AI App \n\n## Live at: https://mirror-icon-umut.netlify.app/\n\n## Description\n\nProject aims to create a Icon Generator App by using AI.\n\n# Note: Api let us to generate only 100 icon per day.\n\n## Project Skeleton\n\n```\n009 - Icon Generator App (folder)\n|\n|----readme.md         \nSOLUTION\n├── public\n│     └── index.html\n├── src\n│    ├── auth\n│    │     └── firebase.js\n│    ├── components\n│    │     ├── Mirror.js\n│    │     └── Navbar.js\n│    ├── context\n│    │     └── AuthContext.js\n│    ├── pages\n│    │     ├── Login.js\n│    │     ├── Register.js\n│    ├── router\n│    │     └── Router.js\n│    ├── App.js\n│    ├── App.css\n│    ├── index.js\n│    └── index.css\n├── package.json\n└── yarn.lock\n```\n\n\n## Objective\n\nBuild a Icon Generator App using ReactJS.\n\n### At the end of the project, following topics are to be covered;\n\n- HTML\n\n- CSS\n\n- JS\n\n- ReactJS\n\n### At the end of the project, students will be able to;\n\n- improve coding skills within HTML \u0026 CSS \u0026 JS \u0026 ReactJS.\n\n- use git commands (push, pull, commit, add etc.) and Github as Version Control System.\n\n## Steps to Solution\n\n- Step 1 : Create React App using `npx create-react-app movie-app` and install firebase `npm i firebase` / `yarn add firebase`\n\n- Step 2 : Signup `https://firebase.google.com/` and create new app in firebase.\n  Firebase is a backed application development software that enables developers to develop iOS, Android and Web apps. It provides developers with a variety of tools and services to help them develop quality apps, grow their user base, and earn profit. It is built on Google’s infrastructure. Firebase offers a number of services, including: analytics,authentication, cloud messaging, realtime database, performance and test lab. Firebase is categorized as a NoSQL database program, which stores data in JSON-like documents.\n\n- Step 3 : Use `https://firebase.google.com/docs/auth/web/start` and create `Authentication` operations.\n  - Add the Firebase Authentication JS codes in your `firebase.js` file and initialize Firebase Authentication:\n\n```jsx\nimport { initializeApp } from \"firebase/app\";\nimport { getAuth } from \"firebase/auth\";\n\n// TODO: Replace the following with your app's Firebase project configuration at project settings part\n// See: https://firebase.google.com/docs/web/learn-more#config-object\nconst firebaseConfig = {\n  // ...\n};\n\n// Initialize Firebase\nconst app = initializeApp(firebaseConfig);\n\n// Initialize Firebase Authentication and get a reference to the service\nconst auth = getAuth(app);\n```\n\n- Use this method to `Sign up new users` :\n\n```jsx\nimport { getAuth, createUserWithEmailAndPassword } from \"firebase/auth\";\n\ncreateUserWithEmailAndPassword(auth, email, password)\n  .then((userCredential) =\u003e {\n    // Signed in\n    const user = userCredential.user;\n  })\n  .catch((error) =\u003e {\n    console.log(error);\n  });\n```\n\n- Go to https://console.firebase.google.com =\u003e Authentication =\u003e sign-in-method =\u003e `enable Email/password`\n- Use this method to `Sign in existing users` :\n\n```jsx\nimport { getAuth, signInWithEmailAndPassword } from \"firebase/auth\";\n\nsignInWithEmailAndPassword(auth, email, password)\n  .then((userCredential) =\u003e {\n    // Signed in\n    const user = userCredential.user;\n  })\n  .catch((error) =\u003e {\n    console.log(error);\n  });\n```\n\n- Use this method to `Set an authentication state observer and get user data` :\n\n```jsx\nimport { getAuth, onAuthStateChanged } from \"firebase/auth\";\n\nonAuthStateChanged(auth, (user) =\u003e {\n  if (user) {\n    // User is signed in, see docs for a list of available properties\n    // https://firebase.google.com/docs/reference/js/firebase.User\n  } else {\n    // User is signed out\n  }\n});\n```\n\n- Go to https://console.firebase.google.com =\u003e Authentication =\u003e sign-in-method =\u003e `enable Google`\n- Use this method to `Authenticate Using Google with Popup` :\n\n```jsx\nimport { GoogleAuthProvider } from \"firebase/auth\";\n\nconst provider = new GoogleAuthProvider();\n\nsignInWithPopup(auth, provider)\n  .then((result) =\u003e {\n    // The signed-in user info.\n    const user = result.user;\n  })\n  .catch((error) =\u003e {\n    // Handle Errors here.\n    console.log(error);\n  });\n```\n\n- Use this method to `Sign Out` :\n\n```jsx\nimport { getAuth, signOut } from \"firebase/auth\";\n\nsignOut(auth)\n  .then(() =\u003e {\n    // Sign-out successful.\n  })\n  .catch((error) =\u003e {\n    // An error happened.\n  });\n```\n\n- Use this method to `Send a password reset email` :\n\n```jsx\nimport { getAuth, sendPasswordResetEmail } from \"firebase/auth\";\n\nsendPasswordResetEmail(auth, email)\n  .then(() =\u003e {\n    // Password reset email sent!\n  })\n  .catch((error) =\u003e {\n    const errorMessage = error.message;\n    // ..\n  });\n```\n\n- Step 4 : Signup `https://mirror-ai-api-docs.gitbook.io/mirror-ai-api/` and get API key. \n\n- Step 5: You can use css frameworks Tailwindcss.\n\n## Notes\n\n- You can add additional functionalities to your app.\n\n**\u003cp align=\"center\"\u003e\u0026#9786; Happy Coding \u0026#9997;\u003c/p\u003e**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumutplvn%2Fmirror_ai-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumutplvn%2Fmirror_ai-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumutplvn%2Fmirror_ai-app/lists"}