{"id":25637596,"url":"https://github.com/heydemoura/react-native-bare","last_synced_at":"2026-03-05T00:33:06.714Z","repository":{"id":73571908,"uuid":"92197224","full_name":"heydemoura/react-native-bare","owner":"heydemoura","description":"Bare minimum structure for React Native project","archived":false,"fork":false,"pushed_at":"2017-05-25T23:21:45.000Z","size":11,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T23:06:03.760Z","etag":null,"topics":["boilerplate","native-base","react","react-native","react-native-router-flux","reactjs","redux","redux-saga","reselect","styled-components"],"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/heydemoura.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":"2017-05-23T16:47:49.000Z","updated_at":"2023-12-28T18:31:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"393b4c26-8d1d-4013-9c2d-bff261b8215d","html_url":"https://github.com/heydemoura/react-native-bare","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heydemoura%2Freact-native-bare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heydemoura%2Freact-native-bare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heydemoura%2Freact-native-bare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heydemoura%2Freact-native-bare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heydemoura","download_url":"https://codeload.github.com/heydemoura/react-native-bare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975316,"owners_count":21192209,"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":["boilerplate","native-base","react","react-native","react-native-router-flux","reactjs","redux","redux-saga","reselect","styled-components"],"created_at":"2025-02-23T01:27:50.113Z","updated_at":"2026-03-05T00:33:01.686Z","avatar_url":"https://github.com/heydemoura.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### How to start the project\nClone this repository, then navigate to the directory where you cloned it. Then run:\n```sh\n$ npm install\n$ npm start\n```\n\nIn a separate terminal window, you should run:\n```sh\n$ npm run android # For running on Android emulator or device\n$ npm run ios # For running on iOS emulator or device\n```\n\n### Directory Structure\n```\n.\n├── android             # Will be present after running 'react-native upgrade'\n├── app                 # Where the app lies, the only folder that matters\n└─├── components        # Dumb components go there\n  ├── containers        # Smart componenets (containers) go there\n  ├── global-styles.js  # Global React Styles for use in any component\n  ├── reducers.js       # Each reducer should be injected here\n  ├── scenes.js         # Scenes configuration, easy setup of new Scenes\n  ├── store.js          # Application store\n  ├── tests             # General tests should go here\n  └── utils             # Utility modules that can be used on this project\n├── app.js              # Entrypoint for the project\n├── app.json            # Info about the App\n├── images              # Images for assets\n├── index.android.js    # Entrypoint for Android\n├── index.ios.js        # Entrypoint for iOS\n├── ios                 # Will be present after running 'react-native upgrade'\n├── package.json        # NPM package.json\n├── README.md           # This file\n└── __tests__           # Tests should go in this folder\n```\n\nInside each container folder, should have these files:\n```\nindex.js      # Module that will be exported\nreducer.js    # Redux reducer for that container\nactions.js    # Redux actions for container's reducer\nconstants.js  # Constants definitions for better maintenance\n\nsagas.js      # When start using redux-saga\nselectors.js  # When start using Reselect\n```\n\n##### Components\nComponents are dumb React components, they have no logic, nor reducers or sagas.\n\n##### Containers\nAre called Containers, smart React components, that contains logic and/or reducers and/or sagas\n\n### Styles\nStyles are mostly handled by [styled-components/native](https://github.com/styled-components/styled-components)\nthat mimics CSS attributes, converting to React StyleSheet.\n\nMost dumb components are built using *styled-components/native*\n\n##### Global Styles\nSince React StyleSheets can be treated as JavaScript Objects, extend *global-styles.js*\ninto your components/containers *styles.js* files, so you can inherit globally defined styles.\nHelps keeping consistancy throughout the application.\n\n### Third-Party Technologies\n##### Already running\n- [Styled-Compoenents](https://github.com/styled-components/styled-components)\n- [NativeBase](https://nativebase.io/)\n- [react-native-router-flux](https://github.com/aksonov/react-native-router-flux)\n\n##### Will run when integration begins\n- [Redux-Saga](https://github.com/redux-saga/redux-saga)\n- [Reselect](https://github.com/reactjs/reselect)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheydemoura%2Freact-native-bare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheydemoura%2Freact-native-bare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheydemoura%2Freact-native-bare/lists"}