{"id":14956561,"url":"https://github.com/mongodb/template-app-react-native-todo","last_synced_at":"2025-10-19T07:31:07.001Z","repository":{"id":66021614,"uuid":"563163292","full_name":"mongodb/template-app-react-native-todo","owner":"mongodb","description":"Atlas Template Starter App - Use Device Sync from a React Native client application. This repo is generated from source code in https://github.com/mongodb-university/realm-template-apps","archived":false,"fork":false,"pushed_at":"2024-09-10T15:15:09.000Z","size":833,"stargazers_count":21,"open_issues_count":1,"forks_count":30,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-01-29T09:43:36.913Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/mongodb-university/realm-template-apps","language":"TypeScript","has_issues":false,"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/mongodb.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":"2022-11-08T03:09:14.000Z","updated_at":"2024-09-10T15:23:03.000Z","dependencies_parsed_at":"2024-08-22T23:57:54.474Z","dependency_job_id":"52f2f97a-0054-49a4-9891-e4789636021d","html_url":"https://github.com/mongodb/template-app-react-native-todo","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"7f800e6ed82067c5d1896acf914b957a8d2137d5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Ftemplate-app-react-native-todo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Ftemplate-app-react-native-todo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Ftemplate-app-react-native-todo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Ftemplate-app-react-native-todo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb","download_url":"https://codeload.github.com/mongodb/template-app-react-native-todo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237088420,"owners_count":19253565,"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","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":"2024-09-24T13:13:08.599Z","updated_at":"2025-10-19T07:31:06.564Z","avatar_url":"https://github.com/mongodb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Template App\n\nA todo list application built with the [React Native SDK](https://www.mongodb.com/docs/realm/sdk/react-native/) and [Atlas Device Sync](https://www.mongodb.com/docs/atlas/app-services/sync/).\n\nYou can follow along with the [React Native Tutorial](https://www.mongodb.com/docs/atlas/app-services/tutorial/react-native/) to see how to build, modify, and\nrun this template app.\n\n\u003e [!WARNING]\n\u003e As of September 2024, Atlas Device SDKs are deprecated. Atlas Device SDKs\n\u003e will reach end-of-life and will no longer be maintained by MongoDB on\n\u003e September 30, 2025.\n\u003e\n\u003e The template app in this repository should only be used as a reference for\n\u003e the on-device database and not to create a new app based on Device Sync.\n\u003e Refer to the [deprecation page](https://www.mongodb.com/docs/atlas/device-sdks/\u003edeprecation/) for details.\n\n## Prerequisites\n\n- Make sure your system is setup to run a React Native application by following the [setup guide](https://reactnative.dev/docs/environment-setup)\n- Set up an Atlas account and [deploy a cluster](https://www.mongodb.com/docs/atlas/tutorial/deploy-free-tier-cluster/)\n- Set up an application in App Services.\n\n  - You can use the [`realm-cli`](https://www.mongodb.com/docs/atlas/app-services/cli/) to set up the backend and download a copy of this template:\n\n    ```\n    realm-cli apps create -n \"\u003cApp Name\u003e\" --template \"react-native.todo.flex\"\n    ```\n\n## Configuration\n\nEnsure `atlasConfig.json` exists and contains the following properties:\n\n- **appId:** your Atlas App Services App ID.\n- **baseUrl:** the App Services backend URL. This should be https://services.cloud.mongodb.com in most cases.\n\n### Using the Atlas App Services UI\n\nThe easiest way to use this template app is to log on to [Atlas App Services](https://services.cloud.mongodb.com) and click the **Create App From Template** button. Choose\n**Real Time Sync**, and then follow the prompts. While the backend app is being\ncreated, you can download this React Native template app pre-configured for your new\napp.\n\n### Cloning from GitHub\n\nIf you have cloned this repository from the GitHub\n[mongodb/template-app-react-native-todo](https://github.com/mongodb/template-app-react-native-todo.git)\nrepository, you must create a separate App Services App with Device Sync\nenabled to use this client. You can find information about how to do this\nin the Atlas App Services documentation page:\n[Template Apps -\u003e Create a Template App](https://www.mongodb.com/docs/atlas/app-services/reference/template-apps/)\n\nOnce you have created the App Services App, replace any value in this client's\n`appId` field with your App Services App ID. For help finding this ID, refer\nto: [Find Your Project or App Id](https://www.mongodb.com/docs/atlas/app-services/reference/find-your-project-or-app-id/)\n\n### Download the Client as a Zip File\n\nIf you have downloaded this client as a .zip file from the Atlas App Services\nUI, it does not contain the App Services App ID. You must replace any value\nin this client's `appId` field in `atlasConfig.json` with your\nApp Services App ID. For help finding this ID, refer to:\n[Find Your Project or App Id](https://www.mongodb.com/docs/atlas/app-services/reference/find-your-project-or-app-id/)\n\n## How to Run the Application:\n\n- Make sure you are in this directory\n- `npm install`\n- `npx pod-install` if on Mac\n- `npm run ios` (or `npm run android`, if you have an emulator running. Note: If you have not set up your development environment for running react-native android apps, see: https://reactnative.dev/docs/environment-setup)\n\n## Issues\n\nPlease report issues with the template at https://github.com/mongodb-university/realm-template-apps/issues/new\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Ftemplate-app-react-native-todo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb%2Ftemplate-app-react-native-todo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Ftemplate-app-react-native-todo/lists"}