{"id":26153471,"url":"https://github.com/supiyasingh/collaborative-notes-app","last_synced_at":"2025-07-31T01:41:38.411Z","repository":{"id":279768937,"uuid":"939865164","full_name":"Supiyasingh/Collaborative-Notes-App","owner":"Supiyasingh","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-27T09:49:41.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T07:58:04.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Supiyasingh.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":"2025-02-27T08:31:51.000Z","updated_at":"2025-02-27T09:49:46.000Z","dependencies_parsed_at":"2025-02-27T13:41:11.891Z","dependency_job_id":"ba4117ed-06eb-4828-a4cf-8985d0a99e80","html_url":"https://github.com/Supiyasingh/Collaborative-Notes-App","commit_stats":null,"previous_names":["supiyasingh/collaborative-notes-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Supiyasingh/Collaborative-Notes-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Supiyasingh%2FCollaborative-Notes-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Supiyasingh%2FCollaborative-Notes-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Supiyasingh%2FCollaborative-Notes-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Supiyasingh%2FCollaborative-Notes-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Supiyasingh","download_url":"https://codeload.github.com/Supiyasingh/Collaborative-Notes-App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Supiyasingh%2FCollaborative-Notes-App/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267973286,"owners_count":24174401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":[],"created_at":"2025-03-11T07:58:06.053Z","updated_at":"2025-07-31T01:41:38.362Z","avatar_url":"https://github.com/Supiyasingh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Q: 1\nProblem Statement: Collaborative Notes App with React, Redux, and Firebase\nObjective:\nBuild a real-time collaborative notes application using React, Redux (without RTK), Firebase Realtime Database, and Firebase Hosting. The app should allow users to:\n\n✅ Create and edit notes in real time\n✅ Store notes in Firebase Realtime Database\n✅ View all saved notes in a list\n✅ Delete notes\n✅ Host the app using Firebase Hosting\n✅ Maintain state management using Redux\n✅ Authenticate users using Google Sign-In (Firebase Authentication)\n\nDemo Link\n\nFolder Structure\n\n\nFeatures \u0026 Requirements:\n1. Notes Dashboard\nUsers should be able to add, edit, and delete notes.\n\nEach note should have:\n\nTitle\nContent\nTimestamp\nNotes should be stored in Firebase Realtime Database and synced across all users in real-time.\n\nDisplay the list of all saved notes.\n\nClicking on a note should allow users to edit its content.\n\nUsers can delete notes.\n\nShow notes only when a user is logged in.\n\n2. Real-Time Collaboration\nWhen a user updates or deletes a note, changes should reflect instantly for all users.\nNotes should be persisted even after page reloads.\n3. Firebase Integration\nUse Firebase Realtime Database for storing notes.\nUse Google Sign-In (Firebase Authentication) for user login/logout.\nUse Firebase Hosting to deploy the application.\n🛠️ State Management Guidelines\n🔹 1. Redux Store Setup\nConfigure a Redux store that combines multiple reducers.\nUse Redux Thunk to handle asynchronous actions for Firebase operations.\n🔹 2. Notes Reducer\nMaintain a state that stores:\nconst initialState = {\n notes: [],\n loading: false,\n error: null,\n};\nDefine actions for:\nFetching notes (request, success, failure).\nAdding a new note.\nUpdating an existing note.\nDeleting a note.\n🔹 3. Authentication State\nMaintain a state that stores:\nconst initialState = {\n user: null,\n loading: false,\n error: null,\n};\nDefine actions for:\nLogging in a user.\nLogging out a user.\nHandling authentication state changes.\nAuthentication Guidelines\n1. Firebase Authentication Setup\nEnable Google Authentication in Firebase.\nImplement login and logout using Google Sign-In.\n2. Conditional Rendering for Authentication\nIf a user is not logged in, show only the login button.\nIf a user is logged in, display the notes dashboard.\nExample:\n\nconst App = () =\u003e { const user = useSelector((state) =\u003e state.auth.user); return ( \u003cdiv\u003e {user ? \u003cNotesDashboard /\u003e : \u003cbutton onClick={handleGoogleSignIn}\u003eSign in with Google\u003c/button\u003e} \u003c/div\u003e ); };\n\n3. Firebase Authentication Actions\n🔹 Log In User\n\n{ type: \"LOGIN_SUCCESS\", payload: user }\n\n🔹 Log Out User\n\n{ type: \"LOGOUT\" }\n\nFirebase Setup \u0026 API Endpoints\n1. Firebase Configuration\nCreate a Firebase project and enable:\nRealtime Database\nGoogle Authentication\nHosting\n2. API Endpoints (Firebase Realtime Database)\n🔹 Fetch Notes (GET Request)\n\nhttps://YOUR_PROJECT.firebaseio.com/notes.json\n\n🔹 Add Note (POST Request)\n\nhttps://YOUR_PROJECT.firebaseio.com/notes.json\n\n🔹 Update Note (PATCH Request)\n\nhttps://YOUR_PROJECT.firebaseio.com/notes/{noteId}.json\n\n🔹 Delete Note (DELETE Request) https://YOUR_PROJECT.firebaseio.com/notes/{noteId}.json\n\nDeployment\n1️⃣ Install Firebase CLI\n\nnpm install -g firebase-tools\n\n2️⃣ Login to Firebase\n\nfirebase login\n\n3️⃣ Initialize Firebase in your project\n\nfirebase init\n\n4️⃣ Deploy the app\n\nfirebase deploy\n\nSubmission:\nRefer to this guide https://elite-pancreas-707.notion.site/1-Introduction-to-Firebase-1a4779669a5780caa041d6ee81c9835d\n\nEnsure that your code is well-commented.\n\nSubmit a GitHub repository with the complete project.\n\nInclude Firebase credentials in a .env file (Do not expose API keys in public repositories).\n\nDeploy the app using Firebase Hosting and share the live URL.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupiyasingh%2Fcollaborative-notes-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupiyasingh%2Fcollaborative-notes-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupiyasingh%2Fcollaborative-notes-app/lists"}