{"id":16234189,"url":"https://github.com/zackify/rn-base","last_synced_at":"2025-10-28T05:04:05.439Z","repository":{"id":72855715,"uuid":"49992943","full_name":"zackify/rn-base","owner":"zackify","description":"Base structure for my react-native apps. Works on iOS and Android","archived":false,"fork":false,"pushed_at":"2016-02-03T03:05:44.000Z","size":1467,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T07:43:05.340Z","etag":null,"topics":[],"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/zackify.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}},"created_at":"2016-01-20T00:27:18.000Z","updated_at":"2016-01-23T21:50:01.000Z","dependencies_parsed_at":"2023-02-23T16:30:49.109Z","dependency_job_id":null,"html_url":"https://github.com/zackify/rn-base","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zackify/rn-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Frn-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Frn-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Frn-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Frn-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zackify","download_url":"https://codeload.github.com/zackify/rn-base/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackify%2Frn-base/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281386589,"owners_count":26492014,"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-10-28T02:00:06.022Z","response_time":60,"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":"2024-10-10T13:15:16.239Z","updated_at":"2025-10-28T05:04:05.425Z","avatar_url":"https://github.com/zackify.png","language":"JavaScript","readme":"# rn-base\nBase structure for my react-native apps. Works on iOS and Android. Example with a nested navigator:\n\n[![demo](http://img.youtube.com/vi/8FxlXHnEKnw/0.jpg)](http://www.youtube.com/watch?v=8FxlXHnEKnw \"demo\")\n\n##Building\n\nIn the components folder there are four folders. Each of them are described below.\n\n###Actions\n\nContains all [redux](http://redux.js.org/) actions\n\n###Reducers\n\nThis contains all of the [redux](http://redux.js.org/) reducers required for your app.\n\n###Containers\n\nThis folder contains the top level navigator and any needed dependencies for that section. The `root` folder contains `scene.js` which is responsible for handling all the routing at the top level. If has a corresponding `navbar.js` which can be reused later. If you need a nested navigator, say taking a picture is outside of your push and pop route flow, make a new folder here describing that. It will contain a new `scene.js`. This way you can remove a navbar, change it out, or whatever you'd like.\n\n###Sections\n\nThe sub folders here are named the same as the containers. This is where you put each page that corresponds to a container. You can push a new container to the main navigator at any time by passing that container's scene component, ex: \n\n```js\nimport Camera from '../../containers/camera/scene'\n...\n\nthis.props.navigator.push({\n  component: Camera, \n  title: 'Camera', \n  sceneConfig: Navigator.SceneConfigs.VerticalUpSwipeJump\n})\n\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackify%2Frn-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzackify%2Frn-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackify%2Frn-base/lists"}