{"id":24360581,"url":"https://github.com/rumaisanaveed/noto","last_synced_at":"2026-05-09T07:32:30.063Z","repository":{"id":271932422,"uuid":"913241687","full_name":"rumaisanaveed/noto","owner":"rumaisanaveed","description":"A mobile app for helping you to add notes, delete notes, and edit notes. ","archived":false,"fork":false,"pushed_at":"2025-01-11T11:49:56.000Z","size":718,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T17:23:13.870Z","etag":null,"topics":["expo-app","firebase","mobile-app","note-taking-app","noto","react-native"],"latest_commit_sha":null,"homepage":"","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/rumaisanaveed.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-01-07T09:58:02.000Z","updated_at":"2025-11-08T16:19:53.000Z","dependencies_parsed_at":"2025-01-18T21:31:49.318Z","dependency_job_id":null,"html_url":"https://github.com/rumaisanaveed/noto","commit_stats":null,"previous_names":["rumaisanaveed/notes-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rumaisanaveed/noto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumaisanaveed%2Fnoto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumaisanaveed%2Fnoto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumaisanaveed%2Fnoto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumaisanaveed%2Fnoto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rumaisanaveed","download_url":"https://codeload.github.com/rumaisanaveed/noto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumaisanaveed%2Fnoto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32811328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["expo-app","firebase","mobile-app","note-taking-app","noto","react-native"],"created_at":"2025-01-18T21:31:45.441Z","updated_at":"2026-05-09T07:32:30.034Z","avatar_url":"https://github.com/rumaisanaveed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📱 Noto\n\nAs I was exploring React Native using Expo for a week, I decided to create a simple project to implement what I learned.  \nSo, here's my mini app: **Noto**! 🎉\n\n---\n\n## 📝 Introduction\n\nNoto is a mobile app built with **Expo (React Native)** and **Firebase**. It's a small project where users can:  \n1. Create notes.  \n2. Read notes.  \n3. Update notes.  \n4. Delete notes.  \n\n---\n\n## 🛠️ Tech Stack\n- **Expo**  \n- **Firebase**  \n- **React Native**  \n- **React**  \n\n---\n\n## ✨ Features\nHere's what you can do with Noto:  \n1. Add a note with a title and description.  \n2. Update existing notes.  \n3. View all added notes.  \n4. Delete specific notes.  \n\n---\n\n## 🛣️ The Process\n\n### 🔧 Backend Part  \nFirst, I decided to create a unique ID for each user (since I haven't added authentication yet).  \nEach user has a `notes` collection to store multiple notes (as documents).  \n\nThe backend structure looks like this:  \n```\nusers collection / user-id / notes collection / note-id\n```\n\n---\n\n### 🎨 Frontend Part  \n1. I started by building the UI using `StyleSheet`.  \n2. Integrated Firebase.  \n3. Generated a user ID and saved it in **Async Storage** so the user's notes can be displayed easily.  \n4. Used React's **Context API** to store the user ID and access it anywhere in the app.  \n5. Implemented the note-adding functionality using Firebase's `addDoc` method.  \n6. Displayed the added notes using the `getDocs` method. This step taught me something new about setting up the notes array.  \n7. Added note deletion functionality using the `deleteDoc` method.  \n8. For updating notes:  \n   - Initially, I fetched the note from Firebase, but this caused delays and a poor user experience.  \n   - To improve the UX, I passed the note data via the `params` object from the \"All Notes\" page, which made editing smoother.  \n   - Updated the note in Firebase using the `setDoc` method.  \n\n---\n\n## 📚 What I Learned\n1. **Using Custom Fonts**: Encountered an issue but solved it with some help from Google.  \n2. **Displaying Recent Notes**:  \n   - Initially, the last added note was not appearing at the top.  \n   - Learned to add a `timestamp` field and fetch data in descending order to show recent notes first.  \n3. **Environment Variables**:  \n   - Struggled to load `.env` variables in the web environment.  \n   - After researching for a few days, I found a solution (which I'll share in an article soon). This was my biggest learning moment so far!  \n\n---\n\n## 🚀 How to Run the Project\n1. First, create a Firebase project and add the Firebase configuration file to your app. Then, create a .env file and replace the environment\nvariables with the ones provided by Firebase after creating the project.\n\n2. Install all dependencies:  \n   ```bash\n   npm install\n   ```\n3. Start the project:  \n   ```bash\n   npx expo start\n   ```\n4. View the app using the **Expo Go** app.\n\n---\n\n## 🎥 Video Demo\nI'm running the app in development mode because I faced some issues building it.  \n\nhttps://github.com/user-attachments/assets/d4a25ce2-9104-4264-a55a-2418b295f1ad\n\n---\n\nThank you for checking out Noto! 😊  \nHappy Coding 🤍 - Rumaisa Naveed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frumaisanaveed%2Fnoto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frumaisanaveed%2Fnoto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frumaisanaveed%2Fnoto/lists"}